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)
int trace(vector, vector, float, ...)displace, fog, light, shadow, surfacevoid trace(vector &, vector &, float &, vector, vector, float, float, ...)displace, fog, light, shadow, surface