hou.timeToFrame function

Convert from a given time value to a frame value, rounding the result to a integer if it is close to an integer.

All Usage Replaces

See also: hou.fps, hou.frame, hou.time

Usage

timeToFrame(time) → float

Calling this function is the same as evaluating time * hou.fps() + 1.0, with rounding performed if the result is nearly an integer.

Replaces

fps command