Functionality for managing an AvatarItem's animation and pose
More...
|
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...
|
|
|
Animator | AvatarAnimator [get] |
| Retrieves the Animator component for this AvatarItem. If one does not exist, creates it first.
|
|
Functionality for managing an AvatarItem's animation and pose
◆ 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
-
callback | Callback that is fired with success or failure when complete |
The documentation for this class was generated from the following file:
- Assets/Astra/Asset/Animation/AnimationManager.cs