-
Notifications
You must be signed in to change notification settings - Fork 274
Transform
Adrien GIVRY edited this page Nov 24, 2021
·
4 revisions
Represents the 3D transformations applied to an actor
- C++ related class:
OvCore::ECS::Components::CTransform - Inherits from lua usertype:
Component
This usertype has no variables
| Name | Input | Output | Description |
|---|---|---|---|
| new | Transform |
| Name | Input | Output | Description |
|---|---|---|---|
| SetPosition |
Transform: instanceVector3: position |
Alias for SetLocalPosition | |
| SetRotation |
Transform: instanceQuaternion: rotation |
Alias for SetLocalRotation | |
| SetScale |
Transform: instanceVector3: scale |
Alias for SetLocalScale | |
| SetLocalPosition |
Transform: instanceVector3: position |
Sets the position of the transform in the local space | |
| SetLocalRotation |
Transform: instanceQuaternion: rotation |
Sets the rotation of the transform in the local space | |
| SetLocalScale |
Transform: instanceVector3: scale |
Sets the scale of the transform in the local space | |
| SetWorldPosition |
Transform: instanceVector3: position |
Sets the position of the transform in world space | |
| SetWorldRotation |
Transform: instanceQuaternion: rotation |
Sets the rotation of the transform in world space | |
| SetWorldScale |
Transform: instanceVector3: scale |
Sets the scale of the transform in world space | |
| GetPosition |
Transform: instance |
Vector3 |
Alias for GetWorldPosition |
| GetRotation |
Transform: instance |
Quaternion |
Alias for GetWorldRotation |
| GetScale |
Transform: instance |
Vector3 |
Alias for GetWorldScale |
| GetLocalPosition |
Transform: instance |
Vector3 |
Returns the position in local space |
| GetLocalRotation |
Transform: instance |
Quaternion |
Returns the rotation in local space |
| GetLocalScale |
Transform: instance |
Vector3 |
Returns the scale in local space |
| GetWorldPosition |
Transform: instance |
Vector3 |
Returns the position in world space |
| GetWorldRotation |
Transform: instance |
Quaternion |
Returns the rotation in world space |
| GetWorldScale |
Transform: instance |
Vector3 |
Returns the scale in world space |
| GetForward |
Transform: instance |
Vector3 |
Alias for GetWorldForward |
| GetUp |
Transform: instance |
Vector3 |
Alias for GetWorldUp |
| GetRight |
Transform: instance |
Vector3 |
Alias for GetWorldRight |
| GetLocalForward |
Transform: instance |
Vector3 |
Returns the transform local forward |
| GetLocalUp |
Transform: instance |
Vector3 |
Returns the transform local up |
| GetLocalRight |
Transform: instance |
Vector3 |
Returns the transform local right |
| GetWorldForward |
Transform: instance |
Vector3 |
Returns the transform world forward |
| GetWorldUp |
Transform: instance |
Vector3 |
Returns the transform world up |
| GetWorldRight |
Transform: instance |
Vector3 |
Returns the transform world right |
This usertype has no operators
