LightRig

LightRig class

Represents LightRig.

getDirection

NameDescription
getDirection ()Light direction. Read/write LightingDirection.

Returns: int


getLightType

NameDescription
getLightType ()Represents a preset light right that can be applied to a shape. The light rig represents a group of lights oriented in a specific way relative to a 3D scene. Read/write LightRigPresetType.

Returns: int


getRotation

NameDescription
getRotation ()A rotation is defined through the use of a latitude coordinate, a longitude coordinate, and a revolution about the axis as the latitude and longitude coordinates. first element in return array - latitude, second - longitude, third - revolution. Returns null if no rotation defined.

Returns: float


getVersion

NameDescription
getVersion ()

Returns: long


setDirection

NameDescription
setDirection (int)Light direction. Read/write LightingDirection.

Returns: void


setLightType

NameDescription
setLightType (int)Represents a preset light right that can be applied to a shape. The light rig represents a group of lights oriented in a specific way relative to a 3D scene. Read/write LightRigPresetType.

Returns: void


setRotation

NameDescription
setRotation (float, float, float)A rotation is defined through the use of a latitude coordinate, a longitude coordinate, and a revolution about the axis as the latitude and longitude coordinates. If any of coordinate value is Float.NaN, all rotation is undefined.

Returns: void