chrampt
expression function
Returns the value of a ramp parameter at a specific position and time.
Usage
chrampf(ramp_path, position, component_index, time)
position must be a value from 0 to 1.
component_index is the component of the evaluated value to return. For color ramps, it must be either 0, 1, or 2. For single-valued ramps, component_index must be 0.
Examples
chrampf("/obj/geo1/popnet1/color1/rampcolor", 0.33, 1, 12)
Returns second component of the evaluated ramp value at a position of 0.33 at 12 seconds into the scene (or equivalently, frame 289 in a 24 FPS scene).