CommonCreationOptions: {
    onTemporaryPointMoved?: ((shape: entities.Shape, position: Vector3) => void);
    pick?: PickCallback;
    signal?: AbortSignal;
}

Type declaration

  • OptionalonTemporaryPointMoved?: ((shape: entities.Shape, position: Vector3) => void)

    An optional callback to be called when a point has been moved.

      • (shape, position): void
      • Parameters

        Returns void

  • Optionalpick?: PickCallback

    The optional custom picking function.

  • Optionalsignal?: AbortSignal

    The optional signal to listen to cancel the creation of a shape.