Open Class Propertymigueldeicaza.swiftgodot 0.45.0SwiftGodot
godotClassName
PropertyTweener.swift:15override class var godotClassName: StringName { get }
Overrides
Other members in extension
Instance members
func asRelative(
) -> PropertyTweener? When called, the final value will be used as a relative value instead.
func from(value: Variant
) -> PropertyTweener? Sets a custom initial value to the
PropertyTweener
.func fromCurrent(
) -> PropertyTweener? Makes the
PropertyTweener
use the current property value (i.e. at the time of creating thisPropertyTweener
) as a starting point. This is equivalent of usingfrom(value:)
with the current value. These two calls will do the same:func setDelay(Double
) -> PropertyTweener? Sets the time in seconds after which the
PropertyTweener
will start interpolating. By default there’s no delay.func setEase(Tween.EaseType
) -> PropertyTweener? Sets the type of used easing from
Tween.EaseType
. If not set, the default easing is used from theTween
that contains this Tweener.func setTrans(Tween.TransitionType
) -> PropertyTweener? Sets the type of used transition from
Tween.TransitionType
. If not set, the default transition is used from theTween
that contains this Tweener.