DayZ 1.24
|
Go to the source code of this file.
Classes | |
class | DayZPlayerCameraBase |
this is main camera class More... | |
Functions | |
void | DayZPlayerCameraOptics (DayZPlayer pPlayer, HumanInputController pInput) |
override void | Init () |
Launched from 'DayZGame.DeferredInit' to make earlier access, use, and updates impossible (downside of a non-static system) | |
override EntityAI | GetCurrentSightEntity () |
override bool | GetCurrentSightInfo (out vector camPos, out vector camDir) |
override void | OnActivate (DayZPlayerCamera pPrevCamera, DayZPlayerCameraResult pPrevCameraResult) |
override void | AdjustCameraParameters (float pDt, inout DayZPlayerCameraResult pOutResult) |
override float | HoldBreathFOVEffect (float pDt) |
override void | SetCameraPP (bool state, DayZPlayerCamera launchedFrom) |
override string | GetCameraName () |
override void | SetCameraPPDelay (DayZPlayerCamera pPrevCamera) |
override void | SendRecoilOffsetZ (float offset) |
Variables | |
class DayZPlayerCameraIronsights extends DayZPlayerCameraBase | CONST_NEARPLANE_OPTICS = 0.06 |
float | m_RecoilOffsetZ = 0.0 |
|
protected |
Definition at line 377 of file DayZPlayerCameraIronsights.c.
References Math::Clamp(), CONST_NEARPLANE_OPTICS, ItemOptics::GetNearPlaneValue(), HoldBreathFOVEffect(), m_fShootFromCamera, m_iBoneIndex, m_opticsUsed, and m_RecoilOffsetZ.
|
protected |
Definition at line 337 of file DayZPlayerCameraIronsights.c.
References m_fShootFromCamera.
Referenced by ManBase::HideClothing(), ItemOptics::InitCameraOverrideProperties(), OnActivate(), and DayZPlayerCameras::RegisterCameras().
Definition at line 520 of file DayZPlayerCameraIronsights.c.
Definition at line 352 of file DayZPlayerCameraIronsights.c.
References m_opticsUsed.
Referenced by HoldBreathFOVEffect().
Definition at line 357 of file DayZPlayerCameraIronsights.c.
References ItemOptics::GetCameraPoint(), m_opticsUsed, and ItemOptics::UseWeaponIronsightsOverride().
Definition at line 396 of file DayZPlayerCameraIronsights.c.
References GameConstants::DZPLAYER_CAMERA_FOV_EYEZOOM, GetCurrentSightEntity(), DayZPlayer::GetEyeZoomLevel(), m_fFovAbsolute, m_fFovAbsVel, m_pPlayer, and Math::SmoothCD().
Referenced by AdjustCameraParameters().
Launched from 'DayZGame.DeferredInit' to make earlier access, use, and updates impossible (downside of a non-static system)
pre-init arrays
Definition at line 344 of file DayZPlayerCameraIronsights.c.
References ItemOptics::IsNVOptic(), ItemOptics::IsWorking(), m_opticsUsed, and SetCameraNV().
Referenced by DayZPlayerCameraBase(), and DayZPlayerCameraBase::DayZPlayerCameraIronsights().
|
protected |
Definition at line 368 of file DayZPlayerCameraIronsights.c.
References CALL_CATEGORY_GUI, GetGame(), m_CameraPPDelay, m_opticsUsed, and m_pPlayer.
Definition at line 539 of file DayZPlayerCameraIronsights.c.
References m_RecoilOffsetZ.
|
protected |
Definition at line 427 of file DayZPlayerCameraIronsights.c.
References ItemOptics::AllowsDOF(), GetCameraNVType(), ItemOptics::GetCurrentNVType(), ItemOptics::GetOpticsDOF(), ItemOptics::GetOpticsPPBlur(), ItemOptics::GetOpticsPPLens(), ItemOptics::GetOpticsPPMask(), IsCameraNV(), ItemOptics::IsNVOptic(), m_opticsUsed, m_pPlayer, m_weaponUsed, SetCameraNV(), and SetNVPostprocess().
|
protected |
Definition at line 525 of file DayZPlayerCameraIronsights.c.
References m_CameraPPDelay, DayZPlayerCameras::TIME_CAMERACHANGE_02, and DayZPlayerCameras::TIME_CAMERACHANGE_03.
class DayZPlayerCameraIronsights extends DayZPlayerCameraBase CONST_NEARPLANE_OPTICS = 0.06 |
Referenced by AdjustCameraParameters().
|
protected |
Definition at line 335 of file DayZPlayerCameraIronsights.c.
Referenced by AdjustCameraParameters(), and SendRecoilOffsetZ().