Creates a new WebaniMeshJoint instance with the provided options.
The configuration options for the mesh joint.
OptionalanimationOptional animation class used for interpolated animations.
Optional animation class used for interpolated animations.
An array of additional world transforms that modify the object.
The name of the mesh joint.
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.
Returns the center of the joint in 3D space, which is fixed at [0, 0, 0] for mesh joints.
The center of the joint as a Vector3.
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.
Returns the inverse bind matrix for the mesh joint.
The inverse bind matrix as a Matrix4.
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.
Represents a mesh joint for some
WebaniMesh. This class extendsWebaniTransformableand provides support for mesh joint transformations, including inverse bind matrices used for skinning.