Simstim

VEX Dictionary / trace

trace

Casts a ray from a point in a direction and retrieves shading information from what it hits.

group: shadingshadingrays

Available in displace, fog, light, shadow, surface

Usage

void trace(vector &cv, vector &of, float &af, vector P, vector D, float shadow_bias, float max_contrib, ...)
int trace(vector pos, vector dir, float time, ...)

Examples

No worked examples yet.

Signatures (from vcc -X)

Related

Full SideFX documentation ↗