|
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 | SetLocalPosition (Context instigator, string transformId, Vector3 position, float duration) |
| 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 | SetLocalRotation (Context instigator, string transformId, Vector3 rotation) |
| Snap a visual transform's rotation. | |
| void | SetLocalRotation (Context instigator, string transformId, Vector3 rotation, string callbackName) |
| Snap a visual transform's rotation, event fires on the rotation finishing. | |
| void | SetLocalRotation (Context instigator, string transformId, Vector3 rotation, float duration) |
| Change a visual transform's rotation over time. | |
| void | SetLocalRotation (Context instigator, string transformId, Vector3 rotation, float duration, string callbackName) |
| Change a visual transform's rotation over time, event fires on the rotation finishing. | |
| void | SetLocalRotationFromTo (Context instigator, string transformId, Vector3 positionOne, Vector3 positionTwo, float duration) |
| Change a visual transform's rotation over time between two pre-determined positions. | |
| void | SetLocalRotationFromTo (Context instigator, string transformId, Vector3 positionOne, Vector3 positionTwo, float duration, string callbackName) |
| Change a visual transform's rotation over time between two pre-determined positions, event fires on the rotation finishing. | |
| void | SetEmissiveColor (Context instigator, string transformId, Color emissiveColor) |
| Sets emissive color of all materials on a visual transform. | |
| void | SetAlbedoColor (Context instigator, string transformId, Color albedoColor) |
| Sets albedo color of all materials on a visual transform. | |
This class allows you to change visual aspects of an object, like rotation, color, etc.
Sets albedo color of all materials on a visual transform.
| instigator | The source context of this change. |
| transformId | Transform ID. (Example: Transforms.Base) |
| albedoColor | Color to set albedo value to. (Example: Color.White) |
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. |
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. |
| duration | The duration of this movement. |
| 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. |
Change a visual transform's rotation over time.
| instigator | The source context of this change. |
| transformId | Transform ID. (Example: Transforms.Base) |
| rotation | The local rotation to move to. |
| duration | The duration of this movement. |
| void SetLocalRotation | ( | Context | instigator, |
| string | transformId, | ||
| Vector3 | rotation, | ||
| float | duration, | ||
| string | callbackName ) |
Change a visual transform's rotation over time, event fires on the rotation finishing.
| instigator | The source context of this change. |
| transformId | Transform ID. (Example: Transforms.Base) |
| rotation | The local rotation to move to. |
| duration | The duration of this movement. |
| callbackName | Lua function name to call when rotation has finished. |
| void SetLocalRotation | ( | Context | instigator, |
| string | transformId, | ||
| Vector3 | rotation, | ||
| string | callbackName ) |
Snap a visual transform's rotation, event fires on the rotation finishing.
| instigator | The source context of this change. |
| transformId | Transform ID. (Example: Transforms.Base) |
| rotation | The local rotation to snap to. |
| callbackName | Lua function name to call when rotation has finished. |
| void SetLocalRotationFromTo | ( | Context | instigator, |
| string | transformId, | ||
| Vector3 | positionOne, | ||
| Vector3 | positionTwo, | ||
| float | duration ) |
Change a visual transform's rotation over time between two pre-determined positions.
| 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. |
| void SetLocalRotationFromTo | ( | Context | instigator, |
| string | transformId, | ||
| Vector3 | positionOne, | ||
| Vector3 | positionTwo, | ||
| float | duration, | ||
| string | callbackName ) |
Change a visual transform's rotation over time between two pre-determined positions, event fires on the rotation finishing.
| 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. |
| callbackName | Lua function name to call when rotation has finished. |