Simstim

VEX Dictionary / ramp_lookup

ramp_lookup

Evaluates a Houdini ramp, given as an encoded string or basis/key/value arrays, at a given position.

group: utilityramp

Available in every context

Usage

float ramp_lookup(float pos, string ramp)
vector ramp_lookup(float pos, string ramp)
float ramp_lookup(float pos, string basis[], float key[], float val[])
vector ramp_lookup(float pos, string basis[], float key[], vector val[])

Examples

No worked examples yet.

Signatures (from vcc -X)

Related

Full SideFX documentation ↗