formZ SDK | 5.0 API Reference | Project | Modeling | Animation
Description
Maps a time (in seconds) to its closest frame (rounding to nearest). A frame spans a length of time, a time value is an instantaneous point in time.
Plugin Prototype
#define FZ_ANIM_MAP_TIME_2_CLOS_FRAME( time, fps)
Parameters
double time [Input]
time (in seconds).
double fps [Input]
frames per second.
Returns
returns the closest frame of the input time.
Availability
6.1.0.0
Defined in