AnimationContextLeave
interludesoftware.tick¶
Interlude.Tick¶
AnimationContextLeave Class¶
Inheritance System.Object → AnimationContextEventBase → AnimationContextLeave
Constructors¶
AnimationContextLeave(AnimationContext) Constructor¶
Initializes a new instance of AnimationContextLeave with the specified parent context and active state.
Parameters¶
context AnimationContext
The parent AnimationContext.
Methods¶
AnimationContextLeave.GetTimeSince(InteractivityState) Method¶
Seconds elapsed in scaled time since the hover leave was recorded. Returns System.Single.MaxValue when the leave has not yet occurred so leave animations are not shown before any interaction.
Parameters¶
state Interlude.Tick.InteractivityState
Returns¶
AnimationContextLeave.GetUnscaledTimeSince(InteractivityState) Method¶
Seconds elapsed in unscaled time since the hover leave was recorded. Returns System.Single.MaxValue when the leave has not yet occurred so leave animations are not shown before any interaction.
Parameters¶
state Interlude.Tick.InteractivityState