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 | Clip A. |
AnimationBlendClip | clipB | Clip B. |
Fields
binarySample
A binary sample instance.
Declaration
protected BinaryAnimationSample binarySample
Field Value
Type | Description |
---|---|
BinaryAnimationSample |
clipA
The first video 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 example 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 for keyframe events.
Declaration
public float ListenAnimationThreshold { get; set; }
Property Value
Type | Description |
---|---|
float |
Remarks
If the animation A or B has a weight greater than this threshold, the events are listened to.
Methods
InitializeClip()
Initializes this clip.
Declaration
protected override void InitializeClip()
Overrides
UpdateBinaryClip()
Updates the binary clip.
Declaration
protected abstract AnimationBlendClip UpdateBinaryClip()
Returns
Type | Description |
---|---|
AnimationBlendClip | The blend clip. |
UpdateClip()
Gets the animation sample from this clip.
Declaration
public override AnimationBlendClip UpdateClip()
Returns
Type | Description |
---|---|
AnimationBlendClip | The animation sample. |