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

DistanceHandGrabInteractor Class

DistanceHandGrabInteractor lets you grab interactables at a distance with hands.
Oculus::Interaction::HandGrab::DistanceHandGrabInteractor extends Oculus.Interaction.PointerInteractor< DistanceHandGrabInteractor, DistanceHandGrabInteractable >.
Oculus::Interaction::HandGrab::DistanceHandGrabInteractor extends Oculus.Interaction.HandGrab.IHandGrabInteractor.
Oculus::Interaction::HandGrab::DistanceHandGrabInteractor extends Oculus.Interaction.IDistanceInteractor.

Overview

Public Member Functions

HandFingerFlags
Returns the fingers that are grabbing the interactable.
override bool
void
InjectAllDistanceHandGrabInteractor
( HandGrabAPI handGrabApi,
Transform grabOrigin,
IHand hand,
GrabTypeFlags supportedGrabTypes )
Adds a <cref="DistanceHandGrabInteractor"/> to a dynamically instantiated GameObject.
void
Adds a <cref="HandGrabAPI"/> to a dynamically instantiated GameObject.
void
Adds a <cref="DistantCandidateComputer"/> to a dynamically instantiated GameObject.
void
InjectHand
( IHand hand )
Adds an <cref="IHand"/> to a dynamically instantiated GameObject.
void
InjectSupportedGrabTypes
( GrabTypeFlags supportedGrabTypes )
Adds a list of supported grabs to a dynamically instantiated GameObject.
void
InjectGrabOrigin
( Transform grabOrigin )
Adds a grab origin to a dynamically instantiated GameObject.
void
InjectOptionalGripPoint
( Transform gripPoint )
Adds a grip point to a dynamically instantiated GameObject.
void
InjectOptionalPinchPoint
( Transform pinchPoint )
Adds a pinch point to a dynamically instantiated GameObject.
void
Adds a <cref="IThrowVelocityCalculator"/> to a dynamically instantiated GameObject.

Object Data

void
Reset ( )
override void
Awake ( )
override void
Start ( )
override void
override void
override void
override void
override void
override void
override void
override Pose
override bool
override bool

Details

Detailed Description

It operates with HandGrabPoses to specify the final pose of the hand and manipulate the objects via IMovements in order to attract them, use them at a distance, etc. The DistanceHandGrabInteractor uses a IDistantCandidateComputer to detect far-away objects.

Properties

IHand Oculus.Interaction.HandGrab.DistanceHandGrabInteractor.Hand
No description available.
IThrowVelocityCalculator Oculus.Interaction.HandGrab.DistanceHandGrabInteractor.VelocityCalculator
No description available.
IMovement Oculus.Interaction.HandGrab.DistanceHandGrabInteractor.Movement
No description available.
bool Oculus.Interaction.HandGrab.DistanceHandGrabInteractor.MovementFinished
No description available.
HandGrabTarget Oculus.Interaction.HandGrab.DistanceHandGrabInteractor.HandGrabTarget
No description available.
Transform Oculus.Interaction.HandGrab.DistanceHandGrabInteractor.WristPoint
No description available.
Transform Oculus.Interaction.HandGrab.DistanceHandGrabInteractor.PinchPoint
No description available.
Transform Oculus.Interaction.HandGrab.DistanceHandGrabInteractor.PalmPoint
No description available.
HandGrabAPI Oculus.Interaction.HandGrab.DistanceHandGrabInteractor.HandGrabApi
No description available.
GrabTypeFlags Oculus.Interaction.HandGrab.DistanceHandGrabInteractor.SupportedGrabTypes
No description available.
IHandGrabInteractable Oculus.Interaction.HandGrab.DistanceHandGrabInteractor.TargetInteractable
No description available.
Pose Oculus.Interaction.HandGrab.DistanceHandGrabInteractor.Origin
No description available.
Vector3 Oculus.Interaction.HandGrab.DistanceHandGrabInteractor.HitPoint
No description available.
IRelativeToRef Oculus.Interaction.HandGrab.DistanceHandGrabInteractor.DistanceInteractable
No description available.
virtual bool Oculus.Interaction.HandGrab.DistanceHandGrabInteractor.IsGrabbing
No description available.
float Oculus.Interaction.HandGrab.DistanceHandGrabInteractor.FingersStrength
No description available.
float Oculus.Interaction.HandGrab.DistanceHandGrabInteractor.WristStrength
No description available.
Pose Oculus.Interaction.HandGrab.DistanceHandGrabInteractor.WristToGrabPoseOffset
No description available.

Member Functions

HandFingerFlags Oculus.Interaction.HandGrab.DistanceHandGrabInteractor.GrabbingFingers ( )
Returns the fingers that are grabbing the interactable.
override bool Oculus.Interaction.HandGrab.DistanceHandGrabInteractor.CanSelect
( DistanceHandGrabInteractable interactable )
No description available.
void Oculus.Interaction.HandGrab.DistanceHandGrabInteractor.InjectAllDistanceHandGrabInteractor
( HandGrabAPI handGrabApi,
Transform grabOrigin,
IHand hand,
GrabTypeFlags supportedGrabTypes )
Adds a <cref="DistanceHandGrabInteractor"/> to a dynamically instantiated GameObject.
void Oculus.Interaction.HandGrab.DistanceHandGrabInteractor.InjectHandGrabApi
( HandGrabAPI handGrabApi )
Adds a <cref="HandGrabAPI"/> to a dynamically instantiated GameObject.
void Oculus.Interaction.HandGrab.DistanceHandGrabInteractor.InjectDistantCandidateComputer
Adds a <cref="DistantCandidateComputer"/> to a dynamically instantiated GameObject.
void Oculus.Interaction.HandGrab.DistanceHandGrabInteractor.InjectHand
( IHand hand )
Adds an <cref="IHand"/> to a dynamically instantiated GameObject.
void Oculus.Interaction.HandGrab.DistanceHandGrabInteractor.InjectSupportedGrabTypes
( GrabTypeFlags supportedGrabTypes )
Adds a list of supported grabs to a dynamically instantiated GameObject.
void Oculus.Interaction.HandGrab.DistanceHandGrabInteractor.InjectGrabOrigin
( Transform grabOrigin )
Adds a grab origin to a dynamically instantiated GameObject.
void Oculus.Interaction.HandGrab.DistanceHandGrabInteractor.InjectOptionalGripPoint
( Transform gripPoint )
Adds a grip point to a dynamically instantiated GameObject.
void Oculus.Interaction.HandGrab.DistanceHandGrabInteractor.InjectOptionalPinchPoint
( Transform pinchPoint )
Adds a pinch point to a dynamically instantiated GameObject.
void Oculus.Interaction.HandGrab.DistanceHandGrabInteractor.InjectOptionalVelocityCalculator
( IThrowVelocityCalculator velocityCalculator )
Adds a <cref="IThrowVelocityCalculator"/> to a dynamically instantiated GameObject.

Object Data

virtual void Oculus.Interaction.HandGrab.DistanceHandGrabInteractor.Reset ( )
No description available.
override void Oculus.Interaction.HandGrab.DistanceHandGrabInteractor.Awake ( )
No description available.
override void Oculus.Interaction.HandGrab.DistanceHandGrabInteractor.Start ( )
No description available.
override void Oculus.Interaction.HandGrab.DistanceHandGrabInteractor.DoHoverUpdate ( )
No description available.
override void Oculus.Interaction.HandGrab.DistanceHandGrabInteractor.InteractableSet
( DistanceHandGrabInteractable interactable )
No description available.
override void Oculus.Interaction.HandGrab.DistanceHandGrabInteractor.InteractableUnset
( DistanceHandGrabInteractable interactable )
No description available.
override void Oculus.Interaction.HandGrab.DistanceHandGrabInteractor.DoSelectUpdate ( )
No description available.
override void Oculus.Interaction.HandGrab.DistanceHandGrabInteractor.InteractableSelected
( DistanceHandGrabInteractable interactable )
No description available.
override void Oculus.Interaction.HandGrab.DistanceHandGrabInteractor.InteractableUnselected
( DistanceHandGrabInteractable interactable )
No description available.
override void Oculus.Interaction.HandGrab.DistanceHandGrabInteractor.HandlePointerEventRaised
( PointerEvent evt )
No description available.
override Pose Oculus.Interaction.HandGrab.DistanceHandGrabInteractor.ComputePointerPose ( )
No description available.
override bool Oculus.Interaction.HandGrab.DistanceHandGrabInteractor.ComputeShouldSelect ( )
No description available.
override bool Oculus.Interaction.HandGrab.DistanceHandGrabInteractor.ComputeShouldUnselect ( )
No description available.
override DistanceHandGrabInteractable Oculus.Interaction.HandGrab.DistanceHandGrabInteractor.ComputeCandidate ( )
No description available.
Did you find this page helpful?
Thumbs up icon
Thumbs down icon