vpGetLight(3) | Library Functions Manual | vpGetLight(3) |
vpGetLight - get lighting properties
#include <volpack.h>
vpResult
vpGetLight(vpc, light_num, property, n0_ptr, n1_ptr, n2_ptr)
vpGetLight is used to get the properties of a light source. The arguments are exactly analogous to vpSetLight except that the final three arguments are pointers to locations for storing the lighting properties.
The normal return value is VP_OK. The following error return values are possible:
VolPack(3), vpCreateContext(3), vpSetLight(3)
VolPack |