@inweb/client
    Preparing search index...

    Interface ITargetTransform

    Per-target affine transform. Two variants are supported (checked in order):

    1. If matrix is present - used as a column-major float[16] (glTF convention); TRS fields are ignored.
    2. Otherwise a TRS transform is composed as T * R * S from the individual fields.
    interface ITargetTransform {
        matrix?: number[];
        rotation?: number[];
        scale?: number[];
        translation?: number[];
    }
    Index

    Properties

    matrix?: number[]

    Column-major 4×4 transform matrix (float[16]). When present, TRS fields are ignored.

    rotation?: number[]

    Rotation quaternion [x, y, z, w]. Must be non-zero; auto-normalized. Default [0, 0, 0, 1].

    scale?: number[]

    Scale vector [sx, sy, sz]. Default [1, 1, 1].

    translation?: number[]

    Translation vector [tx, ty, tz] in meters. Default [0, 0, 0].