Interface IAnimationEvent ​
Namespace: ValveResourceFormat.ResourceTypes.ModelAnimation
Assembly: ValveResourceFormat.dll
An event on an animation timeline, sampled by the player as it advances a clip. Implemented by AnimationEvent for sequences and by Event for animation graph clips, which author their event times in different units but both carry a cycle.
public interface IAnimationEventProperties ​
Duration ​
Gets the duration in seconds of the event window. Zero for events that fire at a single point in time.
float Duration { get; }Property Value ​
float
StartCycle ​
Gets the position of the event as a fraction of the animation, zero being its start and one its end. This is what playback is sampled against, so the two formats compare in the same space.
float StartCycle { get; }Property Value ​
float
StartTime ​
Gets the time in seconds from the start of the animation at which the event fires. Zero for events that are not authored in seconds, see the implementation.
float StartTime { get; }Property Value ​
float

