Class Tween
Simple Tween caclulation over time.
An Tween is defined by its duration and Tween function.
Inheritance
System.Object
Tween
Assembly: AxEngine.dll
Syntax
public abstract class Tween : IUpdateFrame
Constructors
|
Improve this Doc
View Source
Tween()
Declaration
Fields
|
Improve this Doc
View Source
Duration
Declaration
Field Value
Type |
Description |
System.TimeSpan |
|
|
Improve this Doc
View Source
Name
Declaration
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
OnStart
Declaration
Field Value
Type |
Description |
System.Action |
|
|
Improve this Doc
View Source
Repeat
Declaration
Field Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
ScaleFunc
Declaration
public ScaleFunc ScaleFunc
Field Value
|
Improve this Doc
View Source
StartTime
Declaration
protected DateTime StartTime
Field Value
Type |
Description |
System.DateTime |
|
|
Improve this Doc
View Source
State
Declaration
Field Value
|
Improve this Doc
View Source
StopBehavior
Declaration
public TweenStopBehavior StopBehavior
Field Value
|
Improve this Doc
View Source
Tick
Declaration
Field Value
Type |
Description |
System.Action |
|
|
Improve this Doc
View Source
TweenComplete
Declaration
public TweenFinishedDelegate TweenComplete
Field Value
Properties
|
Improve this Doc
View Source
Enabled
Declaration
public bool Enabled { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Position
Declaration
public float Position { get; }
Property Value
Type |
Description |
System.Single |
|
Methods
|
Improve this Doc
View Source
DefaultScaleFunc(Single)
Declaration
public float DefaultScaleFunc(float position)
Parameters
Type |
Name |
Description |
System.Single |
position |
|
Returns
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
End()
Declaration
|
Improve this Doc
View Source
For(SceneComponent)
Declaration
public static TweenBuilder<SceneComponent> For(SceneComponent component)
Parameters
Returns
|
Improve this Doc
View Source
OnUpdateFrame()
Declaration
public virtual void OnUpdateFrame()
|
Improve this Doc
View Source
Pause()
Declaration
|
Improve this Doc
View Source
Resume()
Declaration
|
Improve this Doc
View Source
Start()
Declaration
|
Improve this Doc
View Source
Stop()
Declaration
|
Improve this Doc
View Source
Stop(TweenStopBehavior)
Declaration
public void Stop(TweenStopBehavior stopBehavior)
Parameters
|
Improve this Doc
View Source
Stop(TweenStopBehavior, Boolean)
Declaration
public void Stop(TweenStopBehavior stopBehavior, bool fireEvents)
Parameters
Implements