NLS Engine  v0.1
The Next Logical Step in game engine design.
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Defines
Public Member Functions
GraphicsCore::LightAmbientRenderable Class Reference
Inheritance diagram for GraphicsCore::LightAmbientRenderable:
Inheritance graph
[legend]
Collaboration diagram for GraphicsCore::LightAmbientRenderable:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 LightAmbientRenderable (EntitySPTR, ModuleInterface *)
D3DXCOLOR GetAmbientColor ()
 Get the Light Ambient Color.
bool SetAmbientColor (D3DXCOLOR)
 Set the Ambient Color of the Light.
void Render (LPDIRECT3DDEVICE9)
 Draws objects either in the world or on the screen, depending on the status of the current coordinate space.
void SetEnableStatus (bool)
bool GetEnableStatus (void)

Detailed Description

Definition at line 13 of file LightAmbientRenderable.h.


Member Function Documentation

Get the Light Ambient Color.

Definition at line 30 of file LightAmbientRenderable.cpp.

void GraphicsCore::LightAmbientRenderable::Render ( LPDIRECT3DDEVICE9  ) [virtual]

Draws objects either in the world or on the screen, depending on the status of the current coordinate space.

The object's location and rotation in said space is already provided, just draw at <0,0,0> and a 0 rotation - unless you need to correct for model problems.

Implements GraphicsCore::RenderableComponent.

Reimplemented in GraphicsCore::LightDirectionalRenderable, and GraphicsCore::LightPointRenderable.

Definition at line 24 of file LightAmbientRenderable.cpp.

Set the Ambient Color of the Light.

Definition at line 34 of file LightAmbientRenderable.cpp.


The documentation for this class was generated from the following files: