AvatarReady
Loading...
Searching...
No Matches
Inria.Avatar.AvatarReady.AvatarReady Class Reference

Main class of AvatarReady. Contains all the informations that defines the current configuration. Provides also the method that apply the configuration to the avatar. More...

Inheritance diagram for Inria.Avatar.AvatarReady.AvatarReady:

Public Member Functions

void SetupAvatar ()
 
void ResetAvatar ()
 Calls Reset() on everything to destroy every created gameobject and remove script or settings.
 

Static Public Member Functions

static bool AddFeature (AvatarReady target, Type feature)
 Add a feature to an avatar.
 
static bool IsAvatarFeatureSupported (AvatarReady target, Type featureType)
 Returns if a given avatar feature is suported by the current configuration

Returns
True if the feature is supported, False otherwise

 

Public Attributes

bool activated
 true if the "Setup Avatar" button has been pressed, false if first time or "Reset Avatar" button pressed.
 
bool runtimeImportMode
 true if the script is used in a RuntimeImport mode, set by AvatarReadySetup.
 
TypeList SelectedFeatures
 
TrackerDescriptorArray TrackerDescriptors
 
OptionDictionary< string > SystemStringOptions
 
OptionDictionary< UnityEngine.Object > SystemObjectOptions
 
OptionDictionary< string > ConfigStringOptions
 
OptionDictionary< UnityEngine.Object > ConfigObjectOptions
 
OptionDictionary< string > FeatureStringOptions
 
OptionDictionary< UnityEngine.Object > FeatureObjectOptions
 
bool showHelp
 

Properties

Type AnimationType [get, set]
 
Type AnimationSystem [get, set]
 
Type AnimationConfig [get, set]
 
Type AvatarProvider [get, set]
 
Type OffsetTechnique [get, set]
 
Type CalibrationTechnique [get, set]
 
Animator Animator [get]
 

Private Member Functions

void Reset ()
 

Private Attributes

string _animationType
 
string _animationSystem
 
string _animationConfig
 
string _avatarProvider
 
string _offsetTechnique
 
string _calibrationTechnique
 
Animator _animator
 

Detailed Description

Main class of AvatarReady. Contains all the informations that defines the current configuration. Provides also the method that apply the configuration to the avatar.

Member Function Documentation

◆ AddFeature()

static bool Inria.Avatar.AvatarReady.AvatarReady.AddFeature ( AvatarReady target,
Type feature )
inlinestatic

Add a feature to an avatar.

Parameters
targetThe avatar to add the feature to
featureType of the feature to be added
Returns
True if the feature has been added, False is the feature is not valid for that avatar

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