formZ SDK | 5.0 API Reference | Project | Modeling | Animation

FZ_ANIM_MAP_TIME_2_CONT_FRAME

Description

Maps a time (in seconds) to its containing frame. A frame spans a length of time, a time value is an instantaneous point in time. This does not round a time to the closest frame, but rather to the frame that contains this point in time.

Plugin Prototype

#define FZ_ANIM_MAP_TIME_2_CONT_FRAME( time, fps)

Parameters

double time [Input]

time (in seconds).

double fps [Input]

frames per second.

Returns

returns the containing frame of the input time.

Availability

6.1.0.0

Example Files

util_anim_eval_value.fsl

Defined in

fz_anim_api.h