Describes a light. See also SI_LightInfo.
![]()
|
This template corresponds to the CSLLight class. |
1.3
SI_Light <lightName> { <type>; <red>; <green>; <blue>;; // Point light form: <posx>; <posy>; <posz>;; // Infinite light form: <orix>; <oriy>; <oriz>;; // Spot light form: <posx>; <posy>; <posz>;; <intx>; <inty>; <intz>;; <coneAngle>; <spreadAngle>; }
|
Member name |
Type |
Description |
|
type |
int |
Specifies the light type: 0 = point or spot |
|
red, green, blue |
float |
Color of the light. |
|
posx, posy, posx |
float |
Specifies the light position. |
|
orix, oriy, oriz |
float |
Orientation of the infinite light. |
|
intx, inty, intz |
float |
Position of the spotlight interest. |
|
coneAngle |
float |
|
|
spreadAngle |
float |
|
SI_Light light { 3, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, -45.000000, 35.264389, -15.000000, } SI_Model MDL-Spot_Root { SI_GlobalMaterial { "Scene_Root", "BRANCH", } SI_Transform SRT-Spot_Root { 1.000000, 1.000000, 1.000000, 0.000000, 0.000000, 0.000000, 8.223927, 8.395267, 2.460473, } SI_Visibility { 1, } SI_Null Spot_Root { } SI_Light Spot { 2, 1.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, -8.223927, -8.395267, -2.460473, 60.000000, 10.000000, SI_FCurve { "Spot", "COLOR-R", "CUBIC", 1, 5, 2, 1.000000,1.000000,0.000000,0.000000,3.000000,0.000000, 10.000000,1.000000,-3.000000,0.000000,0.000000,0.000000, } SI_FCurve { "Spot", "COLOR-G", "CUBIC", 1, 5, 2, 1.000000,0.463000,0.000000,0.000000,3.000000,0.000000, 10.000000,0.000000,-3.000000,0.000000,0.000000,0.000000, } SI_FCurve { "Spot", "COLOR-B", "CUBIC", 1, 5, 2, 1.000000,0.000000,0.000000,0.000000,3.000000,0.000000, 10.000000,1.000000,-3.000000,0.000000,0.000000,0.000000, } SI_FCurve { "Spot", "CONE", "CUBIC", 1, 5, 2, 1.000000,19.028000,0.000000,0.000000,3.000000,0.000000, 10.000000,60.000000,-3.000000,0.000000,0.000000,0.000000, } SI_FCurve { "Spot", "SPREAD", "CUBIC", 1, 5, 2, 1.000000,5.000000,0.000000,0.000000,3.000000,0.000000, 10.000000,10.000000,-3.000000,0.000000,0.000000,0.000000, } } }
Autodesk Crosswalk v5.0