Class AdditiveBlendingClip
Blend joints between two clips using a mask.
Inherited Members
Namespace: Evergine.Components.Animation
Assembly: Evergine.Framework.dll
Syntax
public class AdditiveBlendingClip : BinaryAnimationBlendClip
Constructors
AdditiveBlendingClip(AnimationBlendClip, AnimationBlendClip, bool, float)
Initializes a new instance of the AdditiveBlendingClip class.
Declaration
public AdditiveBlendingClip(AnimationBlendClip clipA, AnimationBlendClip clipB, bool loop = true, float blendFactor = 1)
Parameters
Type | Name | Description |
---|---|---|
AnimationBlendClip | clipA | The A clip. |
AnimationBlendClip | clipB | The B clip. |
bool | loop | The animation is looping. |
float | blendFactor | The blend factor. |
Properties
BlendFactor
Gets or sets the blend factor.
Declaration
public float BlendFactor { get; set; }
Property Value
Type | Description |
---|---|
float |
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
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 duration.
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. |