Point Lights

Point lights radiate light in all directions. For generic lighting units, the intensity of a point light diminishes over distance, based on its attenuation properties. If attenuation is turned off, the intensity does not diminish.

The following code shows how to setup a simple point light:

// To setup a point light
AcDbLight pointLight;
pointLight.setLightType(AcGiDrawable::kPointLight);
pointLight.setPosition(AcGePoint3d(0,0,5));