Vertex Viewer SDK
    Preparing search index...

    Interface VertexViewerDomGroup

    interface VertexViewerDomGroup {
        matrix?: Matrix4.Matrix4;
        onPropertyChange?: (event: VertexViewerDomGroupCustomEvent<void>) => void;
        position?: Vector3.Vector3;
        positionJson?: string;
        quaternion?: Quaternion.Quaternion;
        quaternionJson?: string;
        rotation?: Euler.Euler;
        rotationJson?: string;
        scale?: Vector3.Vector3;
        scaleJson?: string;
    }
    Index
    matrix?: Matrix4.Matrix4

    The local matrix of this element.

    Matrix4.makeIdentity()
    
    onPropertyChange?: (event: VertexViewerDomGroupCustomEvent<void>) => void

    An event that is emitted when any property on the dom group changes

    position?: Vector3.Vector3

    The local 3D position of where this element is located.

    Vector3.origin()
    
    positionJson?: string

    The local 3D position of where this element is located, as a JSON string. JSON representation can either be in the format of [x, y, z] or {"x": 0, "y": 0, "z": 0}.

    ''
    
    quaternion?: Quaternion.Quaternion

    The local rotation of this element.

    Quaternion.create()
    
    quaternionJson?: string

    The local rotation of this element, as a JSON string. JSON representation can either be [x, y, z, w] or {"x": 0, "y": 0, "z": 0, "w": 1}.

    ''
    
    rotation?: Euler.Euler

    The local rotation of this element in Euler angles.

    rotationJson?: string

    The local rotation of this element in Euler angles, as a JSON string. JSON representation can either be [x, y, z, order] or {"x": 0, "y": 0, "z": 0, "order": "xyz"}.

    The local scale of this element.

    Vector3.create(1, 1, 1)
    
    scaleJson?: string

    The local scale of this element, as a JSON string. JSON string representation can either be in the format of [x, y, z] or {"x": 0, "y": 0, "z": 0}.

    ''