webani - v1.0.0
    Preparing search index...

    Options for initializing a WebaniMeshJoint object.

    type WebaniMeshJointOptions = {
        extraTransforms?: WorldTransform[];
        inverseBindMatrix: Matrix4;
        name: string;
        position?: Vector3;
        rotation?: Vector3;
        rotationCenter?: Vector3;
        scale?: Vector3;
    }
    Index

    Properties

    extraTransforms?: WorldTransform[]

    Additional transforms applied to the mesh joint. Optional property.

    inverseBindMatrix: Matrix4

    The inverse bind matrix for the mesh joint, represented as a Matrix4.

    name: string

    The name of the mesh joint.

    position?: Vector3

    The position of the mesh joint in 3D space, represented as a Vector3. Optional property, default is [0, 0, 0].

    rotation?: Vector3

    The rotation of the mesh joint, represented as a Vector3. Optional property, default is [0, 0, 0].

    rotationCenter?: Vector3

    The rotational center of the mesh joint, represented as a Vector3. Optional property.

    scale?: Vector3

    The scale of the mesh joint, represented as a Vector3. Optional property, default is [1, 1, 1].