Class SynchronizedTransitionClip
A syncrhonized 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 | The A clip. |
AnimationBlendClip | clipB | The B clip. |
bool | loop | The animation is looping. |
float | playbackRate | Playback rate. |
Properties
Duration
Gets the duration.
Declaration
public override float Duration { get; }
Property Value
Type | Description |
---|---|
float |
Overrides
EndAnimationTime
Gets the en 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 lerp.
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 play 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 start frame.
Declaration
public override float StartAnimationTime { get; }
Property Value
Type | Description |
---|---|
float |
Overrides
Methods
UpdateBinaryClip()
Gets the animation sample of this clip.
Declaration
protected override AnimationBlendClip UpdateBinaryClip()
Returns
Type | Description |
---|---|
AnimationBlendClip | The animation sample. |