Click or drag to resize
AnimationXBakePoseToAnimationClip Method
Bakes the Animation component's hierarchy's pose into an AnimationClip.

Namespace: Candlelight
Assembly: Assembly-CSharp-firstpass (in Assembly-CSharp-firstpass.dll) Version: 0.0.0.0
Syntax
C#
public static AnimationClip BakePoseToAnimationClip(
	this Animation relativeTo
)

Parameters

relativeTo
Type: Animation
The animation component to which the pose paths are relative.

Return Value

Type: AnimationClip
A 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