Inheritance
System.Object
AnimationController
public class AnimationController : AnimationLocalStatusListenersMixinAnimationLocalListenersMixinAnimationEagerListenerMixinAnimation<float>, ValueListenable<float>, Listenable
Constructors
Declaration
public AnimationController(float? value = default(float? ), TimeSpan? duration = default(TimeSpan? ), string debugLabel = null, float lowerBound = 0F, float upperBound = 1F, TickerProvider vsync = null)
Parameters
Type |
Name |
Description |
System.Nullable<System.Single> |
value |
|
System.Nullable<System.TimeSpan> |
duration |
|
System.String |
debugLabel |
|
System.Single |
lowerBound |
|
System.Single |
upperBound |
|
TickerProvider |
vsync |
|
Fields
Declaration
public readonly string debugLabel
Field Value
Type |
Description |
System.String |
|
Declaration
public TimeSpan? duration
Field Value
Type |
Description |
System.Nullable<System.TimeSpan> |
|
Declaration
public readonly float lowerBound
Field Value
Type |
Description |
System.Single |
|
Declaration
public readonly float upperBound
Field Value
Type |
Description |
System.Single |
|
Properties
Declaration
public bool isAnimating { get; }
Property Value
Type |
Description |
System.Boolean |
|
Declaration
public override AnimationStatus status { get; }
Property Value
Overrides
Unity.UIWidgets.animation.Animation<System.Single>.status
Declaration
public override float value { get; }
Property Value
Type |
Description |
System.Single |
|
Overrides
Unity.UIWidgets.animation.Animation<System.Single>.value
Declaration
public float velocity { get; }
Property Value
Type |
Description |
System.Single |
|
Declaration
public Animation<float> view { get; }
Property Value
Methods
Declaration
public TickerFuture animateBack(float target, TimeSpan? duration, Curve curve = null)
Parameters
Type |
Name |
Description |
System.Single |
target |
|
System.Nullable<System.TimeSpan> |
duration |
|
Curve |
curve |
|
Returns
Declaration
public TickerFuture animateTo(float target, TimeSpan? duration = default(TimeSpan? ), Curve curve = null)
Parameters
Type |
Name |
Description |
System.Single |
target |
|
System.Nullable<System.TimeSpan> |
duration |
|
Curve |
curve |
|
Returns
Declaration
public TickerFuture animateWith(Simulation simulation)
Parameters
Returns
Declaration
public override void dispose()
Overrides
Unity.UIWidgets.animation.AnimationEagerListenerMixinAnimation<System.Single>.dispose()
Declaration
public TickerFuture fling(float velocity = 1F)
Parameters
Type |
Name |
Description |
System.Single |
velocity |
|
Returns
Declaration
public TickerFuture forward(float? from = default(float? ))
Parameters
Type |
Name |
Description |
System.Nullable<System.Single> |
from |
|
Returns
Declaration
public TickerFuture repeat(float? min = default(float? ), float? max = default(float? ), bool reverse = false, TimeSpan? period = default(TimeSpan? ))
Parameters
Type |
Name |
Description |
System.Nullable<System.Single> |
min |
|
System.Nullable<System.Single> |
max |
|
System.Boolean |
reverse |
|
System.Nullable<System.TimeSpan> |
period |
|
Returns
Declaration
Declaration
public void resync(TickerProvider vsync)
Parameters
Declaration
public TickerFuture reverse(float? from = default(float? ))
Parameters
Type |
Name |
Description |
System.Nullable<System.Single> |
from |
|
Returns
Declaration
public void setValue(float newValue)
Parameters
Type |
Name |
Description |
System.Single |
newValue |
|
Declaration
public void stop(bool canceled = true)
Parameters
Type |
Name |
Description |
System.Boolean |
canceled |
|
Declaration
public override string toStringDetails()
Returns
Type |
Description |
System.String |
|
Overrides
Unity.UIWidgets.animation.Animation<System.Single>.toStringDetails()
Declaration
public static AnimationController unbounded(float value = 0F, TimeSpan? duration = default(TimeSpan? ), string debugLabel = null, TickerProvider vsync = null)
Parameters
Type |
Name |
Description |
System.Single |
value |
|
System.Nullable<System.TimeSpan> |
duration |
|
System.String |
debugLabel |
|
TickerProvider |
vsync |
|
Returns