Class AnimationChannel
Define the animation sequence for the animation2d system.
Inherited Members
Namespace: Evergine.Framework.Animation
Assembly: Evergine.Framework.dll
Syntax
public class AnimationChannel
Fields
ComponentType
The component.
Declaration
public Type ComponentType
Field Value
Type | Description |
---|---|
Type |
Curve
The animation channels.
Declaration
public AnimationCurve Curve
Field Value
Type | Description |
---|---|
AnimationCurve |
Duration
The duration.
Declaration
public float Duration
Field Value
Type | Description |
---|---|
float |
NodeIndex
The bone index.
Declaration
public int NodeIndex
Field Value
Type | Description |
---|---|
int |
PropertyName
The component that this curve is animating.
Declaration
public string PropertyName
Field Value
Type | Description |
---|---|
string |
Track
The animation track.
Declaration
public AnimationClip Track
Field Value
Type | Description |
---|---|
AnimationClip |
Properties
ChannelKey
Gets the channel key.
Declaration
public string ChannelKey { get; }
Property Value
Type | Description |
---|---|
string |
IsInitialized
Gets a value indicating whether this curve is initialized.
Declaration
public bool IsInitialized { get; }
Property Value
Type | Description |
---|---|
bool |
PropertyUpdater
Gets or sets the property updater.
Declaration
public PropertyUpdater PropertyUpdater { get; protected set; }
Property Value
Type | Description |
---|---|
PropertyUpdater |
Methods
Clone()
Clone the animation channel.
Declaration
public AnimationChannel Clone()
Returns
Type | Description |
---|---|
AnimationChannel | The cloned channel. |
Initialize()
Init channel.
Declaration
public void Initialize()
SubChannel(float, float)
Return channel fragment.
Declaration
public AnimationChannel SubChannel(float startTime, float endTime)
Parameters
Type | Name | Description |
---|---|---|
float | startTime | The start time. |
float | endTime | The end time. |
Returns
Type | Description |
---|---|
AnimationChannel | The sub channel. |