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

Public Member Functions

void UpdatePreviewTransforms ()
 
void UpdateHandPosePreview ()
 
void UpdateAutoPoserPreview ()
 
void UpdateChildAnimators ()
 

Public Attributes

HandPoseType handPoseType = HandPoseType.HandPose
 
HandPose SelectedHandPose
 
HandPoseId HandPose
 Set to Default to inherit Grabbable's HandPose. Otherwise this HandPose will be used.
 
bool LeftHandIsValid = true
 
bool RightHandIsValid = true
 
Transform HandPosition
 If specified, the Hand Model will be placed here when snapped.
 
float MaxDegreeDifferenceAllowed = 360
 GrabPoint is not considered valid if the angle between the GrabPoint and Grabber is greater than this amount.
 
float IndexBlendMin = 0
 
float IndexBlendMax = 0
 
float ThumbBlendMin = 0
 
float ThumbBlendMax = 0
 
bool ShowAngleGizmo = true
 

Member Function Documentation

◆ UpdateAutoPoserPreview()

void BNG.GrabPoint.UpdateAutoPoserPreview ( )

◆ UpdateChildAnimators()

void BNG.GrabPoint.UpdateChildAnimators ( )

◆ UpdateHandPosePreview()

void BNG.GrabPoint.UpdateHandPosePreview ( )

◆ UpdatePreviewTransforms()

void BNG.GrabPoint.UpdatePreviewTransforms ( )

Member Data Documentation

◆ HandPose

HandPoseId BNG.GrabPoint.HandPose

Set to Default to inherit Grabbable's HandPose. Otherwise this HandPose will be used.

◆ handPoseType

HandPoseType BNG.GrabPoint.handPoseType = HandPoseType.HandPose

◆ HandPosition

Transform BNG.GrabPoint.HandPosition

If specified, the Hand Model will be placed here when snapped.

◆ IndexBlendMax

float BNG.GrabPoint.IndexBlendMax = 0

◆ IndexBlendMin

float BNG.GrabPoint.IndexBlendMin = 0

◆ LeftHandIsValid

bool BNG.GrabPoint.LeftHandIsValid = true

◆ MaxDegreeDifferenceAllowed

float BNG.GrabPoint.MaxDegreeDifferenceAllowed = 360

GrabPoint is not considered valid if the angle between the GrabPoint and Grabber is greater than this amount.

◆ RightHandIsValid

bool BNG.GrabPoint.RightHandIsValid = true

◆ SelectedHandPose

HandPose BNG.GrabPoint.SelectedHandPose

◆ ShowAngleGizmo

bool BNG.GrabPoint.ShowAngleGizmo = true

◆ ThumbBlendMax

float BNG.GrabPoint.ThumbBlendMax = 0

◆ ThumbBlendMin

float BNG.GrabPoint.ThumbBlendMin = 0

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