TransformComponent
A Component that manipulates the scale, rotation, and position of the entity.
Constructors
The default constructor.
Creates a TransformComponent initialized with the values from the given Transform.
Creates a TransformComponent with the specified position, rotation, and scale.
Creates a TransformComponent with the specified position, rotation, and scale.
Properties
Euler angles in local space used to control the transform. Default is EulerAngles(0f, 0f, 0f).
Quaternion in local space used to control the transform. Default is Quat.identity().
The scale vector in the local coordinate which is used to control the transform. The default value is Vector3(1F, 1F, 1F).
Functions
Gets the local matrix of the TransformComponent.
Scales the current TransformComponent by the given factor.
Sets the eulerAngles of the TransformComponent.
Sets the location of the TransformComponent.
Sets the quaternion for the TransformComponent.
Sets the scale vector of the TransformComponent.