Dayz Explorer 1.28.160049
Loading...
Searching...
No Matches
dayzplayercamera1stperson.c File Reference

Go to the source code of this file.

Classes

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

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

Function Documentation

◆ DayZPlayerCamera1stPerson()

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

Definition at line 112 of file dayzplayercamera1stperson.c.

◆ DayZPlayerCamera1stPersonUnconscious()

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

Definition at line 4 of file dayzplayercamera1stperson.c.

◆ GetAdditiveAngles()

override vector DayZPlayerCamera1stPersonUnconscious::GetAdditiveAngles ( )

Definition at line 175 of file dayzplayercamera1stperson.c.

◆ GetBaseAngles()

override vector DayZPlayerCamera1stPersonUnconscious::GetBaseAngles ( )

Definition at line 166 of file dayzplayercamera1stperson.c.

◆ GetCameraName()

override string DayZPlayerCamera1stPersonUnconscious::GetCameraName ( )

Definition at line 184 of file dayzplayercamera1stperson.c.

◆ OnActivate()

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

Definition at line 125 of file dayzplayercamera1stperson.c.

◆ OnUpdate()

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

update angles from input

Definition at line 142 of file dayzplayercamera1stperson.c.

Variable Documentation

◆ m_fLeftRightAngle

float m_fLeftRightAngle
protected

left right angle in rad (in freelook only)

Definition at line 194 of file dayzplayercamera1stperson.c.

◆ m_fLeftRightAngleAdd

float m_fLeftRightAngleAdd
protected

left right angle in rad (in freelook only)

Definition at line 195 of file dayzplayercamera1stperson.c.

◆ m_fUpDownAngle

float m_fUpDownAngle
protected

up down angle in rad

Definition at line 192 of file dayzplayercamera1stperson.c.

◆ m_fUpDownAngleAdd

float m_fUpDownAngleAdd
protected

up down angle in rad

Definition at line 193 of file dayzplayercamera1stperson.c.

◆ m_iBoneIndex

int m_iBoneIndex
protected

main bone

Definition at line 189 of file dayzplayercamera1stperson.c.

◆ m_OffsetLS

vector m_OffsetLS
protected

position offset

Definition at line 190 of file dayzplayercamera1stperson.c.