API (v2.0.0) - Giro3D
    Preparing search index...

    Interface PointCloudSource<TEventMap>

    Provides point cloud data.

    interface PointCloudSource<
        TEventMap extends PointCloudSourceEventMap = PointCloudSourceEventMap,
    > {
        id: string;
        isMemoryUsage: true;
        ready: boolean;
        type: string;
        get loading(): boolean;
        get progress(): number;
        dispose(): void;
        getHierarchy(): Promise<PointCloudNode>;
        getMemoryUsage(context: GetMemoryUsageContext): void;
        getMetadata(): Promise<PointCloudMetadata>;
        getNodeData(params: GetNodeDataOptions): Promise<PointCloudNodeData>;
        initialize(): Promise<PointCloudSource<TEventMap>>;
    }

    Type Parameters

    Hierarchy (View Summary)

    Implemented by

    Index

    Properties

    id: string
    isMemoryUsage: true

    Readonly flag to indicate that his object implements MemoryUsage.

    ready: boolean

    A flag that indicates that the source is ready to use. This flag should be true when initialize has finished.

    type: string

    The name of the source implementation.

    Accessors

    • get loading(): boolean

      Gets whether the object is currently performing an asynchronous operation.

      Returns boolean

    • get progress(): number

      Returns the percentage of progress, in normalized value (i.e in the [0, 1] range), of the asynchronous operations that are scheduled to run on this object. 1 means that all operations have finished.

      Returns number

    Methods