hou.rampBasis module

Enumeration of ramp interpolation types.

These interpolation types specify how Houdini interpolates between keyframed values in a hou.Ramp. See hou.Ramp.basis and hou.Ramp.__init__ for more information about how to get and set ramp interpolation types.

hou.rampBasis.Linear

Does a linear (straight line) interpolation between keys.

hou.rampBasis.Constant

Holds the value constant until the next key.

hou.rampBasis.CatmullRom

Interpolates smoothly between the keys. See Wikipedia’s Catmull-Rom_spline page.

hou.rampBasis.MonotonicCubic

Another smooth interpolation that ensures that there is no overshoot. For example, if a key’s value is smaller than the values in the adjacent keys, this type ensures that the interpolated value is never less than the key’s value.