webani - v1.0.0
    Preparing search index...

    Represents a mesh joint for some WebaniMesh. This class extends WebaniTransformable and provides support for mesh joint transformations, including inverse bind matrices used for skinning.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    Optional animation class used for interpolated animations.

    Type declaration

    extraTransforms: WorldTransform[] = []

    An array of additional world transforms that modify the object.

    name: string

    The name of the mesh joint.

    The parent transformable object, if any.

    scaleCompensation: boolean = false

    Flag indicating whether to apply scale compensation for the parent object.

    transform: WorldTransform = ...

    The world transform of the object, including position, rotation, and scale.

    useOriginAsCenter: boolean = false

    Flag indicating whether to use the origin as the center of rotation.

    Accessors

    • get extraTransformsMatrixWithoutScale(): Matrix4

      The combined matrix of all extra transforms without scale compensation.

      Returns Matrix4

      A Matrix4 object representing the combined matrix of all extra transforms.

    • get shallowCopy(): this

      Creates a shallow copy of the WebaniTransformable object.

      Returns this

      A new instance of WebaniTransformable with the same properties as the current object.

    Methods