Encapsulates the creation, deletion and manipulation of a point light.
#include <AlPointLight.h> class AlPointLight: public AlNonAmbientLight AlPointLight(); virtual ~AlPointLight(); virtual AlObject* copyWrapper() const; statusCode create(); AlObjectType type() const;
Point lights are like incandescent light bulbs. They emit light in all directions.
To create a point light, the user must instantiate and call the create method on an AlPointLight object. (For more information on lights in general, see the Class Description of the AlNonAmbientLight object.)
Constructs an AlPointLight wrapper object.
Deletes an AlPointLight 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, kPointLightType.