Table of Contents

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 CoreAnimationOperation
blendFactor float
sourceLeft AnimationClipResult
sourceRight AnimationClipResult
result 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 AnimationClipResult

The 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

AnimationClipEvaluator

ReleaseEvaluator(AnimationClipEvaluator)

public void ReleaseEvaluator(AnimationClipEvaluator evaluator)

Parameters

evaluator AnimationClipEvaluator