Since | 18.5 |
void ramp_unpack(string ramp, string &basis[], float &pos[], float &value[])
void ramp_unpack(string ramp, string &basis[], float &pos[], vector &value[])
void ramp_unpack(string ramp, string &basis[], float &pos[], vector4 &value[])
Ramps are commonly packed as JSON formatted strings by Houdini operations. This will unpack them into three arrays of basis, position, and value, which can then be used by the spline or ramp_lookup functions.
See also | |
ramp |