Lighting

Lighting is crucial for a good visualization of your 3D models. You can create point lights, spot lights, web lights, and distant lights to achieve the desired lighting effect. Point, spot, and web lights can also be targeted, or target-less. Each of these lights behave in different ways and have different properties. The AcDbLight class incorporates all these properties. The lightType() member determines what kind of light an object represents, and which properties are in effect.