Struct AnimationOperation
- Namespace
- Stride.Animations
- Assembly
- Stride.Engine.dll
A single animation operation (push or blend).
public struct AnimationOperation
- Inherited Members
Fields
BlendFactor
public float BlendFactor
Field Value
CoreBlendOperation
public CoreAnimationOperation CoreBlendOperation
Field Value
Evaluator
public AnimationClipEvaluator Evaluator
Field Value
Time
public TimeSpan Time
Field Value
Type
public AnimationOperationType Type
Field Value
Methods
NewBlend(CoreAnimationOperation, float)
Creates a new animation blend operation.
public static AnimationOperation NewBlend(CoreAnimationOperation operation, float blendFactor)
Parameters
operation
CoreAnimationOperationThe blend operation.
blendFactor
floatThe blend factor.
Returns
NewPop(AnimationClipEvaluator, TimeSpan)
Creates a new animation pop operation.
public static AnimationOperation NewPop(AnimationClipEvaluator evaluator, TimeSpan time)
Parameters
evaluator
AnimationClipEvaluatorThe evaluator.
time
TimeSpanThe time.
Returns
NewPush(AnimationClipEvaluator)
Creates a new animation push operation.
public static AnimationOperation NewPush(AnimationClipEvaluator evaluator)
Parameters
evaluator
AnimationClipEvaluatorThe evaluator.
Returns
NewPush(AnimationClipEvaluator, TimeSpan)
Creates a new animation push operation.
public static AnimationOperation NewPush(AnimationClipEvaluator evaluator, TimeSpan time)
Parameters
evaluator
AnimationClipEvaluatorThe evaluator.
time
TimeSpanThe time.