Class AnimatorBase
public class AnimatorBase : ISkiaAnimator, IDisposable
- Inheritance
-
AnimatorBase
- Implements
- Derived
- Inherited Members
- Extension Methods
Constructors
AnimatorBase(IDrawnBase)
public AnimatorBase(IDrawnBase parent)
Parameters
parentIDrawnBase
Fields
runDelayMs
protected double runDelayMs
Field Value
Properties
IsDeactivated
Can and will be removed
public bool IsDeactivated { get; set; }
Property Value
IsHiddenInViewTree
For internal use by the engine
public bool IsHiddenInViewTree { get; set; }
Property Value
IsPaused
Just should not execute on tick
public bool IsPaused { get; set; }
Property Value
IsPostAnimator
public bool IsPostAnimator { get; set; }
Property Value
IsRunning
public bool IsRunning { get; set; }
Property Value
LastFrameTimeNanos
public long LastFrameTimeNanos { get; set; }
Property Value
OnStart
public Action OnStart { get; set; }
Property Value
OnStop
public Action OnStop { get; set; }
Property Value
Parent
public IDrawnBase Parent { get; protected set; }
Property Value
StartFrameTimeNanos
public long StartFrameTimeNanos { get; set; }
Property Value
Uid
public Guid Uid { get; set; }
Property Value
WasStarted
Main flag to detect if animator stopped after being started (WasStarted) or stop was just called on an already stopped animator.
public bool WasStarted { get; protected set; }
Property Value
Methods
Cancel()
public virtual void Cancel()
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public virtual void Dispose()
OnRunningStateChanged(bool)
protected virtual void OnRunningStateChanged(bool isRunning)
Parameters
isRunningbool
Pause()
Used by ui, please use play stop for manual control
public virtual void Pause()
Radians(double)
public static double Radians(double degrees)
Parameters
degreesdouble
Returns
Register()
protected bool Register()
Returns
Resume()
Used by ui, please use play stop for manual control
public virtual void Resume()
Start(double)
public virtual void Start(double delayMs = 0)
Parameters
delayMsdouble
Stop()
public virtual void Stop()
TickFrame(long)
Time in NANOS
public virtual bool TickFrame(long frameTimeNanos)
Parameters
frameTimeNanoslong
Returns
Unregister()
protected void Unregister()