#include <AlPointLight.h>
class AlPointLight: public AlNonAmbientLight
AlPointLight();
virtual ~AlPointLight();
virtual AlObject* copyWrapper() const;
statusCode create();
AlObjectType type() const;
AlPointLight* asPointLightPtr();
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.)
Summary
AlPointLight::AlPointLight()
Description
Constructs an AlPointLight wrapper object. AlPointLight::~AlPointLight()
Description
Deletes an AlPointLight wrapper object. statusCode AlPointLight::create()
Description
This method 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. Return codes
sSuccess - if everything was successful AlObjectType AlPointLight::type() const
Description
Returns the class identifier, kPointLightType. AlPointLight* AlPointLight::asPointLightPtr()
Description
This virtual function returns a non-null pointer to itself, indicating that it is safe to cast to an object of this class.