TickTime
Since: 25.6
Properties
Static Methods
createWithFrameAndFrameRate
Constructs a TickTime object with a frame and a frame rate.
Since: 25.6
Returns: TickTime
Parameters
createWithSeconds
Constructs a TickTime object with seconds.
Since: 25.6
Returns: TickTime
Parameters
createWithTicks
Constructs a TickTime object with ticks as a string.
Since: 25.6
Returns: TickTime
Parameters
Instance Methods
add
Add another TickTime to this one and return it. This TickTime is not modified.
Since: 25.6
Returns: TickTime
Parameters
alignToFrame
alignToFrame will return a TickTime that is aligned to the nearest frame boundary less than the given time, for a given frame rate by rounding any fractional portion.
Since: 25.6
Returns: TickTime
Parameters
alignToNearestFrame
AlignToNearestFrame will return a TickTime that is aligned to the nearest frame boundary greater than or less than the given time, for a given frame rate by rounding any fractional portion.
Since: 25.6
Returns: TickTime
Parameters
divide
Divide this TickTime by a divisor and return it. In case of a division by zero, TIME_INVALID is returned. This TickTime is not modified.
Since: 25.6
Returns: TickTime
Parameters
equals
Returns true if the given TickTime is equal to the TickTime object
Since: 25.6
Returns: boolean
Parameters
multiply
Multiply this TickTime with a factor and return it. This TickTime is not modified.
Since: 25.6
Returns: TickTime
Parameters
subtract
Subtract another TickTime from this one and return it. This TickTime is not modified.
Since: 25.6
Returns: TickTime