Targeted Point Lights

A targeted point light is a targeted version of point light. It is identical to point light except that you have to provide a target point.

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

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