AvatarReady
Loading...
Searching...
No Matches
Inria.Avatar.AvatarReady.RecordHumanoidAnimationFeature Class Reference
Inheritance diagram for Inria.Avatar.AvatarReady.RecordHumanoidAnimationFeature:
Inria.Avatar.AvatarReady.RecorderFeature Inria.Avatar.AvatarReady.AvatarFeature

Public Member Functions

override void InitFeature (AvatarReady avatar)
 Initialize the feature.
 
override void BeginRecording ()
 
override void RecordFrame ()
 
- Public Member Functions inherited from Inria.Avatar.AvatarReady.RecorderFeature
virtual void Start ()
 
void StartRecording ()
 Start all recorders on this avatar.
 
void RecordFrame ()
 Record current frame.
 
void BeginRecording ()
 Initialize recording for this recorder, Use StartRecording to start all recorders.
 
void StopRecording (string folder="")
 Stop recording for all animations.
 
string GetLastAnimationPath ()
 
- Public Member Functions inherited from Inria.Avatar.AvatarReady.AvatarFeature
virtual void ResetFeature ()
 

Public Attributes

float DeltaPositionMin = 0.0001f
 
float DeltaRotationMin = 0.0001f
 
float DeltaMuscleMin = 0.0001f
 
string AnimationName
 
bool RecordBlendShapes = true
 

Protected Member Functions

int DeltaKeyMuscleAdd (AnimationCurve curve, float value)
 
int DeltaKeyPositionAdd (AnimationCurve curve, float value)
 
int DeltaKeyRotationAdd (AnimationCurve curve, float value)
 

Protected Attributes

Animator animator
 
HumanPoseHandler humanPoseHandler
 
HumanPose humanPose
 
AnimationCurve[] curves
 
AnimationCurve[] rootPositionCurve
 
AnimationCurve[] rootOrientationCurve
 
AnimationCurve[] blendShapesCurves
 
SkinnedMeshRenderer[] renderers
 
float time = 0f
 
- Protected Attributes inherited from Inria.Avatar.AvatarReady.RecorderFeature
string LastAnimationPath
 

Package Functions

override void EndRecording (string folder="")
 Stop recording and store path to animation file. Stored path will be a .anim when in editor, Stored path will be a .json when not in editor.
 
- Package Functions inherited from Inria.Avatar.AvatarReady.RecorderFeature
void EndRecording (string folder="")
 Stop recording for this recorder, Use StopRecording to stop all recorders.
 

Private Member Functions

void Awake ()
 
string SaveToJson (string fileName, string folder="")
 
ClipInfo CreateClipInfo (string fileName)
 

Private Attributes

Dictionary< string, string > muscleNameToPropertyNameDictionary
 

Additional Inherited Members

- Properties inherited from Inria.Avatar.AvatarReady.RecorderFeature
bool isRecording [get]
 

Member Function Documentation

◆ InitFeature()

override void Inria.Avatar.AvatarReady.RecordHumanoidAnimationFeature.InitFeature ( AvatarReady avatar)
inlinevirtual

Initialize the feature.

Parameters
avatarAvatar Ready Component on which the feature is initialized

Reimplemented from Inria.Avatar.AvatarReady.AvatarFeature.


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