Rigidbody | Rigidbody[Get] |
bool | |
float | Slippiness[Get] |
MovementProvider[Get] | |
HandAlignment[Get] | |
List< HandGrabPose > | HandGrabPoses[Get] |
Transform | RelativeTo[Get] General getter for the transform of the object this interactable refers to. |
ScoreModifier[Get] | |
GrabTypeFlags | SupportedGrabTypes[Get] |
PinchGrabRules[Get] | |
PalmGrabRules[Get] | |
Collider[] | Colliders[Get] |
bool | UsesHandPose[Get] |
When you grab the object, this determines where the object currently is and where it should move. | |
void | Applies velocities to the interactable's <cref="PhysicsGrabbable" /> if it has one. |
bool | CalculateBestPose ( Pose userPose, float handScale, Handedness handedness, ref HandGrabResult result ) Determines the best pose for the hand to snap to. |
void | CalculateBestPose ( in Pose userPose, in Pose offset, Transform relativeTo, float handScale, Handedness handedness, ref HandGrabResult result ) |
bool | SupportsHandedness ( Handedness handedness ) Checks if the pose supports grabbing with the given hand. |
void | InjectAllHandGrabInteractable ( GrabTypeFlags supportedGrabTypes, Rigidbody rigidbody, GrabbingRule pinchGrabRules, GrabbingRule palmGrabRules ) Adds all required scripts for <cref="HandGrabInteractable" /> to a dynamically instantiated GameObject. |
void | InjectSupportedGrabTypes ( GrabTypeFlags supportedGrabTypes ) Adds supported grab types to a dynamically instantiated GameObject. |
void | InjectPinchGrabRules ( GrabbingRule pinchGrabRules ) Adds pinch grab rules to a dynamically instantiated GameObject. |
void | InjectPalmGrabRules ( GrabbingRule palmGrabRules ) Adds palm grab rules to a dynamically instantiated GameObject. |
void | InjectRigidbody ( Rigidbody rigidbody ) Adds a Rigidbody to a dynamically instantiated GameObject. |
void | InjectOptionalScoreModifier ( PoseMeasureParameters scoreModifier ) Adds a score modifier to a dynamically instantiated GameObject. |
void | InjectOptionalPhysicsGrabbable ( PhysicsGrabbable physicsGrabbable ) Adds a physics grabbable to a dynamically instantiated GameObject. |
void | InjectOptionalHandGrabPoses ( List< HandGrabPose > handGrabPoses ) Adds hand grab poses to a dynamically instantiated GameObject. |
void | InjectOptionalMovementProvider ( IMovementProvider provider ) Adds a movement provider to a dynamically instantiated GameObject. |
| Rigidbody Oculus.Interaction.HandGrab.HandGrabInteractable.Rigidbody |
|---|
No description available.
|
| bool Oculus.Interaction.HandGrab.HandGrabInteractable.ResetGrabOnGrabsUpdated |
|---|
No description available.
|
| float Oculus.Interaction.HandGrab.HandGrabInteractable.Slippiness |
|---|
No description available.
|
| IMovementProvider Oculus.Interaction.HandGrab.HandGrabInteractable.MovementProvider |
|---|
No description available.
|
| HandAlignType Oculus.Interaction.HandGrab.HandGrabInteractable.HandAlignment |
|---|
No description available.
|
| List<HandGrabPose> Oculus.Interaction.HandGrab.HandGrabInteractable.HandGrabPoses |
|---|
No description available.
|
| Transform Oculus.Interaction.HandGrab.HandGrabInteractable.RelativeTo |
|---|
General getter for the transform of the object this interactable refers to. |
| PoseMeasureParameters Oculus.Interaction.HandGrab.HandGrabInteractable.ScoreModifier |
|---|
No description available.
|
| GrabTypeFlags Oculus.Interaction.HandGrab.HandGrabInteractable.SupportedGrabTypes |
|---|
No description available.
|
| GrabbingRule Oculus.Interaction.HandGrab.HandGrabInteractable.PinchGrabRules |
|---|
No description available.
|
| GrabbingRule Oculus.Interaction.HandGrab.HandGrabInteractable.PalmGrabRules |
|---|
No description available.
|
| Collider [] Oculus.Interaction.HandGrab.HandGrabInteractable.Colliders |
|---|
No description available.
|
| bool Oculus.Interaction.HandGrab.HandGrabInteractable.UsesHandPose |
|---|
No description available.
|
| virtual void Oculus.Interaction.HandGrab.HandGrabInteractable.Reset ( ) |
|---|
No description available.
|
| override void Oculus.Interaction.HandGrab.HandGrabInteractable.Awake ( ) |
|---|
No description available.
|
| override void Oculus.Interaction.HandGrab.HandGrabInteractable.Start ( ) |
|---|
No description available.
|
| IMovement Oculus.Interaction.HandGrab.HandGrabInteractable.GenerateMovement ( in Pose from, in Pose to ) |
|---|
When you grab the object, this determines where the object currently is and where it should move. Parameters from The starting position. toThe ending position. |
| void Oculus.Interaction.HandGrab.HandGrabInteractable.ApplyVelocities ( Vector3 linearVelocity, Vector3 angularVelocity ) |
|---|
Applies velocities to the interactable's <cref="PhysicsGrabbable" /> if it has one. Parameters linearVelocity The linear velocity to apply. angularVelocityThe angular velocity to apply. |
| bool Oculus.Interaction.HandGrab.HandGrabInteractable.CalculateBestPose ( Pose userPose, float handScale, Handedness handedness, ref HandGrabResult result ) |
|---|
Determines the best pose for the hand to snap to. Parameters userPose The pose of the hand. handScaleThe scale of the hand. handednessThe handedness of the hand. resultThe best pose. |
| void Oculus.Interaction.HandGrab.HandGrabInteractable.CalculateBestPose ( in Pose userPose, in Pose offset, Transform relativeTo, float handScale, Handedness handedness, ref HandGrabResult result ) |
|---|
No description available.
|
| bool Oculus.Interaction.HandGrab.HandGrabInteractable.SupportsHandedness ( Handedness handedness ) |
|---|
Checks if the pose supports grabbing with the given hand. |
| void Oculus.Interaction.HandGrab.HandGrabInteractable.InjectAllHandGrabInteractable ( GrabTypeFlags supportedGrabTypes, Rigidbody rigidbody, GrabbingRule pinchGrabRules, GrabbingRule palmGrabRules ) |
|---|
Adds all required scripts for <cref="HandGrabInteractable" /> to a dynamically instantiated GameObject. |
| void Oculus.Interaction.HandGrab.HandGrabInteractable.InjectSupportedGrabTypes ( GrabTypeFlags supportedGrabTypes ) |
|---|
Adds supported grab types to a dynamically instantiated GameObject. |
| void Oculus.Interaction.HandGrab.HandGrabInteractable.InjectPinchGrabRules ( GrabbingRule pinchGrabRules ) |
|---|
Adds pinch grab rules to a dynamically instantiated GameObject. |
| void Oculus.Interaction.HandGrab.HandGrabInteractable.InjectPalmGrabRules ( GrabbingRule palmGrabRules ) |
|---|
Adds palm grab rules to a dynamically instantiated GameObject. |
| void Oculus.Interaction.HandGrab.HandGrabInteractable.InjectRigidbody ( Rigidbody rigidbody ) |
|---|
Adds a Rigidbody to a dynamically instantiated GameObject. |
| void Oculus.Interaction.HandGrab.HandGrabInteractable.InjectOptionalScoreModifier ( PoseMeasureParameters scoreModifier ) |
|---|
Adds a score modifier to a dynamically instantiated GameObject. |
| void Oculus.Interaction.HandGrab.HandGrabInteractable.InjectOptionalPhysicsGrabbable ( PhysicsGrabbable physicsGrabbable ) |
|---|
Adds a physics grabbable to a dynamically instantiated GameObject. |
| void Oculus.Interaction.HandGrab.HandGrabInteractable.InjectOptionalHandGrabPoses ( List< HandGrabPose > handGrabPoses ) |
|---|
Adds hand grab poses to a dynamically instantiated GameObject. |
| void Oculus.Interaction.HandGrab.HandGrabInteractable.InjectOptionalMovementProvider ( IMovementProvider provider ) |
|---|
Adds a movement provider to a dynamically instantiated GameObject. |