PC Stable Documentation
 
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Loading...
Searching...
No Matches
CameraShake Class Reference

Private Member Functions

void ~CameraShake ()
 
void CameraShake (float strength_factor, float radius, float smoothness, float radius_decay_speed)
 
void Update (float delta_time, out float x_axis, out float y_axis)
 

Private Attributes

const float MIN_PLAYER_DISTANCE = 40
 
float m_Radius
 
float m_RadiusDecaySpeed
 
float m_RandomAngle
 
float m_Time
 
float m_InitLR
 
float m_InitUD
 
bool m_ToDelete
 
float m_Smoothness
 
float m_StregthFactor
 
DayZPlayerImplement m_Player
 

Constructor & Destructor Documentation

◆ ~CameraShake()

void ~CameraShake ( )
inlineprivate

References m_Player.

◆ CameraShake()

void CameraShake ( float  strength_factor,
float  radius,
float  smoothness,
float  radius_decay_speed 
)
inlineprivate

Member Function Documentation

◆ Update()

void Update ( float  delta_time,
out float  x_axis,
out float  y_axis 
)
inlineprivate

Field Documentation

◆ m_InitLR

float m_InitLR
private

◆ m_InitUD

float m_InitUD
private

◆ m_Player

DayZPlayerImplement m_Player
private

Referenced by CameraShake(), and ~CameraShake().

◆ m_Radius

float m_Radius
private

Referenced by CameraShake(), and Update().

◆ m_RadiusDecaySpeed

float m_RadiusDecaySpeed
private

Referenced by CameraShake(), and Update().

◆ m_RandomAngle

float m_RandomAngle
private

Referenced by Update().

◆ m_Smoothness

float m_Smoothness
private

Referenced by CameraShake(), and Update().

◆ m_StregthFactor

float m_StregthFactor
private

Referenced by CameraShake(), and Update().

◆ m_Time

float m_Time
private

◆ m_ToDelete

bool m_ToDelete
private

Referenced by Update().

◆ MIN_PLAYER_DISTANCE

const float MIN_PLAYER_DISTANCE = 40
private

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