-
Notifications
You must be signed in to change notification settings - Fork 0
PropertyTweener
Home | API by Category | Complete API Index | API Compatibility
| Field | Value |
|---|---|
| Full name | Electron2D.PropertyTweener |
| Namespace | Electron2D |
| Kind | class |
| Category | Animation and Tweening |
Tweens a public property or field on an object.
public sealed class Electron2D.PropertyTweener : Electron2D.TweenerProfile: Electron2D 0.1.0 2D
Status: Partial / Not verified
Out of profile: yes
Godot reference: PropertyTweener
Tween step that captures a public property or field value and writes eased values until completion.
A property tweener captures the initial value when it first starts, computes a supported value delta and writes eased values until its duration completes.
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.TweenProperty(Electron2D.Object,Electron2D.NodePath,Electron2D.Variant,System.Double)
| Member | Kind | Summary |
|---|---|---|
SetDelay(System.Double) |
Method | Sets a delay before this property tweener starts. |
SetEase(Electron2D.Tween.EaseType) |
Method | Sets the ease mode for this property tweener. |
SetTrans(Electron2D.Tween.TransitionType) |
Method | Sets the transition curve for this property tweener. |
Kind: Method
public Electron2D.PropertyTweener SetDelay(System.Double)(System.Double delay)Sets a delay before this property tweener starts.
Delay time is consumed before the initial property value is captured.
-
delay: The finite non-negative delay in seconds.
This property 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.PropertyTweener
Kind: Method
public Electron2D.PropertyTweener SetEase(Electron2D.Tween.EaseType)(Electron2D.Tween.EaseType ease)Sets the ease mode for this property tweener.
This setting overrides the default ease mode copied from the owner tween when the property tweener was created.
-
ease: The ease mode to use.
This property tweener.
-
System.ArgumentOutOfRangeException: Thrown wheneaseis outside the supported enum range.
This method is not synchronized. Call it on the main scene thread.
This method is available since Electron2D 0.1.0 Preview.
Electron2D.PropertyTweener.SetTrans(Electron2D.Tween.TransitionType)
Kind: Method
public Electron2D.PropertyTweener SetTrans(Electron2D.Tween.TransitionType)(Electron2D.Tween.TransitionType trans)Sets the transition curve for this property tweener.
This setting overrides the default transition copied from the owner tween when the property tweener was created.
-
trans: The transition curve to use.
This property tweener.
-
System.ArgumentOutOfRangeException: Thrown whentransis outside the supported enum range.
This method is not synchronized. Call it on the main scene thread.
This method is available since Electron2D 0.1.0 Preview.
Electron2D.PropertyTweener.SetEase(Electron2D.Tween.EaseType)
Electron2D 0.1.0 Preview API reference. Generated from 175 public runtime types.