VR Interaction Framework v2.0
Loading...
Searching...
No Matches
BNG.PoseableObject Class Reference

A helper component you can place on grabbable object to decide which hand pose method and definition to use For example : When grabbing an object, you can use GetComponent<PoseableObject> to check whether to apply a specific HandPose to the HandPoser, or to enable AutoPose, set an ID on a hand animator, or implement your own custom solution. More...

Inheritance diagram for BNG.PoseableObject:

Public Types

enum  PoseType {
  HandPose , AutoPoseOnce , AutoPoseContinuous , Animator ,
  Other , None
}
 

Public Attributes

PoseType poseType = PoseType.HandPose
 
HandPose EquipHandPose
 
float AutoPoseDuration = 0.15f
 
int HandPoseID
 

Detailed Description

A helper component you can place on grabbable object to decide which hand pose method and definition to use For example : When grabbing an object, you can use GetComponent<PoseableObject> to check whether to apply a specific HandPose to the HandPoser, or to enable AutoPose, set an ID on a hand animator, or implement your own custom solution.

Member Enumeration Documentation

◆ PoseType

Enumerator
HandPose 
AutoPoseOnce 
AutoPoseContinuous 
Animator 
Other 
None 

Member Data Documentation

◆ AutoPoseDuration

float BNG.PoseableObject.AutoPoseDuration = 0.15f

◆ EquipHandPose

HandPose BNG.PoseableObject.EquipHandPose

◆ HandPoseID

int BNG.PoseableObject.HandPoseID

◆ poseType

PoseType BNG.PoseableObject.poseType = PoseType.HandPose

The documentation for this class was generated from the following file: