csharp
public sealed class EmptyMotionA motion that writes nothing: what a state with no clip plays.
No guide page documents this yet — the page shows what the code says about itself.
Remarks
Its own type rather than a clip of zero length, because there is no such clip — AnimationClip is baked against a skeleton and a zero-length one is one frame long by construction. Leaving the destination untouched means the pose under it survives, which for a layer that is masked to an arm is the arm staying where the layer below put it.
Methods (2)
public override float Length(AnimationParameters parameters)How long one pass takes at the current parameters, in seconds.
public override RootMotionDelta Evaluate(in MotionContext context, Span<BoneTransform> destination)Poses the skeleton, and reports what the root did.
Used by (1)
- AnimationGraphCompilerVixen.Editor.AnimationGraph