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
The eulerAngles in the local coordinate which is used to control the transform. The default value is Vector3(0F, 0F, 0F).
The quaternion in the local coordinate which is used to control the transform. The default value is Vector3(0F, 0F, 0F).
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.