Dayz Explorer  1.24.157551 (v105080)
Dayz Code Explorer by Zeroy
dayzplayercameraironsights.c File Reference

Go to the source code of this file.

Data Structures

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) More...
 
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
 
protected float m_RecoilOffsetZ = 0.0
 

Function Documentation

◆ AdjustCameraParameters()

override void AdjustCameraParameters ( float  pDt,
inout DayZPlayerCameraResult  pOutResult 
)

Definition at line 411 of file dayzplayercameraironsights.c.

◆ DayZPlayerCameraOptics()

void DayZPlayerCameraOptics ( DayZPlayer  pPlayer,
HumanInputController  pInput 
)

Definition at line 365 of file dayzplayercameraironsights.c.

◆ GetCameraName()

override string GetCameraName ( )

Definition at line 576 of file dayzplayercameraironsights.c.

◆ GetCurrentSightEntity()

override EntityAI GetCurrentSightEntity ( )

Definition at line 384 of file dayzplayercameraironsights.c.

◆ GetCurrentSightInfo()

override bool GetCurrentSightInfo ( out vector  camPos,
out vector  camDir 
)

Definition at line 389 of file dayzplayercameraironsights.c.

◆ HoldBreathFOVEffect()

override float HoldBreathFOVEffect ( float  pDt)

Definition at line 430 of file dayzplayercameraironsights.c.

◆ Init()

override void Init ( )

Launched from 'DayZGame.DeferredInit' to make earlier access, use, and updates impossible (downside of a non-static system)

pre-init arrays

Definition at line 372 of file dayzplayercameraironsights.c.

◆ OnActivate()

override void OnActivate ( DayZPlayerCamera  pPrevCamera,
DayZPlayerCameraResult  pPrevCameraResult 
)

Definition at line 400 of file dayzplayercameraironsights.c.

◆ SendRecoilOffsetZ()

override void SendRecoilOffsetZ ( float  offset)

Definition at line 601 of file dayzplayercameraironsights.c.

◆ SetCameraPP()

override void SetCameraPP ( bool  state,
DayZPlayerCamera  launchedFrom 
)

Definition at line 463 of file dayzplayercameraironsights.c.

◆ SetCameraPPDelay()

override void SetCameraPPDelay ( DayZPlayerCamera  pPrevCamera)

Definition at line 581 of file dayzplayercameraironsights.c.

Variable Documentation

◆ CONST_NEARPLANE_OPTICS

class DayZPlayerCameraIronsights extends DayZPlayerCameraBase CONST_NEARPLANE_OPTICS = 0.06

◆ m_RecoilOffsetZ

protected float m_RecoilOffsetZ = 0.0

Definition at line 363 of file dayzplayercameraironsights.c.