Class AnimationUtils
- Namespace
- Lime
- Assembly
- Lime.dll
public static class AnimationUtils
- Inheritance
-
AnimationUtils
- Inherited Members
-
Fields
FramesPerSecond
public const double FramesPerSecond = 30
Field Value
- double
SecondsPerFrame
public const double SecondsPerFrame = 0.03333333333333333
Field Value
- double
Threshold
public const double Threshold = 1E-06
Field Value
- double
Methods
FramesToSeconds(double)
public static double FramesToSeconds(double frame)
Parameters
frame
double
Returns
- double
FramesToSeconds(int)
public static double FramesToSeconds(int frame)
Parameters
frame
int
Returns
- double
GetPropertyByPath(IAnimatorHost, string)
public static (AnimationUtils.PropertyData PropertyData, IAnimable Animable, int Index) GetPropertyByPath(IAnimatorHost host, string propertyPath)
Parameters
host
IAnimatorHost
propertyPath
string
Returns
- (AnimationUtils.PropertyData PropertyData, IAnimable Animable, int Index)
GetPropertyHost(IAnimatorHost, string)
public static (IAnimatorHost, int) GetPropertyHost(IAnimatorHost host, string propertyPath)
Parameters
host
IAnimatorHost
propertyPath
string
Returns
- (IAnimatorHost, int)
SecondsToFrames(double)
public static int SecondsToFrames(double seconds)
Parameters
seconds
double
Returns
- int
SecondsToFramesCeiling(double)
public static int SecondsToFramesCeiling(double seconds)
Parameters
seconds
double
Returns
- int