AnimationContextEvent
interludesoftware.tick¶
Interlude.Tick¶
AnimationContextEvent Class¶
Inheritance System.Object → AnimationContextEventBase → AnimationContextEvent
Constructors¶
AnimationContextEvent(AnimationContext, EventMode) Constructor¶
Initializes the event with the specified parent context and trigger mode.
public AnimationContextEvent(Interlude.Tick.AnimationContext context, Interlude.Tick.AnimationContextEvent.EventMode mode);
Parameters¶
context AnimationContext
mode Interlude.Tick.AnimationContextEvent.EventMode
Fields¶
AnimationContextEvent.LastUsedFrame Field¶
Frame index on which this event was last accessed via a Bool* method.
Field Value¶
Methods¶
AnimationContextEvent.GetTimeSince(InteractivityState) Method¶
Seconds elapsed in scaled time since this event was last triggered, or 0 if it has never fired.
Parameters¶
state Interlude.Tick.InteractivityState
Returns¶
AnimationContextEvent.GetUnscaledTimeSince(InteractivityState) Method¶
Seconds elapsed in unscaled time since this event was last triggered, or 0 if it has never fired.
Parameters¶
state Interlude.Tick.InteractivityState
Returns¶
AnimationContextEvent.UpdateInteractivityState(InteractivityState) Method¶
Stamps event timing fields in state based on the active/inactive transition for this mode.