Creates a Camera Control component.
More...
#include <CameraControlComponent.h>
|
| std::string | id |
| | The ID of the component type. More...
|
| |
Creates a Camera Control component.
◆ ~CameraControlComponent()
| CameraControlComponent::~CameraControlComponent |
( |
| ) |
|
|
virtual |
◆ disableMoveXControl()
| void CameraControlComponent::disableMoveXControl |
( |
| ) |
|
|
inline |
A function to disable movement along the x axis.
◆ disableMoveYControl()
| void CameraControlComponent::disableMoveYControl |
( |
| ) |
|
|
inline |
A function to disable movement along the y axis.
◆ disableMoveZControl()
| void CameraControlComponent::disableMoveZControl |
( |
| ) |
|
|
inline |
A function to disable movement along the z axis.
◆ disableRotateXControl()
| void CameraControlComponent::disableRotateXControl |
( |
| ) |
|
|
inline |
A function to disable rotation along the x axis.
◆ disableRotateYControl()
| void CameraControlComponent::disableRotateYControl |
( |
| ) |
|
|
inline |
A function to disable rotation along the y axis.
◆ disableRotateZControl()
| void CameraControlComponent::disableRotateZControl |
( |
| ) |
|
|
inline |
A function to disable rotation along the z axis.
◆ handleInput()
| void CameraControlComponent::handleInput |
( |
| ) |
|
A function to handle the input for the camera.
◆ onAwake()
| void CameraControlComponent::onAwake |
( |
| ) |
|
|
virtual |
A virtual function for the componets awake.
Reimplemented from Component.
◆ onDestroy()
| void CameraControlComponent::onDestroy |
( |
| ) |
|
|
virtual |
A virtual function for the componets destroy.
Reimplemented from Component.
◆ setRotateSpeed()
| void CameraControlComponent::setRotateSpeed |
( |
float |
inRotateSpeed | ) |
|
A function to set the rotation speed of the camera.
◆ setSpeed()
| void CameraControlComponent::setSpeed |
( |
float |
inSpeed | ) |
|
A function to set the speed of the camera.
◆ updateCamera()
| void CameraControlComponent::updateCamera |
( |
float |
dt | ) |
|
A function to update the camera.
◆ movementVel
| Vec3 CameraControlComponent::movementVel |
|
private |
The velocities for the movment of the camera.
◆ moveX
| bool CameraControlComponent::moveX |
|
private |
◆ moveY
| bool CameraControlComponent::moveY |
|
private |
◆ moveZ
| bool CameraControlComponent::moveZ |
|
private |
◆ rotateSpeed
| float CameraControlComponent::rotateSpeed |
|
private |
◆ rotationVel
| Vec3 CameraControlComponent::rotationVel |
|
private |
◆ rotX
| bool CameraControlComponent::rotX |
|
private |
◆ rotY
| bool CameraControlComponent::rotY |
|
private |
◆ rotZ
| bool CameraControlComponent::rotZ |
|
private |
◆ speed
| float CameraControlComponent::speed |
|
private |
The documentation for this class was generated from the following files: