#include <AmbientLights.h>
Public Member Functions | |
| AmbientLights (void) | |
| virtual | ~AmbientLights (void) |
Protected Member Functions | |
| virtual bool | _activate () |
| virtual bool | _deactivate () |
| virtual bool | _perform (float time) |
| virtual bool | _render (float time) |
| virtual bool | _complete_poly (const bl7::geometry2::Poly &poly, const ml7::Vector2 &position) |
The editing mode class providing editing actions for setting ambient lights.
| cyber::editor::modes::AmbientLights::AmbientLights | ( | void | ) |
Default constructor.
| cyber::editor::modes::AmbientLights::~AmbientLights | ( | void | ) | [virtual] |
Destructor.
| bool cyber::editor::modes::AmbientLights::_activate | ( | ) | [protected, virtual] |
Activates this editing mode.
Reimplemented from cyber::editor::modes::PolyEditingMode.
| bool cyber::editor::modes::AmbientLights::_complete_poly | ( | const bl7::geometry2::Poly & | poly, | |
| const ml7::Vector2 & | position | |||
| ) | [protected, virtual] |
Will be called after the user completed the definition of a new poly.
Implements cyber::editor::modes::PolyEditingMode.
| bool cyber::editor::modes::AmbientLights::_deactivate | ( | ) | [protected, virtual] |
Deactivates this editing mode.
Reimplemented from cyber::editor::modes::PolyEditingMode.
| bool cyber::editor::modes::AmbientLights::_perform | ( | float | time | ) | [protected, virtual] |
Performs editing actions.
Reimplemented from cyber::editor::modes::PolyEditingMode.
| bool cyber::editor::modes::AmbientLights::_render | ( | float | time | ) | [protected, virtual] |
Draws mode specific editing tools.
Reimplemented from cyber::editor::modes::PolyEditingMode.
1.7.1