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

Public Member Functions

void CacheHandModels ()
 
void ChangeHandsModel (int childIndex, bool save=false)
 

Public Attributes

int DefaultHandsModel = 1
 Child index of the hand model to use if nothing stored in playerprefs and LoadHandSelectionFromPrefs true.
 
bool LoadHandSelectionFromPrefs = false
 If true, hand model will be saved and loaded from player prefs. If false DefaultHandModel will be loaded.
 
ControllerBinding ToggleHandsInput = ControllerBinding.RightThumbstickDown
 
Transform LeftHandGFXHolder
 This transform holds all of the hand models. Can be used to enabled / disabled various hand options.
 
Transform RightHandGFXHolder
 This transform holds all of the hand models. Can be used to enabled / disabled various hand options.
 
CharacterIK IKBody
 Used for demo IK Hands / Body option.
 

Member Function Documentation

◆ CacheHandModels()

void BNG.HandModelSelector.CacheHandModels ( )

◆ ChangeHandsModel()

void BNG.HandModelSelector.ChangeHandsModel ( int  childIndex,
bool  save = false 
)

Member Data Documentation

◆ DefaultHandsModel

int BNG.HandModelSelector.DefaultHandsModel = 1

Child index of the hand model to use if nothing stored in playerprefs and LoadHandSelectionFromPrefs true.

◆ IKBody

CharacterIK BNG.HandModelSelector.IKBody

Used for demo IK Hands / Body option.

◆ LeftHandGFXHolder

Transform BNG.HandModelSelector.LeftHandGFXHolder

This transform holds all of the hand models. Can be used to enabled / disabled various hand options.

◆ LoadHandSelectionFromPrefs

bool BNG.HandModelSelector.LoadHandSelectionFromPrefs = false

If true, hand model will be saved and loaded from player prefs. If false DefaultHandModel will be loaded.

◆ RightHandGFXHolder

Transform BNG.HandModelSelector.RightHandGFXHolder

This transform holds all of the hand models. Can be used to enabled / disabled various hand options.

◆ ToggleHandsInput

ControllerBinding BNG.HandModelSelector.ToggleHandsInput = ControllerBinding.RightThumbstickDown

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