Documentation - v19.5.0-dev
    Preparing search index...
    interface LoadTwinCommandOptions {
        axis?: Vector3;
        endpoint?: string;
        filter?: TeiaSearchFilter;
        geometryType?: TwinObjectGeometryType;
        onlySetSource?: boolean;
    }
    Index

    Properties

    axis?: Vector3

    Projection axis used when loading 2D or Original geometries. Backend defaults to Y (0, 1, 0) when omitted.

    endpoint?: string

    Twin api endpoint to get the geometry from.

    "objects"
    
    geometryType?: TwinObjectGeometryType

    The type of geometry to load.

    • 2D: load only the 2D projected geometry along axis
    • 3D: load only the 3D geometry
    • Original: load the original geometry (3D or original 2D along axis)

    Original

    onlySetSource?: boolean

    Whether to only set the current viewer source without loading objects