ILightRig
public interface ILightRig
Represents LightRig.
Methods
| Method | Description |
|---|---|
| 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:
| Parameter | Type | Description |
|---|---|---|
| value | int |
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:
| Parameter | Type | Description |
|---|---|---|
| value | int |
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:
| Parameter | Type | Description |
|---|---|---|
| latitude | float | Latitude coordinate float |
| longitude | float | Longitude coordinate float |
| revolution | float | Revolution 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[]