Endstar LUA API Documentation
|
This class allows you to change visual aspects of an object, like rotation, color, etc. More...
Public Member Functions | |
void | SetLocalPosition (Context instigator, string transformId, Vector3 position) |
Snap a visual transform to a position. | |
void | SetLocalPositionFromTo (Context instigator, string transformId, Vector3 positionOne, Vector3 positionTwo, float duration) |
Move a visual transform to a position over time. | |
void | SetLocalRotationFromTo (Context instigator, string transformId, Vector3 positionOne, Vector3 positionTwo, float duration) |
Change a visual transform's rotation over time. | |
void | SetLocalRotation (Context instigator, string transformId, Vector3 rotation) |
Snap a visual transform's rotation. | |
void | SetEmissiveColor (Context instigator, string transformId, Color emissiveColor) |
Sets emissive color of all materials on a visual transform. | |
This class allows you to change visual aspects of an object, like rotation, color, etc.
Sets emissive color of all materials on a visual transform.
instigator | The source context of this change. |
transformId | Transform ID. (Example: Transforms.Base) |
emissiveColor | Color to set emissive value to. (Example: Color.White) |
Snap a visual transform to a position.
instigator | The source context of this change. |
transformId | Transform ID. (Example: Transforms.Base) |
position | The local position to move to. |
void SetLocalPositionFromTo | ( | Context | instigator, |
string | transformId, | ||
Vector3 | positionOne, | ||
Vector3 | positionTwo, | ||
float | duration ) |
Move a visual transform to a position over time.
instigator | The source context of this change. |
transformId | Transform ID. (Example: Transforms.Base) |
positionOne | The local position to move from. |
positionTwo | The local position to move to. |
duration | The duration of this movement. |
Snap a visual transform's rotation.
instigator | The source context of this change. |
transformId | Transform ID. (Example: Transforms.Base) |
rotation | The local rotation to snap to. |
void SetLocalRotationFromTo | ( | Context | instigator, |
string | transformId, | ||
Vector3 | positionOne, | ||
Vector3 | positionTwo, | ||
float | duration ) |
Change a visual transform's rotation over time.
instigator | The source context of this change. |
transformId | Transform ID. (Example: Transforms.Base) |
positionOne | The local rotation to start from. |
positionTwo | The local rotation to move to. |
duration | The duration of this movement. |