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

RayInteractor Class

Properties

Vector3 Origin[Get]
Quaternion Rotation[Get]
Vector3 Forward[Get]
Vector3 End[Get]
float MaxRayLength[Get]
SurfaceHit? CollisionInfo[Get]
Ray Ray[Get]
override object CandidateProperties[Get]

Protected Functions

override void Awake ( )
override void Start ( )
override void DoPreprocess ( )
override RayInteractable ComputeCandidate ( )
override int ComputeCandidateTiebreaker
override void InteractableSelected
( RayInteractable interactable )
override void InteractableUnselected
( RayInteractable interactable )
override void DoSelectUpdate ( )
virtual override Pose ComputePointerPose ( )

Member Functions

Sets all required values for a <cref="RayInteractor" /> on a dynamically instantiated GameObject.
Sets a selector for a dynamically instantiated GameObject.
Sets a ray origin for a dynamically instantiated GameObject.
Sets an equal distance threshold for a dynamically instantiated GameObject.
Did you find this page helpful?
Thumbs up icon
Thumbs down icon