Astra Unity 2.6.6
Astra Unity Plugin
All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events Pages
Astra.Asset.AnimationManager Class Reference

Functionality for managing an AvatarItem's animation and pose More...

Inheritance diagram for Astra.Asset.AnimationManager:

Public Member Functions

delegate void PostGenerateHumanAvatar (bool succcess)
 
void GenerateHumanAvatar (PostGenerateHumanAvatar callback=null)
 In order to animate with mecanim we need a human avatar with an appropriate Human Description, this function will generate one for you.There are a lot of quirks in generating one with Unity, of note you will need to re-reference you Animators if you were referring to one before More...
 

Properties

Animator AvatarAnimator [get]
 Retrieves the Animator component for this AvatarItem. If one does not exist, creates it first.
 

Additional Inherited Members

- Protected Attributes inherited from Astra.Asset.AvatarManagerBase
AvatarItem avatarItem
 

Detailed Description

Functionality for managing an AvatarItem's animation and pose

Member Function Documentation

◆ GenerateHumanAvatar()

void Astra.Asset.AnimationManager.GenerateHumanAvatar ( PostGenerateHumanAvatar  callback = null)
inline

In order to animate with mecanim we need a human avatar with an appropriate Human Description, this function will generate one for you.There are a lot of quirks in generating one with Unity, of note you will need to re-reference you Animators if you were referring to one before

NOTE: this must be done on mainthread

Parameters
callbackCallback that is fired with success or failure when complete

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