![]() |
Dayz Explorer 1.28.160049
|
Go to the source code of this file.
Classes | |
| class | DayZPlayerCameraBase |
| this is main camera class More... | |
| class | DayZPlayerCamera3rdPersonErc |
| class | DayZPlayerCamera3rdPersonErcRaised |
| class | DayZPlayerCamera3rdPersonCrouch |
| class | DayZPlayerCamera3rdPersonProneBase |
Variables | |
| int | m_iBoneIndex = -1 |
| runtime config | |
| vector | m_CameraOffsetMS |
| model space offset | |
| vector | m_CameraOffsetLS |
| local space offset | |
| float | m_fDistance |
| distance from start | |
| float | m_fShoulderWidth |
| shoulder camera widths | |
| bool | m_bShoulderInLS |
| true - shoulder is in local space | |
| float | m_fRoll |
| camera roll (deprecated) | |
| float | m_fLeanDistance |
| shift on leaning | |
| float | m_fUpDownAngle |
| runtime values | |
| 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) | |
| float | m_fCameraLRShoulder |
| shoulder offsets | |
| float | m_fCameraLRShoulderVel [1] |
| float | m_fPredictCollisionRadius |
| collision prediction | |
| ref HumanMovementState | m_MovementState = new HumanMovementState() |
| movement state | |
| float | m_fDelay |
| runtime config | |
| float | m_fDamping |
| float | m_fDelayTimer |
| runtime values | |
| float | m_fJumpStartY |
| float | m_fJumpOffset |
| float | m_jumpOffsetVelocity [1] |
| int | m_iPelvisBone |
| float | m_fTime |
| class DayZPlayerCamera3rdPersonErcRaisedMelee extends DayZPlayerCamera3rdPersonErcRaised | CONST_CAMERAMOVEMENTHEIGH = 0.4 |
| float | m_fCameraHeight |
| 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] |
| float | m_LookAtLRAngle |
| void DayZPlayerCamera3rdPersonErc::DayZPlayerCamera3rdPerson | ( | DayZPlayer | pPlayer, |
| HumanInputController | pInput ) |
Definition at line 177 of file dayzplayercamera3rdperson.c.
| class DayZPlayerCamera3rdPersonJump extends DayZPlayerCamera3rdPersonErc DayZPlayerCamera3rdPersonClimb | ( | DayZPlayer | pPlayer, |
| HumanInputController | pInput ) |
Definition at line 186 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 4 of file dayzplayercamera3rdperson.c.
| class DayZPlayerCamera3rdPersonErcSpr extends DayZPlayerCamera3rdPersonErc DayZPlayerCamera3rdPersonErcRaised | ( | DayZPlayer | pPlayer, |
| HumanInputController | pInput ) |
Definition at line 254 of file dayzplayercamera3rdperson.c.
| void DayZPlayerCamera3rdPersonErcRaised::DayZPlayerCamera3rdPersonErcSpr | ( | DayZPlayer | pPlayer, |
| HumanInputController | pInput ) |
Definition at line 309 of file dayzplayercamera3rdperson.c.
| void DayZPlayerCamera3rdPersonClimb::DayZPlayerCamera3rdPersonJump | ( | DayZPlayer | pPlayer, |
| HumanInputController | pInput ) |
| void DayZPlayerCamera3rdPersonProneRaised::DayZPlayerCamera3rdPersonProne | ( | DayZPlayer | pPlayer, |
| HumanInputController | pInput ) |
Definition at line 558 of file dayzplayercamera3rdperson.c.
|
protected |
Definition at line 538 of file dayzplayercamera3rdperson.c.
| override vector DayZPlayerCamera3rdPersonErc::GetAdditiveAngles | ( | ) |
Definition at line 285 of file dayzplayercamera3rdperson.c.
| override vector DayZPlayerCamera3rdPersonErc::GetBaseAngles | ( | ) |
Definition at line 276 of file dayzplayercamera3rdperson.c.
| override string DayZPlayerCamera3rdPersonErc::GetCameraName | ( | ) |
Definition at line 294 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 197 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 214 of file dayzplayercamera3rdperson.c.
lr angle
Definition at line 436 of file dayzplayercamera3rdperson.c.
| class DayZPlayerCamera3rdPersonErcRaisedMelee extends DayZPlayerCamera3rdPersonErcRaised CONST_CAMERAMOVEMENTHEIGH = 0.4 |
|
protected |
|
protected |
|
protected |
|
protected |
true - shoulder is in local space
Definition at line 305 of file dayzplayercamera3rdperson.c.
|
protected |
local space offset
Definition at line 302 of file dayzplayercamera3rdperson.c.
|
protected |
model space offset
Definition at line 301 of file dayzplayercamera3rdperson.c.
|
protected |
Definition at line 400 of file dayzplayercamera3rdperson.c.
|
protected |
Definition at line 401 of file dayzplayercamera3rdperson.c.
|
protected |
shoulder offsets
Definition at line 317 of file dayzplayercamera3rdperson.c.
|
protected |
Definition at line 318 of file dayzplayercamera3rdperson.c.
| float m_fDamping |
Definition at line 281 of file dayzplayercamera3rdperson.c.
| float m_fDelay |
runtime config
Definition at line 280 of file dayzplayercamera3rdperson.c.
| float m_fDelayTimer |
runtime values
Definition at line 284 of file dayzplayercamera3rdperson.c.
|
protected |
distance from start
Definition at line 303 of file dayzplayercamera3rdperson.c.
| float m_fJumpOffset |
Definition at line 286 of file dayzplayercamera3rdperson.c.
| float m_fJumpStartY |
Definition at line 285 of file dayzplayercamera3rdperson.c.
|
protected |
shift on leaning
Definition at line 307 of file dayzplayercamera3rdperson.c.
|
protected |
left right angle in rad (in freelook only)
Definition at line 313 of file dayzplayercamera3rdperson.c.
|
protected |
left right angle in rad (in freelook only)
Definition at line 314 of file dayzplayercamera3rdperson.c.
|
protected |
collision prediction
Definition at line 321 of file dayzplayercamera3rdperson.c.
|
protected |
camera roll (deprecated)
Definition at line 306 of file dayzplayercamera3rdperson.c.
|
protected |
shoulder camera widths
Definition at line 304 of file dayzplayercamera3rdperson.c.
|
protected |
Definition at line 351 of file dayzplayercamera3rdperson.c.
|
protected |
|
protected |
up down angle in rad
Definition at line 312 of file dayzplayercamera3rdperson.c.
|
protected |
|
protected |
Definition at line 350 of file dayzplayercamera3rdperson.c.
| float m_jumpOffsetVelocity[1] |
Definition at line 287 of file dayzplayercamera3rdperson.c.
|
protected |
Definition at line 434 of file dayzplayercamera3rdperson.c.
|
protected |
movement state
Definition at line 324 of file dayzplayercamera3rdperson.c.