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

HandGrabUseInteractable Class

This interactable specifies the final pose a hand will have, via HandGrabPoints, when using the interactable, and also the rules to use it.
Oculus::Interaction::HandGrab::HandGrabUseInteractable extends Oculus.Interaction.Interactable< HandGrabUseInteractor, HandGrabUseInteractable >.

Overview

Properties

float
float
Value indicating the progress of the use interaction.
List< HandGrabPose >
List< HandGrabPose >
float

Object Data

void
Reset ( )
override void
Awake ( )
override void
override void

Public Member Functions

float
ComputeUseStrength
( float strength )
bool
FindBestHandPoses
( float handScale,
ref HandPose relaxedHandPose,
ref HandPose tightHandPose,
out float score )
void
void
InjectOptionalRelaxedHandGrabPoints
( List< HandGrabPose > relaxedHandGrabPoints )
void
InjectOptionalTightHandGrabPoints
( List< HandGrabPose > tightHandGrabPoints )

Details

Detailed Description

It also provides the relaxed and tigh HandGrabPoses to modify the visual hand depending on the progress of the interaction. By default, it will update the Progress of the interaction to the strength of usage, but it is possible to reference a IHandGrabUseDelegate to derive this calculation to a separate script.

Properties

IHandGrabUseDelegate Oculus.Interaction.HandGrab.HandGrabUseInteractable.HandUseDelegate
No description available.
GrabbingRule Oculus.Interaction.HandGrab.HandGrabUseInteractable.UseFingers
No description available.
float Oculus.Interaction.HandGrab.HandGrabUseInteractable.StrengthDeadzone
No description available.
float Oculus.Interaction.HandGrab.HandGrabUseInteractable.UseProgress
Value indicating the progress of the use interaction.
List<HandGrabPose> Oculus.Interaction.HandGrab.HandGrabUseInteractable.RelaxGrabPoints
No description available.
List<HandGrabPose> Oculus.Interaction.HandGrab.HandGrabUseInteractable.TightGrabPoints
No description available.
float Oculus.Interaction.HandGrab.HandGrabUseInteractable.UseStrengthDeadZone
No description available.

Object Data

virtual void Oculus.Interaction.HandGrab.HandGrabUseInteractable.Reset ( )
No description available.
override void Oculus.Interaction.HandGrab.HandGrabUseInteractable.Awake ( )
No description available.
override void Oculus.Interaction.HandGrab.HandGrabUseInteractable.SelectingInteractorAdded
( HandGrabUseInteractor interactor )
No description available.
override void Oculus.Interaction.HandGrab.HandGrabUseInteractable.SelectingInteractorRemoved
( HandGrabUseInteractor interactor )
No description available.

Member Functions

float Oculus.Interaction.HandGrab.HandGrabUseInteractable.ComputeUseStrength
( float strength )
No description available.
bool Oculus.Interaction.HandGrab.HandGrabUseInteractable.FindBestHandPoses
( float handScale,
ref HandPose relaxedHandPose,
ref HandPose tightHandPose,
out float score )
No description available.
void Oculus.Interaction.HandGrab.HandGrabUseInteractable.InjectOptionalForwardUseDelegate
( IHandGrabUseDelegate useDelegate )
No description available.
void Oculus.Interaction.HandGrab.HandGrabUseInteractable.InjectOptionalRelaxedHandGrabPoints
( List< HandGrabPose > relaxedHandGrabPoints )
No description available.
void Oculus.Interaction.HandGrab.HandGrabUseInteractable.InjectOptionalTightHandGrabPoints
( List< HandGrabPose > tightHandGrabPoints )
No description available.
Did you find this page helpful?
Thumbs up icon
Thumbs down icon