Eased
Observable
Inherits Observable
Observable object which tweens towards another observable's current value every time that value changes.
Useful for tween animations where the input state changes infrequently, such as menu transitions.
Constructor
Dex.Eased
Dex.Eased<T>(
target: Observable<T>
info: TweenInfo
) -> Observable<T>
Creates an Observable that eases in realtime every time the input Observable changes its value, based on the TweenInfo provided.
INFO
Eased must currently be Subscribed or Mounted to exhibit expected behavior. This is a requirement for all realtime-simulated observables, which enables safe garbage collection when writing Dex components.
Functions
CurrentTarget
Eased:
CurrentTarget
(
) →
(
)
Gets the current value of the eased object's target observable.