#include <camera.h>
◆ anonymous enum
Enumerator |
---|
CAMTYPE_UNDEFINED | |
CAMTYPE_SPEC | |
CAMTYPE_PLAYER | |
◆ CCamera()
◆ CameraSmoothingProgress()
float CCamera::CameraSmoothingProgress |
( |
float |
CurrentTime | ) |
const |
|
private |
◆ ChangeZoom()
void CCamera::ChangeZoom |
( |
float |
Target, |
|
|
int |
Smoothness |
|
) |
| |
|
private |
◆ ConGotoSwitch()
◆ ConGotoTele()
◆ ConSetView()
◆ ConSetViewRelative()
◆ ConZoom()
◆ ConZoomMinus()
◆ ConZoomPlus()
◆ GotoSwitch()
void CCamera::GotoSwitch |
( |
int |
Number, |
|
|
int |
Offset = -1 |
|
) |
| |
◆ GotoTele()
void CCamera::GotoTele |
( |
int |
Number, |
|
|
int |
Offset = -1 |
|
) |
| |
◆ MaxZoomLevel()
float CCamera::MaxZoomLevel |
( |
| ) |
|
|
private |
◆ MinZoomLevel()
float CCamera::MinZoomLevel |
( |
| ) |
|
|
private |
◆ OnConsoleInit()
void CCamera::OnConsoleInit |
( |
| ) |
|
|
overridevirtual |
Called to let the components register their console commands.
Reimplemented from CComponent.
◆ OnRender()
void CCamera::OnRender |
( |
| ) |
|
|
overridevirtual |
Called when the component should get rendered.
The render order depends on the component insertion order.
Reimplemented from CComponent.
◆ OnReset()
void CCamera::OnReset |
( |
| ) |
|
|
overridevirtual |
Called to reset the component. This method is usually called on your component constructor to avoid code duplication.
- See also
- CHud::CHud()
-
CHud::OnReset()
Reimplemented from CComponent.
◆ ScaleZoom()
void CCamera::ScaleZoom |
( |
float |
Factor | ) |
|
|
private |
◆ SetView()
void CCamera::SetView |
( |
ivec2 |
Pos, |
|
|
bool |
Relative = false |
|
) |
| |
◆ SetZoom()
void CCamera::SetZoom |
( |
float |
Target, |
|
|
int |
Smoothness |
|
) |
| |
◆ Sizeof()
virtual int CCamera::Sizeof |
( |
| ) |
const |
|
inlineoverridevirtual |
Gets the size of the non-abstract component.
Implements CComponent.
◆ ZoomAllowed()
bool CCamera::ZoomAllowed |
( |
| ) |
const |
◆ ZoomProgress()
float CCamera::ZoomProgress |
( |
float |
CurrentTime | ) |
const |
|
private |
◆ CMenuBackground
◆ m_aLastPos
◆ m_CameraSmoothing
bool CCamera::m_CameraSmoothing |
|
private |
◆ m_CameraSmoothingBezierX
◆ m_CameraSmoothingBezierY
◆ m_CameraSmoothingCenter
vec2 CCamera::m_CameraSmoothingCenter |
|
private |
◆ m_CameraSmoothingEnd
float CCamera::m_CameraSmoothingEnd |
|
private |
◆ m_CameraSmoothingStart
float CCamera::m_CameraSmoothingStart |
|
private |
◆ m_CameraSmoothingTarget
vec2 CCamera::m_CameraSmoothingTarget |
|
private |
◆ m_CamType
◆ m_Center
◆ m_CenterBeforeSmoothing
vec2 CCamera::m_CenterBeforeSmoothing |
|
private |
◆ m_ForceFreeview
bool CCamera::m_ForceFreeview |
|
private |
◆ m_ForceFreeviewPos
vec2 CCamera::m_ForceFreeviewPos |
|
private |
◆ m_GotoSwitchLastPos
ivec2 CCamera::m_GotoSwitchLastPos |
|
private |
◆ m_GotoSwitchOffset
int CCamera::m_GotoSwitchOffset |
|
private |
◆ m_GotoTeleLastNumber
int CCamera::m_GotoTeleLastNumber = -1 |
|
private |
◆ m_GotoTeleLastPos
ivec2 CCamera::m_GotoTeleLastPos |
|
private |
◆ m_GotoTeleOffset
int CCamera::m_GotoTeleOffset |
|
private |
◆ m_PrevCenter
vec2 CCamera::m_PrevCenter |
|
private |
◆ m_PrevSpecId
int CCamera::m_PrevSpecId |
|
private |
◆ m_WasSpectating
bool CCamera::m_WasSpectating |
|
private |
◆ m_Zoom
◆ m_Zooming
◆ m_ZoomSet
◆ m_ZoomSmoothing
◆ m_ZoomSmoothingEnd
float CCamera::m_ZoomSmoothingEnd |
|
private |
◆ m_ZoomSmoothingStart
float CCamera::m_ZoomSmoothingStart |
|
private |
◆ m_ZoomSmoothingTarget
float CCamera::m_ZoomSmoothingTarget |
◆ ZOOM_STEP
constexpr float CCamera::ZOOM_STEP = 0.866025f |
|
staticconstexpr |
The documentation for this class was generated from the following files: