Type Alias TAddModel

TAddModel: {
    interactive?: boolean;
    opacity?: number;
    rotation?: [number, number, number];
    scale?: number | [number, number, number];
    target: IAnchorable;
    verticalOffset?: number;
}

The target for the add model operation.

Type declaration

  • Optionalinteractive?: boolean

    Whether the Model should be clickable

    false
    
  • Optionalopacity?: number

    Optional. Determines the opacity of the model.

    1
    
  • Optionalrotation?: [number, number, number]

    Optional. Determines the rotation of the model, in degrees.

    [0, 0, 0]
    
  • Optionalscale?: number | [number, number, number]

    Optional. Determines the scale of the model. Can be a single number to scale uniformly in all dimensions, or an array of three numbers [x, y, z] to scale differently in each dimension.

    [1, 1, 1]
    
  • target: IAnchorable

    The target for the model to be placed on.

  • OptionalverticalOffset?: number

    Vertical offset of the model in meters.

MMNEPVFCICPMFPCPTTAAATR