Houdini 12 VEX VEX functions

Imports a variable from the light shader for the surface.

  1. int limport(string , int &)

  2. int limport(string , float &)

  3. int limport(string , vector &)

  4. int limport(string , vector4 &)

  5. int limport(string , matrix &)

  6. int limport(string , matrix3 &)

  7. int limport(string , string &)

Imports a variable from the light shader for the surface.

If the shader variable named by the first argument is defined and exported, the function returns 1 and puts the value in the second argument. Otherwise, it returns 0.

This function is only valid inside an illuminance loop.

Contexts: displace, fog, shadow, surface