Skip to content

Variable: RaycastSpace ​

const RaycastSpace: object

Defined in: packages/core/src/environment-raycast/raycast-target.ts:13

Ray source options for environment raycasting.

Type Declaration ​

Left ​

readonly Left: "left" = 'left'

Use left controller's target ray

readonly Right: "right" = 'right'

Use right controller's target ray

Screen ​

readonly Screen: "screen" = 'screen'

For phone AR - tracks screen touch for tap-to-place

Viewer ​

readonly Viewer: "viewer" = 'viewer'

Use viewer/head position and gaze direction

Privacy | Terms