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

DistanceHandGrabInteractable Class

The DistanceHandGrabInteractable allows grabbing the marked object from far away.
Oculus::Interaction::HandGrab::DistanceHandGrabInteractable extends Oculus.Interaction.PointerInteractable< DistanceHandGrabInteractor, DistanceHandGrabInteractable >.
Oculus::Interaction::HandGrab::DistanceHandGrabInteractable extends Oculus.Interaction.HandGrab.IHandGrabInteractable.
Oculus::Interaction::HandGrab::DistanceHandGrabInteractable extends Oculus.Interaction.IRigidbodyRef.
Oculus::Interaction::HandGrab::DistanceHandGrabInteractable extends Oculus.Interaction.ICollidersRef.

Overview

Properties

Rigidbody
bool
float
Transform
General getter for the transform of the object this interactable refers to.
GrabTypeFlags
List< HandGrabPose >
Collider[]
bool

Object Data

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

Public Member Functions

GenerateMovement
( in Pose from,
in Pose to )
void
ApplyVelocities
( Vector3 linearVelocity,
Vector3 angularVelocity )
bool
CalculateBestPose
( Pose userPose,
float handScale,
Handedness handedness,
ref HandGrabResult result )
void
CalculateBestPose
( in Pose userPose,
in Pose offset,
Transform relativeTo,
float handScale,
Handedness handedness,
ref HandGrabResult result )
bool
SupportsHandedness
( Handedness handedness )
void
InjectAllDistanceHandGrabInteractable
( GrabTypeFlags supportedGrabTypes,
Rigidbody rigidbody,
GrabbingRule pinchGrabRules,
GrabbingRule palmGrabRules )
void
void
InjectSupportedGrabTypes
( GrabTypeFlags supportedGrabTypes )
void
void
void
InjectRigidbody
( Rigidbody rigidbody )
void
InjectOptionalHandGrabPoses
( List< HandGrabPose > handGrabPoses )
void

Details

Detailed Description

Internally it uses HandGrabPoses to specify not only the poses of the hands but the required gestures to perform the grab. It is possible (and recommended) to reuse the same HandGrabPoses used by the HandGrabInteractable, and even select just a few so they become the default poses when distant grabbing.

Properties

Rigidbody Oculus.Interaction.HandGrab.DistanceHandGrabInteractable.Rigidbody
No description available.
bool Oculus.Interaction.HandGrab.DistanceHandGrabInteractable.ResetGrabOnGrabsUpdated
No description available.
float Oculus.Interaction.HandGrab.DistanceHandGrabInteractable.Slippiness
No description available.
IMovementProvider Oculus.Interaction.HandGrab.DistanceHandGrabInteractable.MovementProvider
No description available.
HandAlignType Oculus.Interaction.HandGrab.DistanceHandGrabInteractable.HandAlignment
No description available.
Transform Oculus.Interaction.HandGrab.DistanceHandGrabInteractable.RelativeTo
General getter for the transform of the object this interactable refers to.
GrabTypeFlags Oculus.Interaction.HandGrab.DistanceHandGrabInteractable.SupportedGrabTypes
No description available.
GrabbingRule Oculus.Interaction.HandGrab.DistanceHandGrabInteractable.PinchGrabRules
No description available.
GrabbingRule Oculus.Interaction.HandGrab.DistanceHandGrabInteractable.PalmGrabRules
No description available.
List<HandGrabPose> Oculus.Interaction.HandGrab.DistanceHandGrabInteractable.HandGrabPoses
No description available.
Collider [] Oculus.Interaction.HandGrab.DistanceHandGrabInteractable.Colliders
No description available.
bool Oculus.Interaction.HandGrab.DistanceHandGrabInteractable.UsesHandPose
No description available.

Object Data

virtual void Oculus.Interaction.HandGrab.DistanceHandGrabInteractable.Reset ( )
No description available.
override void Oculus.Interaction.HandGrab.DistanceHandGrabInteractable.Awake ( )
No description available.
override void Oculus.Interaction.HandGrab.DistanceHandGrabInteractable.Start ( )
No description available.

Member Functions

IMovement Oculus.Interaction.HandGrab.DistanceHandGrabInteractable.GenerateMovement
( in Pose from,
in Pose to )
No description available.
void Oculus.Interaction.HandGrab.DistanceHandGrabInteractable.ApplyVelocities
( Vector3 linearVelocity,
Vector3 angularVelocity )
No description available.
bool Oculus.Interaction.HandGrab.DistanceHandGrabInteractable.CalculateBestPose
( Pose userPose,
float handScale,
Handedness handedness,
ref HandGrabResult result )
No description available.
void Oculus.Interaction.HandGrab.DistanceHandGrabInteractable.CalculateBestPose
( in Pose userPose,
in Pose offset,
Transform relativeTo,
float handScale,
Handedness handedness,
ref HandGrabResult result )
No description available.
bool Oculus.Interaction.HandGrab.DistanceHandGrabInteractable.SupportsHandedness
( Handedness handedness )
No description available.
void Oculus.Interaction.HandGrab.DistanceHandGrabInteractable.InjectAllDistanceHandGrabInteractable
( GrabTypeFlags supportedGrabTypes,
Rigidbody rigidbody,
GrabbingRule pinchGrabRules,
GrabbingRule palmGrabRules )
No description available.
void Oculus.Interaction.HandGrab.DistanceHandGrabInteractable.InjectOptionalPhysicsGrabbable
( PhysicsGrabbable physicsObject )
No description available.
void Oculus.Interaction.HandGrab.DistanceHandGrabInteractable.InjectSupportedGrabTypes
( GrabTypeFlags supportedGrabTypes )
No description available.
void Oculus.Interaction.HandGrab.DistanceHandGrabInteractable.InjectPinchGrabRules
( GrabbingRule pinchGrabRules )
No description available.
void Oculus.Interaction.HandGrab.DistanceHandGrabInteractable.InjectPalmGrabRules
( GrabbingRule palmGrabRules )
No description available.
void Oculus.Interaction.HandGrab.DistanceHandGrabInteractable.InjectRigidbody
( Rigidbody rigidbody )
No description available.
void Oculus.Interaction.HandGrab.DistanceHandGrabInteractable.InjectOptionalHandGrabPoses
( List< HandGrabPose > handGrabPoses )
No description available.
void Oculus.Interaction.HandGrab.DistanceHandGrabInteractable.InjectOptionalMovementProvider
( IMovementProvider provider )
No description available.
Did you find this page helpful?
Thumbs up icon
Thumbs down icon