TweenNode

class TweenNode(val vs: V2<*>, val lazyVs: Array<out () -> V2<*>>? = null, val time: TimeSpan = 1000.milliseconds, val lazyTime: () -> TimeSpan? = null, val easing: Easing, val name: String? = null) : NewAnimatorNode

Constructors

Link copied to clipboard
constructor(vararg vs: V2<*>, lazyVs: Array<out () -> V2<*>>? = null, time: TimeSpan = 1000.milliseconds, lazyTime: () -> TimeSpan? = null, easing: Easing, name: String? = null)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val lazyTime: () -> TimeSpan? = null
Link copied to clipboard
val lazyVs: Array<out () -> V2<*>>? = null
Link copied to clipboard
val name: String? = null
Link copied to clipboard
Link copied to clipboard
val vs: Array<out V2<*>>

Functions

Link copied to clipboard
open override fun complete()
Link copied to clipboard
open override fun reset()
Link copied to clipboard
open override fun toString(): String
Link copied to clipboard
open override fun update(dt: TimeSpan): TimeSpan

Sets this node to the specified dt (Delta Time), returns the exceeded time of completion, 0 if completed, less than zero if not completed.