MouseRayCastAction: {
    actionType: MouseRayCastAction;
    onExecute: ((mouseRay, mouseProps) => void);
}

An action which returns the ray corresponding to a vector from the users mouse click in the viewport.

Type declaration

  • actionType: MouseRayCastAction
  • Readonly onExecute: ((mouseRay, mouseProps) => void)
      • (mouseRay, mouseProps): void
      • Parameters

        Returns void