cycle(start_frame, end_frame)
→ float
The values within the range are repeated exactly. If you want to line up the values with the value of the previous keyframe, use hou.cycleoffset() instead.
This function is the same as hou.cyclet() except hou.cyclet() accepts times instead of frames.
This function is one of the special animation functions that use the current playbar time and information in the parameter’s keyframes, such as in and out values, tangents, acceleration, etc., to evaluate themselves. Because the information needed to evaluate these functions comes from the keyframes, these functions take few or no parameters.
Calling this function from outside a parameter’s expression will raise a hou.NotAvailable exception.
See also |