VR Interaction Framework v2.0
Loading...
Searching...
No Matches
BNG.HandPoseBlender Class Reference
Inheritance diagram for BNG.HandPoseBlender:

Public Member Functions

virtual void UpdatePoseFromInputs ()
 Update the hand pose based on ThumbValue, IndexValue, and GripValue.
 
void UpdateThumb (float amount)
 
void UpdateIndex (float amount)
 
void UpdateMiddle (float amount)
 
void UpdateRing (float amount)
 
void UpdatePinky (float amount)
 
void UpdateGrip (float amount)
 Shortcut for updating the middle, ring, and pinky fingers together.
 
virtual void DoIdleBlendPose ()
 

Public Attributes

bool UpdatePose = true
 
HandPose Pose1
 
HandPose Pose2
 
float ThumbValue = 0f
 
float IndexValue = 0f
 
float MiddleValue = 0f
 
float RingValue = 0f
 
float PinkyValue = 0f
 
float GripValue = 0f
 

Protected Attributes

HandPoser handPoser
 

Member Function Documentation

◆ DoIdleBlendPose()

virtual void BNG.HandPoseBlender.DoIdleBlendPose ( )
virtual

◆ UpdateGrip()

void BNG.HandPoseBlender.UpdateGrip ( float  amount)

Shortcut for updating the middle, ring, and pinky fingers together.

Parameters
amount

◆ UpdateIndex()

void BNG.HandPoseBlender.UpdateIndex ( float  amount)

◆ UpdateMiddle()

void BNG.HandPoseBlender.UpdateMiddle ( float  amount)

◆ UpdatePinky()

void BNG.HandPoseBlender.UpdatePinky ( float  amount)

◆ UpdatePoseFromInputs()

virtual void BNG.HandPoseBlender.UpdatePoseFromInputs ( )
virtual

Update the hand pose based on ThumbValue, IndexValue, and GripValue.

◆ UpdateRing()

void BNG.HandPoseBlender.UpdateRing ( float  amount)

◆ UpdateThumb()

void BNG.HandPoseBlender.UpdateThumb ( float  amount)

Member Data Documentation

◆ GripValue

float BNG.HandPoseBlender.GripValue = 0f

◆ handPoser

HandPoser BNG.HandPoseBlender.handPoser
protected

◆ IndexValue

float BNG.HandPoseBlender.IndexValue = 0f

◆ MiddleValue

float BNG.HandPoseBlender.MiddleValue = 0f

◆ PinkyValue

float BNG.HandPoseBlender.PinkyValue = 0f

◆ Pose1

HandPose BNG.HandPoseBlender.Pose1

◆ Pose2

HandPose BNG.HandPoseBlender.Pose2

◆ RingValue

float BNG.HandPoseBlender.RingValue = 0f

◆ ThumbValue

float BNG.HandPoseBlender.ThumbValue = 0f

◆ UpdatePose

bool BNG.HandPoseBlender.UpdatePose = true

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