A class used to reference a box light.
#include <AlBoxLight.h> class AlBoxLight: public AlVolumeLight AlBoxLight(); virtual ~AlBoxLight(); statusCode create(); virtual AlObject* copyWrapper() const; AlObjectType type() const;
A box light is a volume light where light exists within a cube. There are no additional parameters other than those already on the volume light.
A box light could be np-scaled and used to fill a room with light. If it is used as a force field, it could fill the room with turbulence, leaving the air outside the room still.
Constructs an AlBoxLight wrapper object.
Deletes an AlBoxLight wrapper object.
Creates all the DAG nodes for this light and adds them to the universe. The DAG nodes are for ’position’, ’look at’ and ’up’, and another DAG node that groups these three together.
sSuccess - everything was successful
sInsufficientMemory - not enough memory available
sAlreadyCreated - light is already created
Returns the class identifier kBoxLightType.