Class AnimContinuousEvent
The animation notification event (with duration) triggered during animation playback that contains begin and end (event notification is received as a tick).
Namespace: FlaxEngine
Assembly: FlaxEngine.CSharp.dll
Syntax
[Unmanaged]
public abstract class AnimContinuousEvent : AnimEvent, ISerializable
Constructors
AnimContinuousEvent()
Methods
OnBegin(AnimatedModel, Animation, Single, Single)
Animation notification called before the first event.
Declaration
[Unmanaged]
public virtual void OnBegin(AnimatedModel actor, Animation anim, float time, float deltaTime)
Parameters
AnimatedModel
actor
The animated model actor instance. |
Animation
anim
The source animation. |
System.Single
time
The current animation time (in seconds). |
System.Single
deltaTime
The current animation tick delta time (in seconds). |
OnEnd(AnimatedModel, Animation, Single, Single)
Animation notification called after the last event (guaranteed to be always called).
Declaration
[Unmanaged]
public virtual void OnEnd(AnimatedModel actor, Animation anim, float time, float deltaTime)
Parameters
AnimatedModel
actor
The animated model actor instance. |
Animation
anim
The source animation. |
System.Single
time
The current animation time (in seconds). |
System.Single
deltaTime
The current animation tick delta time (in seconds). |