Class AnimationTrackContext
Define the animation sequence for the animation2d system.
Inherited Members
Namespace: Evergine.Framework.Animation
Assembly: Evergine.Framework.dll
Syntax
public class AnimationTrackContext
Fields
ChannelsContext
The channel context.
Declaration
public AnimationChannelContext[] ChannelsContext
Field Value
Type | Description |
---|---|
AnimationChannelContext[] |
ListenKeyframeEvents
Listen keyframe events.
Declaration
public bool ListenKeyframeEvents
Field Value
Type | Description |
---|---|
bool |
LoopCount
The loop count.
Declaration
public int LoopCount
Field Value
Type | Description |
---|---|
int |
Nodes
The hierarchy mapping.
Declaration
public Entity[] Nodes
Field Value
Type | Description |
---|---|
Entity[] |
PositionOffset
Last motion position.
Declaration
public Vector3 PositionOffset
Field Value
Type | Description |
---|---|
Vector3 |
RootChannelPositionContext
The root channel context.
Declaration
public AnimationChannelContext RootChannelPositionContext
Field Value
Type | Description |
---|---|
AnimationChannelContext |
RootChannelRotationContext
The root channel context.
Declaration
public AnimationChannelContext RootChannelRotationContext
Field Value
Type | Description |
---|---|
AnimationChannelContext |
RotationOffset
Last motion rotation.
Declaration
public Quaternion RotationOffset
Field Value
Type | Description |
---|---|
Quaternion |
Time
The current context time.
Declaration
public float? Time
Field Value
Type | Description |
---|---|
float? |
Methods
Initialize(AnimationClip)
Initialize this context.
Declaration
public void Initialize(AnimationClip track)
Parameters
Type | Name | Description |
---|---|---|
AnimationClip | track | The track. |
Reset()
Reset the context.
Declaration
public void Reset()