Viewer - Drawing Tools
    Preparing search index...

    Type Alias Callbacks

    The callbacks of the drawing tool.

    Here you can define the callbacks that are used when interacting with the drawing tool.

    type Callbacks = {
        onCancel(): void;
        onUpdate(
            pointsData: PointsData,
            metaData: (RayTraceResult | undefined)[],
        ): void;
    }
    Index

    Methods

    • The callback that is called when the drawing tool is cancelled.

      Returns void

    • The callback that is called when the drawing tool is updated.

      Parameters

      Returns void