#include <command.h>
Inheritance diagram for CommandSetAmbientLight:


Public Member Functions | |
| CommandSetAmbientLight (float) | |
| void | process (ExecutionEnvironment &) |
Private Attributes | |
| float | lightLevel |
|
|
Definition at line 551 of file command.cpp. 00551 : 00552 lightLevel(level) 00553 { 00554 }
|
|
|
Implements InstantaneousCommand. Definition at line 556 of file command.cpp. References lightLevel, and Renderer::setAmbientLightLevel(). 00557 {
00558 Renderer* r = env.getRenderer();
00559 if (r != NULL)
00560 r->setAmbientLightLevel(lightLevel);
00561 }
|
|
|
Definition at line 442 of file command.h. Referenced by process(). |
1.4.1