Simstim

VEX Dictionary / rayimport

rayimport

Retrieves a named value passed by a shader hit during a gather ray, writing it into the given variable.

group: shadingshading

Available in fog, light, shadow, surface

Usage

int rayimport(string name, <type> &value)
int rayimport(string name, <type>[] &value)

Examples

No worked examples yet.

Signatures (from vcc -X)

Related

Full SideFX documentation ↗