8 pointerfieldtypes=
"both"
10 parentsystemcomponent=
"true"
11 docGroupBase=
"GrpSystemState"
13 See \ref PageSystemLightChunk for a description.
15 The light chunk contains the parameter set for a single light source. It's taken
16 straight from the glLight() manpage.
18 This chunk wraps glLight() (OSG::LightChunk::_sfAmbient,
19 OSG::LightChunk::_sfDiffuse, OSG::LightChunk::_sfSpecular,
20 OSG::LightChunk::_sfEmission, OSG::LightChunk::_sfPosition,
21 OSG::LightChunk::_sfDirection, OSG::LightChunk::_sfExponent,
22 OSG::LightChunk::_sfCutoff, OSG::LightChunk::_sfConstantAttenuation,
23 OSG::LightChunk::_sfLinearAttenuation,
24 OSG::LightChunk::_sfQuadraticAttenuation).
30 defaultValue=
"1.f,1.f,1.f,0.f"
32 The light's diffuse color.
39 defaultValue=
".1f,.1f,.1f,0.f"
41 The light's ambient color.
48 defaultValue=
"1.f,1.f,1.f,0.f"
50 The light's specular color.
57 defaultValue=
"0.f,-1.f,0.f,0.f"
66 defaultValue=
"0.f,0.f,1.f"
68 The light's direction (only for spotlights).
77 The light's spotlight exponent.
86 The light's spotlight cutoff. As this chunk follows OpenGL conventions, this is the only angle in the system given in degrees.
89 name=
"constantAttenuation"
95 The light's constant attenuation.
98 name=
"linearAttenuation"
101 visibility=
"external"
104 The light's linear attenuation.
107 name=
"quadraticAttenuation"
110 visibility=
"external"
113 The light's quadratic attenuation.
118 category=
"weakpointer"
120 visibility=
"external"