DayZ 1.24
Loading...
Searching...
No Matches
DayZPlayerCameraResult Class Reference
Collaboration diagram for DayZPlayerCameraResult:
[legend]

Private Member Functions

void DayZPlayerCameraResult ()
 cannot be instanced from script (always created from C++)
 
void ~DayZPlayerCameraResult ()
 cannot be instanced from script (always created from C++)
 

Private Attributes

vector m_CameraTM [4]
 transformation matrix - pos + orient of the camera
 
float m_fFovMultiplier
 fov multiplier - 1.0 default - used for modifying fov -
 
float m_fFovAbsolute
 fov absolute value override - -1.0 default, if set - overrides absolute fov setting
 
float m_fNearPlane
 nearplane distance
 
float m_fPositionModelSpace
 0.0 position is in heading space, 1.0 position is in model space
 
float m_fDistance
 camera distance (external cameras only)
 
float m_fUseHeading
 0..1 (0 uses direct dir returned, 1 uses heading from player)
 
float m_fPredictCollisionRadius
 sphere radius used for collision prediction
 
int m_iDirectBone
 -1 no bone, >= 0 - bone index camera is bound to, m_CameraTM is offset to the bone
 
int m_iDirectBoneMode
 
float m_fInsideCamera
 0 not used, 1 - pos, 2 - rot, 3 - pos+rot applied as a parent to m_CameraTM, 4 as 3 but cam aligned with Y
 
bool m_bUpdateWhenBlendOut
 true - camera is updated when blending to new camera (Ironsights == false)
 
float m_fShootFromCamera
 1(default) - uses shoot from camera (+aiming sway), 0 pure weapon shoot (ironsights == 0)
 
float m_fIgnoreParentRoll
 1 - resets base transforms roll
 
float m_fIgnoreParentPitch
 1 - resets base transforms pitch
 
float m_fIgnoreParentYaw
 1 - resets base transforms yaw
 
bool m_bUpdateEveryFrame
 Whether the camera updates the next frame or blends with next character update.
 
vector m_OwnerTM [4]
 override automatically calculated owner transform during rendering (default - false)
 
bool m_bOwnerTMOverride
 The world space transform of the owner to the camera.
 
IEntity m_CollisionIgnoreEntity
 ignore entity in 3rd person camera collision solver
 

Detailed Description

Definition at line 11 of file dayzplayer.c.

Constructor & Destructor Documentation

◆ DayZPlayerCameraResult()

void DayZPlayerCameraResult::DayZPlayerCameraResult ( )
inlineprivate

cannot be instanced from script (always created from C++)

Definition at line 39 of file dayzplayer.c.

40 {
41 }

◆ ~DayZPlayerCameraResult()

void DayZPlayerCameraResult::~DayZPlayerCameraResult ( )
inlineprivate

cannot be instanced from script (always created from C++)

Definition at line 44 of file dayzplayer.c.

45 {
46 }

Member Data Documentation

◆ m_bOwnerTMOverride

bool DayZPlayerCameraResult::m_bOwnerTMOverride
private

The world space transform of the owner to the camera.

Definition at line 34 of file dayzplayer.c.

◆ m_bUpdateEveryFrame

bool DayZPlayerCameraResult::m_bUpdateEveryFrame
private

Whether the camera updates the next frame or blends with next character update.

Definition at line 31 of file dayzplayer.c.

◆ m_bUpdateWhenBlendOut

bool DayZPlayerCameraResult::m_bUpdateWhenBlendOut
private

true - camera is updated when blending to new camera (Ironsights == false)

Definition at line 26 of file dayzplayer.c.

◆ m_CameraTM

vector DayZPlayerCameraResult::m_CameraTM[4]
private

transformation matrix - pos + orient of the camera

Definition at line 14 of file dayzplayer.c.

◆ m_CollisionIgnoreEntity

IEntity DayZPlayerCameraResult::m_CollisionIgnoreEntity
private

ignore entity in 3rd person camera collision solver

Definition at line 36 of file dayzplayer.c.

◆ m_fDistance

float DayZPlayerCameraResult::m_fDistance
private

camera distance (external cameras only)

Definition at line 19 of file dayzplayer.c.

◆ m_fFovAbsolute

float DayZPlayerCameraResult::m_fFovAbsolute
private

fov absolute value override - -1.0 default, if set - overrides absolute fov setting

Definition at line 16 of file dayzplayer.c.

◆ m_fFovMultiplier

float DayZPlayerCameraResult::m_fFovMultiplier
private

fov multiplier - 1.0 default - used for modifying fov -

Definition at line 15 of file dayzplayer.c.

◆ m_fIgnoreParentPitch

float DayZPlayerCameraResult::m_fIgnoreParentPitch
private

1 - resets base transforms pitch

Definition at line 29 of file dayzplayer.c.

◆ m_fIgnoreParentRoll

float DayZPlayerCameraResult::m_fIgnoreParentRoll
private

1 - resets base transforms roll

Definition at line 28 of file dayzplayer.c.

◆ m_fIgnoreParentYaw

float DayZPlayerCameraResult::m_fIgnoreParentYaw
private

1 - resets base transforms yaw

Definition at line 30 of file dayzplayer.c.

◆ m_fInsideCamera

float DayZPlayerCameraResult::m_fInsideCamera
private

0 not used, 1 - pos, 2 - rot, 3 - pos+rot applied as a parent to m_CameraTM, 4 as 3 but cam aligned with Y

0..1 (0 normal lod, 1 inside lod), >0.7 -> inside

Definition at line 25 of file dayzplayer.c.

◆ m_fNearPlane

float DayZPlayerCameraResult::m_fNearPlane
private

nearplane distance

Definition at line 17 of file dayzplayer.c.

◆ m_fPositionModelSpace

float DayZPlayerCameraResult::m_fPositionModelSpace
private

0.0 position is in heading space, 1.0 position is in model space

Definition at line 18 of file dayzplayer.c.

◆ m_fPredictCollisionRadius

float DayZPlayerCameraResult::m_fPredictCollisionRadius
private

sphere radius used for collision prediction

Definition at line 21 of file dayzplayer.c.

◆ m_fShootFromCamera

float DayZPlayerCameraResult::m_fShootFromCamera
private

1(default) - uses shoot from camera (+aiming sway), 0 pure weapon shoot (ironsights == 0)

Definition at line 27 of file dayzplayer.c.

◆ m_fUseHeading

float DayZPlayerCameraResult::m_fUseHeading
private

0..1 (0 uses direct dir returned, 1 uses heading from player)

Definition at line 20 of file dayzplayer.c.

◆ m_iDirectBone

int DayZPlayerCameraResult::m_iDirectBone
private

-1 no bone, >= 0 - bone index camera is bound to, m_CameraTM is offset to the bone

Definition at line 23 of file dayzplayer.c.

◆ m_iDirectBoneMode

int DayZPlayerCameraResult::m_iDirectBoneMode
private

Definition at line 24 of file dayzplayer.c.

◆ m_OwnerTM

vector DayZPlayerCameraResult::m_OwnerTM[4]
private

override automatically calculated owner transform during rendering (default - false)

Definition at line 33 of file dayzplayer.c.


The documentation for this class was generated from the following file: