Go to the documentation of this file.
36 Light(
Object *parent,
const std::string &name,
int type);
38 void SetColor(
Real color_r = 1.0f,
Real color_g = 1.0f,
Real color_b = 1.0f);
39 void SetSpecularColor(
Real color_r = 0.0f,
Real color_g = 0.0f,
Real color_b = 0.0f);
40 void SetAttenuation(
Real att_range = 100000.f,
Real att_constant = 1.f,
Real att_linear = 0.f,
Real att_quadratic = 0.f);
41 void SetSpotlightRange(
Real spot_inner_angle = 30.f,
Real spot_outer_angle = 40.f,
Real spot_falloff = 1.f);
42 void SetDirection(
const Vector3 &direction);
43 void SetRenderingDistance(
Real distance);
44 void Enabled(
bool value);