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

TouchHandGrabInteractor Class

TouchHandGrabInteractor provides a hand-specific grab interaction model where selection begins when finger tips overlap with an associated interactable.
Oculus::Interaction::TouchHandGrabInteractor extends Oculus.Interaction.PointerInteractor< TouchHandGrabInteractor, TouchHandGrabInteractable >.
Oculus::Interaction::TouchHandGrabInteractor extends Oculus.Interaction.ITimeConsumer.

Overview

Properties

Hand[Get]
Vector3
Quaternion

Events

Action

Public Member Functions

void
SetTimeProvider
( Func< float > timeProvider )
Sets a function that returns the current time in seconds.
bool
IsFingerLocked
( HandFinger finger )
Pose[]
GetFingerJoints
( HandFinger finger )
override void
void
InjectAllTouchHandGrabInteractor
( IHand hand,
IHand openHand,
IHandSphereMap handSphereMap,
Transform hoverLocation,
Transform grabLocation )
void
InjectHand
( IHand hand )
void
InjectOpenHand
( IHand openHand )
void
void
InjectHoverLocation
( Transform hoverLocation )
void
InjectGrabLocation
( Transform grabLocation )
void
void
InjectOptionalMinHoverDistance
( float minHoverDistance )
void
void
void
InjectOptionalIterations
( int iterations )
void
InjectOptionalTimeProvider
( Func< float > timeProvider )

Object Data

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

Details

Detailed Description

Upon selection, the distance between the fingers and thumb is cached and is used for determining the point of release: when fingers are outside of the cached distance.

Properties

IHand Oculus.Interaction.TouchHandGrabInteractor.Hand
No description available.
IHand Oculus.Interaction.TouchHandGrabInteractor.OpenHand
No description available.
Vector3 Oculus.Interaction.TouchHandGrabInteractor.GrabPosition
No description available.
Quaternion Oculus.Interaction.TouchHandGrabInteractor.GrabRotation
No description available.

Object Data

IHandSphereMap Oculus.Interaction.TouchHandGrabInteractor.HandSphereMap
No description available.
IActiveState Oculus.Interaction.TouchHandGrabInteractor.GrabPrerequisite
No description available.

Events

Action Oculus.Interaction.TouchHandGrabInteractor.WhenFingerLocked ( )
No description available.

Member Functions

void Oculus.Interaction.TouchHandGrabInteractor.SetTimeProvider
( Func< float > timeProvider )
Sets a function that returns the current time in seconds.
bool Oculus.Interaction.TouchHandGrabInteractor.IsFingerLocked
( HandFinger finger )
No description available.
Pose[] Oculus.Interaction.TouchHandGrabInteractor.GetFingerJoints
( HandFinger finger )
No description available.
override void Oculus.Interaction.TouchHandGrabInteractor.Unselect ( )
No description available.
void Oculus.Interaction.TouchHandGrabInteractor.InjectAllTouchHandGrabInteractor
( IHand hand,
IHand openHand,
IHandSphereMap handSphereMap,
Transform hoverLocation,
Transform grabLocation )
No description available.
void Oculus.Interaction.TouchHandGrabInteractor.InjectHand
( IHand hand )
No description available.
void Oculus.Interaction.TouchHandGrabInteractor.InjectOpenHand
( IHand openHand )
No description available.
void Oculus.Interaction.TouchHandGrabInteractor.InjectHandSphereMap
( IHandSphereMap handSphereMap )
No description available.
void Oculus.Interaction.TouchHandGrabInteractor.InjectHoverLocation
( Transform hoverLocation )
No description available.
void Oculus.Interaction.TouchHandGrabInteractor.InjectGrabLocation
( Transform grabLocation )
No description available.
void Oculus.Interaction.TouchHandGrabInteractor.InjectOptionalGrabPrerequisite
( IActiveState grabPrerequisite )
No description available.
void Oculus.Interaction.TouchHandGrabInteractor.InjectOptionalMinHoverDistance
( float minHoverDistance )
No description available.
void Oculus.Interaction.TouchHandGrabInteractor.InjectOptionalCurlDeltaThreshold
( float threshold )
No description available.
void Oculus.Interaction.TouchHandGrabInteractor.InjectOptionalCurlTimeThreshold
( float seconds )
No description available.
void Oculus.Interaction.TouchHandGrabInteractor.InjectOptionalIterations
( int iterations )
No description available.
void Oculus.Interaction.TouchHandGrabInteractor.InjectOptionalTimeProvider
( Func< float > timeProvider )
No description available.

Object Data

override void Oculus.Interaction.TouchHandGrabInteractor.Awake ( )
No description available.
override void Oculus.Interaction.TouchHandGrabInteractor.Start ( )
No description available.
override void Oculus.Interaction.TouchHandGrabInteractor.DoPreprocess ( )
No description available.
override void Oculus.Interaction.TouchHandGrabInteractor.DoPostprocess ( )
No description available.
override bool Oculus.Interaction.TouchHandGrabInteractor.ComputeShouldSelect ( )
No description available.
override bool Oculus.Interaction.TouchHandGrabInteractor.ComputeShouldUnselect ( )
No description available.
override void Oculus.Interaction.TouchHandGrabInteractor.DoHoverUpdate ( )
No description available.
override void Oculus.Interaction.TouchHandGrabInteractor.DoSelectUpdate ( )
No description available.
override TouchHandGrabInteractable Oculus.Interaction.TouchHandGrabInteractor.ComputeCandidate ( )
No description available.
override Pose Oculus.Interaction.TouchHandGrabInteractor.ComputePointerPose ( )
No description available.
Did you find this page helpful?
Thumbs up icon
Thumbs down icon