Skip to content

ramp_pack

Since19.0

string  ramp_pack(string basis[], float pos[], float value[])

string  ramp_pack(string basis[], float pos[], vector value[])

string  ramp_pack(string basis[], float pos[], vector4 value[])

Ramps are commonly packed as JSON formatted strings by Houdini operations. This will pack them three arrays of basis, position, and value into the corresponding string.