LightAsset#
- class gs_nyx.nyx_py_sdk.LightAsset#
Bases:
objectA scene light. The active fields depend on ‘type’; type-specific accessors raise RuntimeError if used on the wrong type.
Constructors
Construct a default-initialized light asset.
Attributes
World-space position of the area light.
Maximum distance over which the area light affects geometry.
World-space rotation of the area light.
Shape of the area light emitter.
Linear RGB color of the light.
World-space direction the directional light points along.
Intensity of the light, interpreted in the unit given by 'unit'.
World-space position of the point light.
Maximum distance over which the point light affects geometry.
If True, this light casts shadows.
World-space direction the spot light points along.
Inner cone half-angle, in degrees, where the light is at full intensity.
Outer cone half-angle, in degrees.
World-space position of the spot light.
Maximum distance over which the spot light affects geometry.
Kind of light; determines which type-specific accessors are valid.
Photometric unit used to interpret 'intensity'.
Unique identifier of the light asset.