babylon.quarks - v1.0.0
    Preparing search index...

    Interface ShapeTransformJSON

    The JSON form of a ShapeTransform; every field is left out at its identity value.

    interface ShapeTransformJSON {
        position?: number[];
        rotation?: number[];
        scale?: number[];
    }
    Index
    position?: number[]

    Offset of the shape, [x, y, z]. Omitted when zero.

    rotation?: number[]

    Rotation of the shape as a quaternion, [x, y, z, w]. Omitted when identity. Read scaled to length 1, and a zero one as the identity.

    scale?: number[]

    Scale of the shape, [x, y, z]. Omitted when [1, 1, 1].