Transform
Inherits \ ValueProperty
Represents the position, rotation, and scale of a node.
Properties
This object has no properties.
Methods
getMatrix Returns the transform matrix
setMatrix Sets the transform matrix directly
getLookAtDir Returns our look at direction
getUpDir Returns our up direction
getRightDir Returns our right direction
setPosition Sets the position
getPosition Returns the position
setRotation Sets the rotation via euler angles (in radians)
getRotationAsEulerAngles Returns the rotation as euler angles (in radians)
setScale
getScale Returns the scale
setPositionRotation Sets the position and rotation in one call (more efficient than calling SetPosition/SetRotation separately)
setPositionScale
getPositionProperty Returns the Position property object if this transform has been split into components or nil if not split
getRotationProperty Returns the Rotation property object if this transform has been split into components or nil if not split
getScaleProperty Returns the Scale property object if this transform has been split into components or nil if not split
Events
This object has no events.