Class EcoreAnimator
Definition
- Namespace:
- ElmSharp
- Assembly:
- ElmSharp.dll
EcoreAnimator is a helper class. It provides the functions to manage animations.
[Obsolete("This has been deprecated in API12")]
public static class EcoreAnimator
- Inheritance
-
objectEcoreAnimator
Methods
View SourceAddAnimator(Func<bool>)
Adds an animator to call handler
at every animation tick during the main loop execution.
Declaration
[Obsolete("This has been deprecated in API12")]
public static IntPtr AddAnimator(Func<bool> handler)
Parameters
Type | Name | Description |
---|---|---|
System.Func<TResult><bool> | handler | The function to call when it ticks off. |
Returns
Type | Description |
---|---|
System.IntPtr | A handle to the new animator. |
GetCurrentTime()
Gets the current system time as a floating point value in seconds.
Declaration
[Obsolete("This has been deprecated in API12")]
public static double GetCurrentTime()
Returns
Type | Description |
---|---|
double | Current system time |
RemoveAnimator(IntPtr)
Removes the specified animator from the animator list.
Declaration
[Obsolete("This has been deprecated in API12")]
public static void RemoveAnimator(IntPtr anim)
Parameters
Type | Name | Description |
---|---|---|
System.IntPtr | anim | The specified animator handle. |