#include <DirectedLight.h>
Inheritance diagram for nvsg::DirectedLight:
Public Methods | |
virtual NVSG_API const DirectedLight * | clone (void) const |
Get a clone of this DirectedLight. More... | |
virtual NVSG_API DataID | getDataID (void) const |
Get the DataID of the data of this object. More... | |
virtual NVSG_API bool | isDataShared (void) const |
Determine whether the data of this object is shared. More... | |
Static Public Methods | |
NVSG_API const DirectedLight * | create (void) |
Create a DirectedLight. More... | |
NVSG_API const DirectedLight * | createFromBase (const LightSource &rhs) |
Create a DirectedLight by copying from a LightSource. More... | |
Protected Methods | |
NVSG_API | DirectedLight (void) |
Default Constructor. More... | |
NVSG_API | DirectedLight (const LightSource &rhs) |
Partial Constructor. More... | |
NVSG_API | DirectedLight (const DirectedLight &rhs) |
Copy Constructor. More... | |
virtual NVSG_API | ~DirectedLight (void) |
Protected destructor to prevent explicit creation on stack. More... |
Directed light is just that - directed. Directed light always has direction and color, and is a factor in shading algorithms such as Gouraud shading.
|
Default Constructor.
|
|
Partial Constructor.
|
|
Copy Constructor.
|
|
Protected destructor to prevent explicit creation on stack.
|
|
Create a DirectedLight.
|
|
Create a DirectedLight by copying from a LightSource.
|
|
Get a clone of this DirectedLight.
Implements nvsg::Node. |
|
Get the DataID of the data of this object.
Reimplemented from nvsg::LightSource. |
|
Determine whether the data of this object is shared.
Reimplemented from nvsg::LightSource. |