Simstim

VEX Dictionary / getlights

getlights

Collects the ids of lights that illuminate the current material or point, filterable by label or contribution type.

group: shadinglightpbr

Available in displace, fog, light, shadow, surface

Usage

int[] getlights(...)
int[] getlights(vector P, ...)
int[] getlights(material mat; vector P; ...)

Examples

No worked examples yet.

Signatures (from vcc -X)

Related

Full SideFX documentation ↗