hou.spline function

Fits a spline through consecutive keyframe values.

All Usage Replaces

See also: hou.bezier, hou.constant, hou.cubic, hou.cycle 18 more , hou.cyclet, hou.ease, hou.easein, hou.easeinp, hou.easeout, hou.easeoutp, hou.easep, hou.linear, hou.match, hou.matchin, hou.matchout, hou.qlinear, hou.quintic, hou.repeat, hou.repeatt, hou.vmatch, hou.vmatchin, hou.vmatchout

Usage

spline() → float

The resulting spline interpolates the channel values at the keyframes, and slope values are not used.

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.

Replaces

spline expression function