Creates an instance of WebaniTransformable with specified options.
Options to customize the object's position, rotation, scale, and other properties.
OptionalanimationOptional animation class used for interpolated animations.
Optional animation class used for interpolated animations.
An array of additional world transforms that modify the object.
OptionalparentThe parent transformable object, if any.
Flag indicating whether to apply scale compensation for the parent object.
The world transform of the object, including position, rotation, and scale.
Flag indicating whether to use the origin as the center of rotation.
The center of the object, which is the position.
The center of the object as a Vector3 object.
The complete world transforms of the object's extra transformations, including position, rotation, scale, and rotational center.
An array of CompleteWorldTransform objects for the extra transforms.
The complete world transform of the object, including position, rotation, scale, and rotational center.
The complete world transform as a CompleteWorldTransform object.
A copy of the extra transforms array.
A new array with copies of the extra transforms.
The combined matrix of all extra transforms without scale compensation.
A Matrix4 object representing the combined matrix of all extra transforms.
The local center of the object, which is [0, 0, 0] by default.
The local center of the object as a Vector3 object.
The model matrix of the object, including scale compensation if needed.
A Matrix4 object representing the model matrix with scale compensation.
The model matrix of the object without scale compensation.
A Matrix4 object representing the model matrix without scale compensation.
Creates a shallow copy of the WebaniTransformable object.
A new instance of WebaniTransformable with the same properties as the current object.
A copy of the main transform.
A new WorldTransform object that is a copy of the main transform.
Scales the object by a specified factor.
The scaling factor as a Vector3 object.
Sets the position of the object.
The new position as a Vector3 object.
Sets the scale of the object.
The new scale as a Vector3 object.
Translates the object by a specified offset.
The offset to translate the object by.
The base class for all transformable objects in the Webani framework. This class handles transformations such as translation, rotation, scaling, and parent-child relationships.