Class BinaryAnimationSample
An animation sample.
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 the sample A.
Declaration
public AnimationSample SampleA { get; }
Property Value
Type | Description |
---|---|
AnimationSample |
SampleB
Gets the sample B.
Declaration
public AnimationSample SampleB { get; }
Property Value
Type | Description |
---|---|
AnimationSample |
Methods
Add(AnimationSample, AnimationSample, float)
Add 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)
Init 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)
Lerp 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. |