Class SynchronizedTransitionClip
A synchronized transition between two clips.
Inherited Members
Namespace: Evergine.Components.Animation
Assembly: Evergine.Framework.dll
Syntax
public class SynchronizedTransitionClip : BinaryAnimationBlendClip
Constructors
SynchronizedTransitionClip(AnimationBlendClip, AnimationBlendClip, bool, float)
Initializes a new instance of the SynchronizedTransitionClip class.
Declaration
public SynchronizedTransitionClip(AnimationBlendClip clipA, AnimationBlendClip clipB, bool loop = true, float playbackRate = 1)
Parameters
Type | Name | Description |
---|---|---|
AnimationBlendClip | clipA | Clip A. |
AnimationBlendClip | clipB | Clip B. |
bool | loop | Indicates whether the animation is looping. |
float | playbackRate | The playback rate. |
Properties
Duration
Gets the duration of the clip.
Declaration
public override float Duration { get; }
Property Value
Type | Description |
---|---|
float |
Overrides
EndAnimationTime
Gets the ending frame.
Declaration
public override float EndAnimationTime { get; }
Property Value
Type | Description |
---|---|
float |
Overrides
Framerate
Gets the frames per second of the clip.
Declaration
public override float Framerate { get; }
Property Value
Type | Description |
---|---|
float |
Overrides
Lerp
Gets or sets the interpolation value.
Declaration
public float Lerp { get; set; }
Property Value
Type | Description |
---|---|
float |
Loop
Gets or sets a value indicating whether the animation is looping.
Declaration
public override bool Loop { get; set; }
Property Value
Type | Description |
---|---|
bool |
Overrides
PlayTime
Gets or sets the current time.
Declaration
public override float PlayTime { get; set; }
Property Value
Type | Description |
---|---|
float |
Overrides
PlaybackRate
Gets or sets the playback rate.
Declaration
public override float PlaybackRate { get; set; }
Property Value
Type | Description |
---|---|
float |
Overrides
StartAnimationTime
Gets the starting frame.
Declaration
public override float StartAnimationTime { get; }
Property Value
Type | Description |
---|---|
float |
Overrides
Methods
UpdateBinaryClip()
Updates the binary clip.
Declaration
protected override AnimationBlendClip UpdateBinaryClip()
Returns
Type | Description |
---|---|
AnimationBlendClip | The blend clip. |