AnimationOperation Struct
Namespace: Stride.AnimationsAssembly: Stride.Engine.dll
A single animation operation (push or blend).
public struct AnimationOperation
Name | Description | |
---|---|---|
Fields | ||
BlendFactor | ||
CoreBlendOperation | ||
Evaluator | ||
Time | ||
Type | ||
Methods | ||
NewBlend(CoreAnimationOperation, Single) | Creates a new animation blend operation. |
|
NewPop(AnimationClipEvaluator, TimeSpan) | Creates a new animation pop operation. |
|
NewPush(AnimationClipEvaluator) | Creates a new animation push operation. |
|
NewPush(AnimationClipEvaluator, TimeSpan) | Creates a new animation push operation. |
Fields
BlendFactor
public float BlendFactor
Field Value
Type | Description |
---|---|
System.Single |
CoreBlendOperation
public CoreAnimationOperation CoreBlendOperation
Field Value
Type | Description |
---|---|
CoreAnimationOperation |
Evaluator
public AnimationClipEvaluator Evaluator
Field Value
Type | Description |
---|---|
AnimationClipEvaluator |
Time
public TimeSpan Time
Field Value
Type | Description |
---|---|
System.TimeSpan |
Type
public AnimationOperationType Type
Field Value
Type | Description |
---|---|
AnimationOperationType |
Methods
NewBlend(CoreAnimationOperation, Single)
Creates a new animation blend operation.
public static AnimationOperation NewBlend(CoreAnimationOperation operation, float blendFactor)
Parameters
Type | Name | Description |
---|---|---|
CoreAnimationOperation | operation | The blend operation. |
System.Single | blendFactor | The blend factor. |
Returns
Type | Description |
---|---|
AnimationOperation |
NewPop(AnimationClipEvaluator, TimeSpan)
Creates a new animation pop operation.
public static AnimationOperation NewPop(AnimationClipEvaluator evaluator, TimeSpan time)
Parameters
Type | Name | Description |
---|---|---|
AnimationClipEvaluator | evaluator | The evaluator. |
System.TimeSpan | time | The time. |
Returns
Type | Description |
---|---|
AnimationOperation |
NewPush(AnimationClipEvaluator)
Creates a new animation push operation.
public static AnimationOperation NewPush(AnimationClipEvaluator evaluator)
Parameters
Type | Name | Description |
---|---|---|
AnimationClipEvaluator | evaluator | The evaluator. |
Returns
Type | Description |
---|---|
AnimationOperation |
NewPush(AnimationClipEvaluator, TimeSpan)
Creates a new animation push operation.
public static AnimationOperation NewPush(AnimationClipEvaluator evaluator, TimeSpan time)
Parameters
Type | Name | Description |
---|---|---|
AnimationClipEvaluator | evaluator | The evaluator. |
System.TimeSpan | time | The time. |
Returns
Type | Description |
---|---|
AnimationOperation |
Inherited Members
System.ValueType.Equals(System.Object)
System.ValueType.GetHashCode()
System.ValueType.ToString()