#include <camera.h>
◆ anonymous enum
| Enumerator |
|---|
| CAMTYPE_UNDEFINED | |
| CAMTYPE_SPEC | |
| CAMTYPE_PLAYER | |
◆ CCamera()
◆ AutoSpecCameraTooltip()
| const char * CCamera::AutoSpecCameraTooltip |
( |
| ) |
|
|
inline |
◆ CameraSmoothingProgress()
| float CCamera::CameraSmoothingProgress |
( |
float |
CurrentTime | ) |
const |
|
private |
◆ CamType()
| int CCamera::CamType |
( |
| ) |
const |
|
inline |
◆ CanUseAutoSpecCamera()
| bool CCamera::CanUseAutoSpecCamera |
( |
| ) |
const |
◆ ChangeZoom()
◆ ConGotoSwitch()
◆ ConGotoTele()
◆ ConSetView()
◆ ConSetViewRelative()
◆ ConZoom()
◆ ConZoomMinus()
◆ ConZoomPlus()
◆ Deadzone()
| int CCamera::Deadzone |
( |
| ) |
const |
◆ FollowFactor()
| int CCamera::FollowFactor |
( |
| ) |
const |
◆ 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.
◆ ResetAutoSpecCamera()
| void CCamera::ResetAutoSpecCamera |
( |
| ) |
|
◆ ScaleZoom()
◆ SetView()
◆ SetZoom()
◆ Sizeof()
| int CCamera::Sizeof |
( |
| ) |
const |
|
inlineoverridevirtual |
Gets the size of the non-abstract component.
Implements CComponent.
◆ SpectatingPlayer()
| bool CCamera::SpectatingPlayer |
( |
| ) |
const |
|
inline |
◆ ToggleAutoSpecCamera()
| void CCamera::ToggleAutoSpecCamera |
( |
| ) |
|
◆ UpdateAutoSpecCameraTooltip()
| void CCamera::UpdateAutoSpecCameraTooltip |
( |
| ) |
|
◆ UpdateCamera()
| void CCamera::UpdateCamera |
( |
| ) |
|
◆ ZoomAllowed()
| bool CCamera::ZoomAllowed |
( |
| ) |
const |
◆ ZoomProgress()
| float CCamera::ZoomProgress |
( |
float |
CurrentTime | ) |
const |
|
private |
◆ ZoomStepsToValue()
Convert zoom steps to zoom value
- Parameters
-
| Steps | - Zoom steps, 0.0f converts to default zoom (returns 1.0f) |
- Returns
- converted zoom value
◆ CMenuBackground
◆ m_aAutoSpecCameraTooltip
| char CCamera::m_aAutoSpecCameraTooltip[512] |
|
private |
◆ m_aDyncamCurrentCameraOffset
◆ m_aLastPos
◆ m_AutoSpecCamera
| bool CCamera::m_AutoSpecCamera |
◆ m_AutoSpecCameraZooming
| bool CCamera::m_AutoSpecCameraZooming |
◆ 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_CanUseCameraInfo
| bool CCamera::m_CanUseCameraInfo |
|
private |
◆ m_Center
◆ m_CenterBeforeSmoothing
| vec2 CCamera::m_CenterBeforeSmoothing |
|
private |
◆ m_DyncamSmoothingSpeedBias
| float CCamera::m_DyncamSmoothingSpeedBias |
|
private |
◆ m_DyncamTargetCameraOffset
| vec2 CCamera::m_DyncamTargetCameraOffset |
◆ 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_LastTargetPos
| vec2 CCamera::m_LastTargetPos |
|
private |
◆ m_PrevCenter
| vec2 CCamera::m_PrevCenter |
|
private |
◆ m_PrevSpecId
| int CCamera::m_PrevSpecId |
|
private |
◆ m_UserZoomTarget
| float CCamera::m_UserZoomTarget |
◆ m_UsingAutoSpecCamera
| bool CCamera::m_UsingAutoSpecCamera |
|
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
The documentation for this class was generated from the following files: