Class BinaryAnimationBlendClip
A transition between two clips.
Inheritance
BinaryAnimationBlendClip
Inherited Members
Namespace: Evergine.Components.Animation
Assembly: Evergine.Framework.dll
Syntax
public abstract class BinaryAnimationBlendClip : AnimationBlendClip
Constructors
BinaryAnimationBlendClip(AnimationBlendClip, AnimationBlendClip)
Initializes a new instance of the BinaryAnimationBlendClip class.
Declaration
public BinaryAnimationBlendClip(AnimationBlendClip clipA, AnimationBlendClip clipB)
Parameters
Type | Name | Description |
---|---|---|
AnimationBlendClip | clipA | The A clip. |
AnimationBlendClip | clipB | The B clip. |
Fields
binarySample
The binary sample instance.
Declaration
protected BinaryAnimationSample binarySample
Field Value
Type | Description |
---|---|
BinaryAnimationSample |
clipA
The first clip.
Declaration
protected AnimationBlendClip clipA
Field Value
Type | Description |
---|---|
AnimationBlendClip |
clipB
The second clip.
Declaration
protected AnimationBlendClip clipB
Field Value
Type | Description |
---|---|
AnimationBlendClip |
sampleA
The sample A.
Declaration
protected AnimationSample sampleA
Field Value
Type | Description |
---|---|
AnimationSample |
sampleB
The sample B.
Declaration
protected AnimationSample sampleB
Field Value
Type | Description |
---|---|
AnimationSample |
Properties
ClipA
Gets the Clip A.
Declaration
public AnimationBlendClip ClipA { get; }
Property Value
Type | Description |
---|---|
AnimationBlendClip |
ClipB
Gets the Clip B.
Declaration
public AnimationBlendClip ClipB { get; }
Property Value
Type | Description |
---|---|
AnimationBlendClip |
ListenAnimationThreshold
Gets or sets a threshold to listen keyframe events.
Declaration
public float ListenAnimationThreshold { get; set; }
Property Value
Type | Description |
---|---|
float |
Remarks
If the animation A or B has a weight greather than this threshold, the events are listened.
Methods
InitializeClip()
Initialize this clip.
Declaration
protected override void InitializeClip()
Overrides
UpdateBinaryClip()
Update the binary clip.
Declaration
protected abstract AnimationBlendClip UpdateBinaryClip()
Returns
Type | Description |
---|---|
AnimationBlendClip | The blend clip. |
UpdateClip()
Gets the animation sample of this clip.
Declaration
public override AnimationBlendClip UpdateClip()
Returns
Type | Description |
---|---|
AnimationBlendClip | The animation sample. |