#include <FreeMovement.hpp>
Definition at line 12 of file FreeMovement.hpp.
◆ FreeMovement()
lug::Core::FreeMovement::FreeMovement |
( |
| ) |
|
|
explicitdefault |
◆ ~FreeMovement()
lug::Core::FreeMovement::~FreeMovement |
( |
| ) |
|
|
default |
◆ setTargetNode()
Sets the camera node (i.e. the node to which the camera is attached to).
Definition at line 1 of file FreeMovement.inl.
◆ setEventSource()
Sets the event source, a Window instance.
- Parameters
-
[in] | eventSource | The event source |
Definition at line 5 of file FreeMovement.inl.
◆ onFrame()
void lug::Core::FreeMovement::onFrame |
( |
const System::Time & |
elapsedTime | ) |
|
◆ _target
◆ _eventSource
◆ _speed
float lug::Core::FreeMovement::_speed {0.005f} |
|
private |
◆ _hasFocus
bool lug::Core::FreeMovement::_hasFocus {false} |
|
private |
◆ _lastMousePos
Math::Vec2i lug::Core::FreeMovement::_lastMousePos {0, 0} |
|
private |
The documentation for this class was generated from the following files: