ILightRig

public interface ILightRig

Represents LightRig.

Methods

MethodDescription
getDirection()Light direction.
setDirection(int value)Light direction.
getLightType()Represents a preset light right that can be applied to a shape.
setLightType(int value)Represents a preset light right that can be applied to a shape.
setRotation(float latitude, float longitude, float revolution)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.
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.

getDirection()

public abstract int getDirection()

Light direction. Read/write LightingDirection.

Returns: int

setDirection(int value)

public abstract void setDirection(int value)

Light direction. Read/write LightingDirection.

Parameters:

ParameterTypeDescription
valueint

getLightType()

public abstract int 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

setLightType(int value)

public abstract void setLightType(int value)

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.

Parameters:

ParameterTypeDescription
valueint

setRotation(float latitude, float longitude, float revolution)

public abstract void setRotation(float latitude, float longitude, float revolution)

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.

Parameters:

ParameterTypeDescription
latitudefloatLatitude coordinate float
longitudefloatLongitude coordinate float
revolutionfloatRevolution coordinate float

getRotation()

public abstract float[] 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: float[] - Rotation coordinates as float[]