Static methods
Constructor
Variables
Methods
getFrameIndexByTime(time:Float, closestFrame:Bool = false, ceil:Bool = false):Int
Parameters:
closestFrame | The index will be rounded towards the closest value (i.e: 0.55 between 0 and 1, the closest is 1) if false: it will return the index of the current frame |
|---|---|
ceil | The index of the next frame will always be returned |
getFrameByTime(time:Float, closestFrame:Bool = false, nextFrame:Bool = false):FoxKeyframe<T>
Parameters:
closestFrame | The index will be rounded towards the closest value (i.e: 0.55 between 0 and 1, the closest is 1) if false: it will return the current frame |
|---|---|
nextFrame | The next frame will always be returned |