Table of Contents

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

float

CoreBlendOperation

public CoreAnimationOperation CoreBlendOperation

Field Value

CoreAnimationOperation

Evaluator

public AnimationClipEvaluator Evaluator

Field Value

AnimationClipEvaluator

Time

public TimeSpan Time

Field Value

TimeSpan

Type

public AnimationOperationType Type

Field Value

AnimationOperationType

Methods

NewBlend(CoreAnimationOperation, float)

Creates a new animation blend operation.

public static AnimationOperation NewBlend(CoreAnimationOperation operation, float blendFactor)

Parameters

operation CoreAnimationOperation

The blend operation.

blendFactor float

The blend factor.

Returns

AnimationOperation

NewPop(AnimationClipEvaluator, TimeSpan)

Creates a new animation pop operation.

public static AnimationOperation NewPop(AnimationClipEvaluator evaluator, TimeSpan time)

Parameters

evaluator AnimationClipEvaluator

The evaluator.

time TimeSpan

The time.

Returns

AnimationOperation

NewPush(AnimationClipEvaluator)

Creates a new animation push operation.

public static AnimationOperation NewPush(AnimationClipEvaluator evaluator)

Parameters

evaluator AnimationClipEvaluator

The evaluator.

Returns

AnimationOperation

NewPush(AnimationClipEvaluator, TimeSpan)

Creates a new animation push operation.

public static AnimationOperation NewPush(AnimationClipEvaluator evaluator, TimeSpan time)

Parameters

evaluator AnimationClipEvaluator

The evaluator.

time TimeSpan

The time.

Returns

AnimationOperation