API reference
API reference
Select your platform
No SDKs available
No versions available

OVRInputRayData Struct

Fields

Indicates whether the ray is active/selecting something.
Being active can come from button or trigger input from controllers or pinch input from hand tracking.
A float from 0 to 1 that controls the cursor activation state.
As the value moves closer to one, the cursor will shrink in size and the cursor fill will become more visible.
Indicates whether the ray cast is intersecting a canvas.
The distance from the base of the ray cast game object to the canvas it intersected with.
The world position of the ray cast game object.
The normal of the ray cast game object.
Did you find this page helpful?
Thumbs up icon
Thumbs down icon