 | AnimationXBakePoseToAnimationClip Method |
Bakes the Animation component's hierarchy's pose into an AnimationClip.
Namespace: CandlelightAssembly: Assembly-CSharp-firstpass (in Assembly-CSharp-firstpass.dll) Version: 0.0.0.0
Syntaxpublic static AnimationClip BakePoseToAnimationClip(
this Animation relativeTo
)
Parameters
- relativeTo
- Type: Animation
The animation component to which the pose paths are relative.
Return Value
Type:
AnimationClipA 1-second, constant AnimationClip with the hierarchy's current pose.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
Animation. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also