getshadowscope VEX function

Exports the shadow scope and categories for a given light.

Contexts: displace, fog, light, shadow, surface

See also: getlights, getphotonlight, intersect_lights

  1. getshadowscope(int lightid, string &scope, string &categories)

lightid

An integer identifying a light. Low-level functions such as getlights, intersect_lights, and getphotonlight.

The function modifies the values of the following arguments:

scope

The shadow scope string on the light.

categories

The shadow categories string on the light.