Tanoda
|
Public Member Functions | |
MaterialSelector | Target (Material material) |
TransformSelector | Target (Transform transform) |
Tween | Value (float a, float b, Action< float > onValue) |
Tween | Value (Vector2 a, Vector2 b, Action< Vector2 > onValue) |
Tween | Value (Vector3 a, Vector3 b, Action< Vector3 > onValue) |
Tween | Value (Quaternion a, Quaternion b, Action< Quaternion > onValue) |
Tween | Value (Color a, Color b, Action< Color > onValue) |
Tween | AddInterpolator (IInterpolator interpolator) |
Adds a new Interpolator to this Tween. This Interpolator will have it's Interpolate method called every step of the Tween with the smoothed progress value. All Interpolators are recycled when the Tween itself is Recycled. More... | |
Tween | OverTime (float seconds) |
Specifies that this Tween should travel from begining to end over a certain number of seconds. More... | |
Tween | AtRate (float unitsPerSecond) |
Specifies that this Tween should travel at the given rate. This rate is measured against the FIRST interpolator added to this Tween, at the moment AtRate is called. More... | |
Tween | Smooth (SmoothType type=SmoothType.Smooth) |
Specifies that this Tween should the given smoothing method. More... | |
Tween | Smooth (AnimationCurve curve) |
Specifies that this Tween should use the given Animation curve for its smoothing. The curve should map from [0-1] to [0-1]. More... | |
Tween | Smooth (Func< float, float > smoothFunction) |
Specifies that this Tween should use the given Function for its smoothing. The function should map from [0-1] to [0-1]. More... | |
Tween | OnProgress (Action< float > action) |
Specifies an action to be called every step of the Tween. This callback happens after: More... | |
Tween | OnLeaveStart (Action action) |
Specifies an action to be called whenever this Tween is Played forward when at the start. More... | |
Tween | OnReachStart (Action action) |
Specifies an action to be called whenever this Tween reaches the start. More... | |
Tween | OnLeaveEnd (Action action) |
Specifies an action to be called whenever this Tween is Played backwards when at the end. More... | |
Tween | OnReachEnd (Action action) |
Specifies an action to be called whenever this Tween reaches the end. More... | |
Tween | Play () |
Starts playing this Tween. It will continue from the same position it left off on, and will continue in the same direction. More... | |
Tween | Play (Direction direction) |
Starts playing this Tween in a specific direction. It will condition from the same position it left off on. The direction will change even if the Tween is already playing. More... | |
Tween | Play (float destinationPercent) |
Starts playing this Tween towards a destination percent. Once it reaches that value, it will stop. If the destination percent is not 0 or 1, it will not trigger OnReachStart or OnReachEnd. More... | |
TweenInstance.TweenYieldInstruction | Yield () |
Returns a custom yield instruction that can be yielded to in order to wait for the completion of this Tween. This will yield correctly even if the Tween is modified as it is playing. More... | |
void | Pause () |
Pauses this Tween. It retains its position and direction. More... | |
void | Stop () |
Stops this Tween. If it is not a persistant Tween, it will be recycled right away. More... | |
void | Release () |
Forces this Tween to be recycled right away. Once this method is called, the Tween will be invalid and unable to be modified. More... | |
Static Public Member Functions | |
static Tween | Single () |
Create a single-use Tween that will auto-release itself as soon as it is finished playing. More... | |
static Tween | Persistent () |
Creates a persistant Tween that will not ever auto-release itself. You must specifically call Release in order for the resources of the tween to be returned to the pool. More... | |
static Tween | AfterDelay (float delay, Action onReachEnd) |
Create a single-use Tween that will fire onReachEnd after the specified delay in seconds. More... | |
Properties | |
bool | isValid [get] |
Returns whether or not this Tween is considered valid. A Tween can become invalid under the following conditions: More... | |
bool | isRunning [get] |
Returns whether or not the Tween is currently running. More... | |
Direction | direction [get, set] |
Gets or sets whether or not this Tween is moving forwards or backwards. More... | |
float | timeLeft [get] |
Gets how much time is left before the Tween stops. More... | |
float | progress [get, set] |
Gets or sets how far along completion this Tween is. This value is a percent that ranges from 0 to 1. More... | |
Definition at line 14 of file MaterialInterpolators.cs.
Tween Leap.Unity.Animation.Tween.AddInterpolator | ( | IInterpolator | interpolator | ) |
|
static |
Tween Leap.Unity.Animation.Tween.AtRate | ( | float | unitsPerSecond | ) |
Tween Leap.Unity.Animation.Tween.OnLeaveEnd | ( | Action | action | ) |
Tween Leap.Unity.Animation.Tween.OnLeaveStart | ( | Action | action | ) |
Tween Leap.Unity.Animation.Tween.OnProgress | ( | Action< float > | action | ) |
Tween Leap.Unity.Animation.Tween.OnReachEnd | ( | Action | action | ) |
Tween Leap.Unity.Animation.Tween.OnReachStart | ( | Action | action | ) |
Tween Leap.Unity.Animation.Tween.OverTime | ( | float | seconds | ) |
void Leap.Unity.Animation.Tween.Pause | ( | ) |
|
static |
Tween Leap.Unity.Animation.Tween.Play | ( | ) |
Tween Leap.Unity.Animation.Tween.Play | ( | float | destinationPercent | ) |
void Leap.Unity.Animation.Tween.Release | ( | ) |
|
static |
Tween Leap.Unity.Animation.Tween.Smooth | ( | AnimationCurve | curve | ) |
Tween Leap.Unity.Animation.Tween.Smooth | ( | Func< float, float > | smoothFunction | ) |
Tween Leap.Unity.Animation.Tween.Smooth | ( | SmoothType | type = SmoothType.Smooth | ) |
void Leap.Unity.Animation.Tween.Stop | ( | ) |
MaterialSelector Leap.Unity.Animation.Tween.Target | ( | Material | material | ) |
Definition at line 15 of file MaterialInterpolators.cs.
TransformSelector Leap.Unity.Animation.Tween.Target | ( | Transform | transform | ) |
Definition at line 16 of file TransformInterpolators.cs.
Definition at line 98 of file ValueInterpolators.cs.
Tween Leap.Unity.Animation.Tween.Value | ( | float | a, |
float | b, | ||
Action< float > | onValue | ||
) |
Definition at line 18 of file ValueInterpolators.cs.
Tween Leap.Unity.Animation.Tween.Value | ( | Quaternion | a, |
Quaternion | b, | ||
Action< Quaternion > | onValue | ||
) |
Definition at line 78 of file ValueInterpolators.cs.
Tween Leap.Unity.Animation.Tween.Value | ( | Vector2 | a, |
Vector2 | b, | ||
Action< Vector2 > | onValue | ||
) |
Definition at line 38 of file ValueInterpolators.cs.
Tween Leap.Unity.Animation.Tween.Value | ( | Vector3 | a, |
Vector3 | b, | ||
Action< Vector3 > | onValue | ||
) |
Definition at line 58 of file ValueInterpolators.cs.
TweenInstance.TweenYieldInstruction Leap.Unity.Animation.Tween.Yield | ( | ) |
|
getset |
|
get |
|
get |
Returns whether or not this Tween is considered valid. A Tween can become invalid under the following conditions:
|
getset |
|
get |