Class AnimationBlender
- Namespace
- Stride.Animations
- Assembly
- Stride.Engine.dll
Performs animation blending. For now, all AnimationClip must target the same skeleton.
public sealed class AnimationBlender
- Inheritance
-
AnimationBlender
Methods
Blend(CoreAnimationOperation, float, AnimationClipResult, AnimationClipResult, AnimationClipResult)
public static void Blend(CoreAnimationOperation blendOperation, float blendFactor, AnimationClipResult sourceLeft, AnimationClipResult sourceRight, AnimationClipResult result)
Parameters
blendOperation
CoreAnimationOperationblendFactor
floatsourceLeft
AnimationClipResultsourceRight
AnimationClipResultresult
AnimationClipResult
Compute(FastList<AnimationOperation>, ref AnimationClipResult)
Computes the specified animation operations.
public void Compute(FastList<AnimationOperation> animationOperations, ref AnimationClipResult result)
Parameters
animationOperations
FastList<AnimationOperation>The animation operations to perform.
result
AnimationClipResultThe optional result (if not null, it expects the final stack to end up with this element).
CreateEvaluator(AnimationClip)
public AnimationClipEvaluator CreateEvaluator(AnimationClip clip)
Parameters
clip
AnimationClip
Returns
ReleaseEvaluator(AnimationClipEvaluator)
public void ReleaseEvaluator(AnimationClipEvaluator evaluator)
Parameters
evaluator
AnimationClipEvaluator