Base class for animation bakers, handles timing, keyframing and saving AnimationClips. More...
Public Attributes | |
int | frameRate = 30 |
In AnimationClips, AnimationStates or PlayableDirector mode - the frame rate at which the animation clip will be sampled. In Realtime mode - the frame rate at which the pose will be sampled. With the latter, the frame rate is not guaranteed if the player is not able to reach it. More... | |
float | keyReductionError = 0.01f |
Maximum allowed error for keyframe reduction. More... | |
Mode | mode |
AnimationClips mode can be used to bake a batch of AnimationClips directly without the need of setting up an AnimatorController. AnimationStates mode is useful for when you need to set up a more complex rig with layers and AvatarMasks in Mecanim. PlayableDirector mode bakes a Timeline. Realtime mode is for continuous baking of gameplay, ragdoll phsysics or PuppetMaster dynamics. More... | |
AnimationClip[] | animationClips = new AnimationClip[0] |
AnimationClips to bake. More... | |
string[] | animationStates = new string[0] |
The name of the AnimationStates to bake (must be on the base layer) in the Animator (Right-click on this component header and select 'Find Animation States' to have Baker fill those in automatically, required that state names match with the names of the clips used in them). More... | |
string | saveToFolder = "Assets" |
The folder to save the baked AnimationClips to. More... | |
string | appendName = "_Baked" |
String that will be added to each clip or animation state name for the saved clip. For example if your animation state/clip names were 'Idle' and 'Walk', then with '_Baked' as Append Name, the Baker will create 'Idle_Baked' and 'Walk_Baked' animation clips. More... | |
string | saveName = "Baked Clip" |
Name of the created AnimationClip file. More... | |
bool | inheritClipSettings |
If enabled, baked clips will have the same AnimationClipSettings as the clips used for baking. If disabled, clip settings from below will be applied to all the baked clips. More... | |
ClipSettings | clipSettings |
AnimationClipSettings applied to the baked animation clip. More... | |
Base class for animation bakers, handles timing, keyframing and saving AnimationClips.