Class BinaryAnimationSample
A sample animation.
Inherited Members
Namespace: Evergine.Framework.Animation
Assembly: Evergine.Framework.dll
Syntax
public class BinaryAnimationSample : AnimationSample
Constructors
BinaryAnimationSample()
Initializes a new instance of the BinaryAnimationSample class.
Declaration
public BinaryAnimationSample()
Properties
Indices
Gets the animation indices.
Declaration
public BinaryAnimationSample.BinaryAnimationIndicesSample[] Indices { get; }
Property Value
Type | Description |
---|---|
BinaryAnimationIndicesSample[] |
SampleA
Gets sample A.
Declaration
public AnimationSample SampleA { get; }
Property Value
Type | Description |
---|---|
AnimationSample |
SampleB
Gets sample B.
Declaration
public AnimationSample SampleB { get; }
Property Value
Type | Description |
---|---|
AnimationSample |
Methods
Add(AnimationSample, AnimationSample, float)
Adds this pose.
Declaration
public void Add(AnimationSample sampleA, AnimationSample sampleB, float blendFactor)
Parameters
Type | Name | Description |
---|---|---|
AnimationSample | sampleA | Sample A. |
AnimationSample | sampleB | Sample B. |
float | blendFactor | The blend factor. |
InitBlendSample(AnimationSample, AnimationSample)
Initialize blend sample from two normal samples.
Declaration
public void InitBlendSample(AnimationSample sampleA, AnimationSample sampleB)
Parameters
Type | Name | Description |
---|---|---|
AnimationSample | sampleA | Sample A. |
AnimationSample | sampleB | Sample B. |
Lerp(AnimationSample, AnimationSample, float)
Lerps this pose.
Declaration
public void Lerp(AnimationSample sampleA, AnimationSample sampleB, float amount)
Parameters
Type | Name | Description |
---|---|---|
AnimationSample | sampleA | Sample A. |
AnimationSample | sampleB | Sample B. |
float | amount | The lerp amount. |