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

Go to the source code of this file.

Data Structures

class  DayZPlayerCameraBase
 this is main camera class More...
 

Functions

class DayZPlayerCamera1stPerson extends DayZPlayerCameraBase DayZPlayerCamera1stPersonUnconscious (DayZPlayer pPlayer, HumanInputController pInput)
 
void DayZPlayerCamera1stPerson (DayZPlayer pPlayer, HumanInputController pInput)
 
override void OnActivate (DayZPlayerCamera pPrevCamera, DayZPlayerCameraResult pPrevCameraResult)
 
override void OnUpdate (float pDt, out DayZPlayerCameraResult pOutResult)
 
override vector GetBaseAngles ()
 
override vector GetAdditiveAngles ()
 
override string GetCameraName ()
 

Variables

protected int m_iBoneIndex
 main bone More...
 
protected vector m_OffsetLS
 position offset More...
 
protected float m_fUpDownAngle
 up down angle in rad More...
 
protected float m_fUpDownAngleAdd
 up down angle in rad More...
 
protected float m_fLeftRightAngle
 left right angle in rad (in freelook only) More...
 
protected float m_fLeftRightAngleAdd
 left right angle in rad (in freelook only) More...
 

Function Documentation

◆ DayZPlayerCamera1stPerson()

void DayZPlayerCamera1stPersonUnconscious::DayZPlayerCamera1stPerson ( DayZPlayer  pPlayer,
HumanInputController  pInput 
)

Definition at line 9 of file dayzplayercamera1stperson.c.

◆ DayZPlayerCamera1stPersonUnconscious()

class DayZPlayerCamera1stPerson extends DayZPlayerCameraBase DayZPlayerCamera1stPersonUnconscious ( DayZPlayer  pPlayer,
HumanInputController  pInput 
)

Definition at line 104 of file dayzplayercamera1stperson.c.

◆ GetAdditiveAngles()

override vector DayZPlayerCamera1stPersonUnconscious::GetAdditiveAngles ( )

Definition at line 72 of file dayzplayercamera1stperson.c.

◆ GetBaseAngles()

override vector DayZPlayerCamera1stPersonUnconscious::GetBaseAngles ( )

Definition at line 63 of file dayzplayercamera1stperson.c.

◆ GetCameraName()

override string DayZPlayerCamera1stPersonUnconscious::GetCameraName ( )

Definition at line 81 of file dayzplayercamera1stperson.c.

◆ OnActivate()

override void DayZPlayerCamera1stPersonUnconscious::OnActivate ( DayZPlayerCamera  pPrevCamera,
DayZPlayerCameraResult  pPrevCameraResult 
)

Definition at line 22 of file dayzplayercamera1stperson.c.

◆ OnUpdate()

override void DayZPlayerCamera1stPersonUnconscious::OnUpdate ( float  pDt,
out DayZPlayerCameraResult  pOutResult 
)

update angles from input

Definition at line 39 of file dayzplayercamera1stperson.c.

Variable Documentation

◆ m_fLeftRightAngle

protected float m_fLeftRightAngle

left right angle in rad (in freelook only)

Definition at line 91 of file dayzplayercamera1stperson.c.

◆ m_fLeftRightAngleAdd

protected float m_fLeftRightAngleAdd

left right angle in rad (in freelook only)

Definition at line 92 of file dayzplayercamera1stperson.c.

◆ m_fUpDownAngle

protected float m_fUpDownAngle

up down angle in rad

Definition at line 89 of file dayzplayercamera1stperson.c.

◆ m_fUpDownAngleAdd

protected float m_fUpDownAngleAdd

up down angle in rad

Definition at line 90 of file dayzplayercamera1stperson.c.

◆ m_iBoneIndex

protected int m_iBoneIndex

main bone

Definition at line 86 of file dayzplayercamera1stperson.c.

◆ m_OffsetLS

protected vector m_OffsetLS

position offset

Definition at line 87 of file dayzplayercamera1stperson.c.