SaveToClip
Saves recorded animation to a destination clip.
Read time 1 minuteLast updated 11 days ago
Definition
- Type: Method
- Namespace: UnityEditor.Animations
- Assembly: UnityEditor.CoreModule
SaveToClip(AnimationClip)
Saves recorded animation to a destination clip.
public void SaveToClip(AnimationClip clip)
Parameters
The destination clip. If this clip has animation curves, they will be removed.
Remarks
Note: This method computes the tangents.
SaveToClip(AnimationClip, float)
Saves recorded animation to a destination clip.
public void SaveToClip(AnimationClip clip, float fps)
Parameters
The destination clip. If this clip has animation curves, they will be removed.
The frames per second (FPS) for the clip. If no value is specified, by default, this method uses 60 FPS.
Remarks
Note: This method computes the tangents.
SaveToClip(AnimationClip, float, CurveFilterOptions)
Saves recorded animation to a destination clip.
public void SaveToClip(AnimationClip clip, float fps, CurveFilterOptions filterOptions)
Parameters
The destination clip. If this clip has animation curves, they will be removed.
The frames per second (FPS) for the clip. If no value is specified, by default, this method uses 60 FPS.
The filtering options for processing the animation curves when saved to the destination clip. If no options are specified, by default, this method filters out irrelevant keys by applying a light compression of 0.5 for positionError, rotationError, scaleError and floatError.
Remarks
Note: This method computes the tangents.