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


Public Member Functions | |
| CommandSetVisibilityLimit (double) | |
| void | process (ExecutionEnvironment &) |
Private Attributes | |
| double | magnitude |
|
|
Definition at line 518 of file command.cpp. 00518 : 00519 magnitude(mag) 00520 { 00521 }
|
|
|
Implements InstantaneousCommand. Definition at line 523 of file command.cpp. References magnitude, Renderer::setBrightnessBias(), and Renderer::setSaturationMagnitude(). 00524 {
00525 Renderer* r = env.getRenderer();
00526 if (r != NULL)
00527 {
00528 r->setBrightnessBias(0.05f);
00529 r->setSaturationMagnitude(1.0f);
00530 }
00531 env.getSimulation()->setFaintestVisible((float) magnitude);
00532 }
|
|
|
Definition at line 422 of file command.h. Referenced by process(). |
1.4.1