-
Notifications
You must be signed in to change notification settings - Fork 0
CallbackTweener
Home | API by Category | Complete API Index | API Compatibility
| Field | Value |
|---|---|
| Full name | Electron2D.CallbackTweener |
| Namespace | Electron2D |
| Kind | class |
| Category | Animation and Tweening |
Calls a Electron2D.Callable when a tween sequence reaches this step.
public sealed class Electron2D.CallbackTweener : Electron2D.TweenerProfile: Electron2D 0.1.0 2D
Status: Partial / Not verified
Out of profile: yes
Godot reference: CallbackTweener
Tween step that invokes a Callable once when the sequence reaches it.
The callback is invoked once per tween run. Calling Electron2D.Tween.Stop
rewinds callback tweeners so they can be invoked again after
Electron2D.Tween.Play.
This type is not synchronized. Configure and process it on the main scene thread.
This type is available since Electron2D 0.1.0 Preview.
Electron2D.Tween.TweenCallback(Electron2D.Callable)
| Member | Kind | Summary |
|---|---|---|
SetDelay(System.Double) |
Method | Sets a delay before this callback tweener runs. |
Kind: Method
public Electron2D.CallbackTweener SetDelay(System.Double)(System.Double delay)Sets a delay before this callback tweener runs.
The callback is invoked after the delay has elapsed and the sequence reaches this step.
-
delay: The finite non-negative delay in seconds.
This callback tweener.
-
System.ArgumentOutOfRangeException: Thrown whendelayis negative or not finite.
This method is not synchronized. Call it on the main scene thread.
This method is available since Electron2D 0.1.0 Preview.
Electron2D.CallbackTweener
Electron2D 0.1.0 Preview API reference. Generated from 175 public runtime types.