Implements a light.
Class registration and implementation information is as follows:
Category | Documentation |
---|---|
Implementation | C++ |
Module | Core-App-Geometry |
Class Hierarchy | Node » Light |
Data Interface Name | Light |
Type Status | Active |
Is Final Type | Yes |
Properties are as follows:
Property | Documentation |
---|---|
Ambient Color | Sets the ambient color of the light array member. |
Diffuse Color | Sets the diffuse color of the light array member. |
Specular Color | Sets the specular color of the light array member. |
Emissive Color | Sets the emissive color of the light array member. |
Position X | Sets the X axis position of the <Light>. |
Position Y | Sets the Y axis position of the <Light>. |
Position Z | Sets the Z axis position of the <Light>. |
Orientation X | Sets the X axis orientation of the <Light>. |
Orientation Y | Sets the Y axis orientation of the <Light>. |
Orientation Z | Sets the Z axis orientation of the <Light>. |
Intensity | Sets the intensity of the light array member. Range is between -100 to 100. |
Constant Attenuation | Sets the base attenuation for the light array member. Range is between 0.00001 and 10000000000. |
Linear Attenuation | Sets the linear attenuation for the light array member. Range is between 0.00001 and 10000000000. |
Quadratic Attenuation | Sets the quadratic attenuation for the light array member. Range is between 0.00001 and 10000000000. |
Spot Exponent | Sets the spot exponent. Range is between 0.00001 and 1000. |
Aperture X | Sets the X-axis aperture for the <Light>. Range is between 0 and 180. |
Aperture Y | Sets the Y-axis aperture for the <Light>. Range is between 0 and 180. |
Shape: Point | Sets the light to be a point light. This value is a flag for shaders and has no effect without a compatible shader. |
Shape: Line | Sets the light to be a point light. This value is a flag for shaders and has no effect without a compatible shader. |
Shape: Rectangle | Sets the light to be a point light. This value is a flag for shaders and has no effect without a compatible shader. |
Shape: Disk | Sets the light to be a point light. This value is a flag for shaders and has no effect without a compatible shader. |
Shape: Sphere | Sets the light to be a point light. This value is a flag for shaders and has no effect without a compatible shader. |
Shape: Hemisphere | Sets the light to be a point light. This value is a flag for shaders and has no effect without a compatible shader. |
Shape: HemisphereInward | Sets the light to be a point light. This value is a flag for shaders and has no effect without a compatible shader. |
Cylinder: HemisphereInward | Sets the light to be a point light. This value is a flag for shaders and has no effect without a compatible shader. |
Ring: HemisphereInward | Sets the light to be a point light. This value is a flag for shaders and has no effect without a compatible shader. |
Mesh: HemisphereInward | Sets the light to be a point light. This value is a flag for shaders and has no effect without a compatible shader. |
Primary Size | Sets the primary size value for the <Light>. This value is a flag for shaders and has no effect without a compatible shader. |
Secondary Size | Sets the secondary size value for the <Light>. This value is a flag for shaders and has no effect without a compatible shader. |
Shadow Map Near Z | Sets the near z clipping value for the <Light>. |
Shadow Map Far Z | Sets the far z clipping value for the <Light>. |
Local | Sets the light to only affect any children of the same parent. |
On | This option turns the <Light> on/off like a light switch. |
Global | This option determines if the <Light> is global, which means that it affects all geometry regardless of its location in the scene. |
Shadows | This option determines if the <Light> casts shadows. |
Dynamic | This option determines if the <Light> is dynamic. In Simdify applications, all <Light> nodes are dynamic regardless, but this flag may be important for runtime applications. |
Properties are as follows:
Property | Documentation |
---|---|
Name | Sets orthe name of the node. Do not use / or \ [forward slash and backslash] in the node name as this produces conflicts with resolving link nodes that reference external files. |
Class | Sets the class of the node. |
ID | Sets the ID of the node. This must be unique for each document, but different documents can use the same ID. |
Export Disabled | Determines whether or not the node is exported during an export process, or possibly other purposes. This flag is set to No and current Simdify exporters ignore it (but it can be very useful if you need to modify the exporters). |
Guid | Enumerates the Node's GUID. |