Dayz Explorer
1.24.157551 (v105080)
Dayz Code Explorer by Zeroy
|
Go to the source code of this file.
Data Structures | |
class | DayZPlayerCameraBase |
this is main camera class More... | |
class | DayZPlayerCamera3rdPersonErc |
class | DayZPlayerCamera3rdPersonErc |
class | DayZPlayerCamera3rdPersonErcRaised |
class | DayZPlayerCamera3rdPersonCrouch |
class | DayZPlayerCamera3rdPersonProneBase |
Variables | |
protected int | m_iBoneIndex = -1 |
runtime config More... | |
protected vector | m_CameraOffsetMS |
model space offset More... | |
protected vector | m_CameraOffsetLS |
local space offset More... | |
protected float | m_fDistance |
distance from start More... | |
protected float | m_fShoulderWidth |
shoulder camera widths More... | |
protected bool | m_bShoulderInLS |
true - shoulder is in local space More... | |
protected float | m_fRoll |
camera roll (deprecated) More... | |
protected float | m_fLeanDistance |
shift on leaning More... | |
protected float | m_fUpDownAngle |
runtime values 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... | |
protected float | m_fCameraLRShoulder |
shoulder offsets More... | |
protected float | m_fCameraLRShoulderVel [1] |
protected float | m_fPredictCollisionRadius |
collision prediction More... | |
ref HumanMovementState | m_MovementState = new HumanMovementState() |
movement state More... | |
float | m_fDelay |
runtime config More... | |
float | m_fDamping |
float | m_fDelayTimer |
runtime values More... | |
float | m_fJumpStartY |
float | m_fJumpOffset |
float | m_jumpOffsetVelocity [1] |
protected int | m_iPelvisBone |
protected float | m_fTime |
class DayZPlayerCamera3rdPersonErcRaisedMelee extends DayZPlayerCamera3rdPersonErcRaised | CONST_CAMERAMOVEMENTHEIGH = 0.4 |
protected float | m_fCameraHeight |
protected float | m_fCameraHeightVel [1] |
class DayZPlayerCamera3rdPersonCrouchRaised extends DayZPlayerCamera3rdPersonCrouch | m_BaseOffsetVelX [1] |
class DayZPlayerCamera3rdPersonCrouchRaised extends DayZPlayerCamera3rdPersonCrouch | m_BaseOffsetVelY [1] |
class DayZPlayerCamera3rdPersonCrouchRaised extends DayZPlayerCamera3rdPersonCrouch | m_BaseOffsetVelZ [1] |
protected float | m_LookAtLRAngle |
void DayZPlayerCamera3rdPersonErc::DayZPlayerCamera3rdPerson | ( | DayZPlayer | pPlayer, |
HumanInputController | pInput | ||
) |
Definition at line 8 of file dayzplayercamera3rdperson.c.
class DayZPlayerCamera3rdPersonJump extends DayZPlayerCamera3rdPersonErc DayZPlayerCamera3rdPersonClimb | ( | DayZPlayer | pPlayer, |
HumanInputController | pInput | ||
) |
Definition at line 241 of file dayzplayercamera3rdperson.c.
void DayZPlayerCamera3rdPersonCrouch | ( | DayZPlayer | pPlayer, |
HumanInputController | pInput | ||
) |
Definition at line 375 of file dayzplayercamera3rdperson.c.
class DayZPlayerCamera3rdPerson extends DayZPlayerCameraBase DayZPlayerCamera3rdPersonErc | ( | DayZPlayer | pPlayer, |
HumanInputController | pInput | ||
) |
Definition at line 170 of file dayzplayercamera3rdperson.c.
class DayZPlayerCamera3rdPersonErcSpr extends DayZPlayerCamera3rdPersonErc DayZPlayerCamera3rdPersonErcRaised | ( | DayZPlayer | pPlayer, |
HumanInputController | pInput | ||
) |
Definition at line 308 of file dayzplayercamera3rdperson.c.
void DayZPlayerCamera3rdPersonErcRaised::DayZPlayerCamera3rdPersonErcSpr | ( | DayZPlayer | pPlayer, |
HumanInputController | pInput | ||
) |
Definition at line 2 of file dayzplayercamera3rdperson.c.
void DayZPlayerCamera3rdPersonClimb::DayZPlayerCamera3rdPersonJump | ( | DayZPlayer | pPlayer, |
HumanInputController | pInput | ||
) |
void DayZPlayerCamera3rdPersonProneRaised::DayZPlayerCamera3rdPersonProne | ( | DayZPlayer | pPlayer, |
HumanInputController | pInput | ||
) |
Definition at line 473 of file dayzplayercamera3rdperson.c.
class DayZPlayerCamera3rdPersonProne extends DayZPlayerCamera3rdPersonProneBase DayZPlayerCamera3rdPersonProneRaised | ( | DayZPlayer | pPlayer, |
HumanInputController | pInput | ||
) |
Definition at line 557 of file dayzplayercamera3rdperson.c.
override vector DayZPlayerCamera3rdPersonErc::GetAdditiveAngles | ( | ) |
Definition at line 116 of file dayzplayercamera3rdperson.c.
override vector DayZPlayerCamera3rdPersonErc::GetBaseAngles | ( | ) |
Definition at line 107 of file dayzplayercamera3rdperson.c.
override string DayZPlayerCamera3rdPersonErc::GetCameraName | ( | ) |
Definition at line 125 of file dayzplayercamera3rdperson.c.
override bool IsCamera3rdRaised | ( | ) |
Definition at line 348 of file dayzplayercamera3rdperson.c.
override void DayZPlayerCamera3rdPersonErc::OnActivate | ( | DayZPlayerCamera | pPrevCamera, |
DayZPlayerCameraResult | pPrevCameraResult | ||
) |
Definition at line 28 of file dayzplayercamera3rdperson.c.
override void DayZPlayerCamera3rdPersonErc::OnUpdate | ( | float | pDt, |
out DayZPlayerCameraResult | pOutResult | ||
) |
update angles from input
base bone pos
apply shoulder dist
store distance
basically -> transform up vector (0,1,0) and read x coord -> and set is as roll
prev update
movement height
prev update
update angles from input
this is actually negative to yaw
base bone pos
apply shoulder dist
store distance
Definition at line 45 of file dayzplayercamera3rdperson.c.
lr angle
Definition at line 436 of file dayzplayercamera3rdperson.c.
class DayZPlayerCamera3rdPersonErcRaisedMelee extends DayZPlayerCamera3rdPersonErcRaised CONST_CAMERAMOVEMENTHEIGH = 0.4 |
class DayZPlayerCamera3rdPersonCrouchRaised extends DayZPlayerCamera3rdPersonCrouch m_BaseOffsetVelX[1] |
class DayZPlayerCamera3rdPersonCrouchRaised extends DayZPlayerCamera3rdPersonCrouch m_BaseOffsetVelY[1] |
class DayZPlayerCamera3rdPersonCrouchRaised extends DayZPlayerCamera3rdPersonCrouch m_BaseOffsetVelZ[1] |
protected bool m_bShoulderInLS |
true - shoulder is in local space
Definition at line 136 of file dayzplayercamera3rdperson.c.
protected vector m_CameraOffsetLS |
local space offset
Definition at line 133 of file dayzplayercamera3rdperson.c.
protected vector m_CameraOffsetMS |
model space offset
Definition at line 132 of file dayzplayercamera3rdperson.c.
protected float m_fCameraHeight |
Definition at line 400 of file dayzplayercamera3rdperson.c.
protected float m_fCameraHeightVel[1] |
Definition at line 401 of file dayzplayercamera3rdperson.c.
protected float m_fCameraLRShoulder |
shoulder offsets
Definition at line 148 of file dayzplayercamera3rdperson.c.
protected float m_fCameraLRShoulderVel[1] |
Definition at line 149 of file dayzplayercamera3rdperson.c.
float m_fDamping |
Definition at line 41 of file dayzplayercamera3rdperson.c.
float m_fDelay |
runtime config
Definition at line 40 of file dayzplayercamera3rdperson.c.
float m_fDelayTimer |
runtime values
Definition at line 44 of file dayzplayercamera3rdperson.c.
protected float m_fDistance |
distance from start
Definition at line 134 of file dayzplayercamera3rdperson.c.
float m_fJumpOffset |
Definition at line 46 of file dayzplayercamera3rdperson.c.
float m_fJumpStartY |
Definition at line 45 of file dayzplayercamera3rdperson.c.
protected float m_fLeanDistance |
shift on leaning
Definition at line 138 of file dayzplayercamera3rdperson.c.
protected float m_fLeftRightAngle |
left right angle in rad (in freelook only)
Definition at line 144 of file dayzplayercamera3rdperson.c.
protected float m_fLeftRightAngleAdd |
left right angle in rad (in freelook only)
Definition at line 145 of file dayzplayercamera3rdperson.c.
protected float m_fPredictCollisionRadius |
collision prediction
Definition at line 152 of file dayzplayercamera3rdperson.c.
protected float m_fRoll |
camera roll (deprecated)
Definition at line 137 of file dayzplayercamera3rdperson.c.
protected float m_fShoulderWidth |
shoulder camera widths
Definition at line 135 of file dayzplayercamera3rdperson.c.
protected float m_fTime |
Definition at line 44 of file dayzplayercamera3rdperson.c.
protected float m_fUpDownAngle |
protected float m_fUpDownAngleAdd |
up down angle in rad
Definition at line 143 of file dayzplayercamera3rdperson.c.
protected int m_iBoneIndex = -1 |
protected int m_iPelvisBone |
Definition at line 43 of file dayzplayercamera3rdperson.c.
float m_jumpOffsetVelocity[1] |
Definition at line 47 of file dayzplayercamera3rdperson.c.
protected float m_LookAtLRAngle |
Definition at line 434 of file dayzplayercamera3rdperson.c.
ref HumanMovementState m_MovementState = new HumanMovementState() |
movement state
Definition at line 155 of file dayzplayercamera3rdperson.c.