Class AnimEvent
The animation notification event triggered during animation playback.
Namespace: FlaxEngine
Assembly: FlaxEngine.CSharp.dll
Syntax
[Unmanaged]
public abstract class AnimEvent : SerializableScriptingObject, ISerializable
Constructors
AnimEvent()
Methods
OnEvent(AnimatedModel, Animation, Single, Single)
Animation event notification.
Declaration
[Unmanaged]
public virtual void OnEvent(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). |