Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
Loading...
Searching...
No Matches
CameraShake Class Reference

Private Member Functions

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

Private Attributes

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

Detailed Description

Definition at line 1 of file camerashake.c.

Constructor & Destructor Documentation

◆ ~CameraShake()

void ~CameraShake ( )
inlineprivate

Definition at line 16 of file camerashake.c.

References m_Player.

◆ CameraShake()

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

Definition at line 23 of file camerashake.c.

References g_Game, m_Player, m_Radius, m_RadiusDecaySpeed, m_Smoothness, and m_StregthFactor.

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

Definition at line 9 of file camerashake.c.

◆ m_InitUD

float m_InitUD
private

Definition at line 10 of file camerashake.c.

◆ m_Player

Definition at line 14 of file camerashake.c.

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

◆ m_Radius

float m_Radius
private

Definition at line 5 of file camerashake.c.

Referenced by CameraShake(), and Update().

◆ m_RadiusDecaySpeed

float m_RadiusDecaySpeed
private

Definition at line 6 of file camerashake.c.

Referenced by CameraShake(), and Update().

◆ m_RandomAngle

float m_RandomAngle
private

Definition at line 7 of file camerashake.c.

Referenced by Update().

◆ m_Smoothness

float m_Smoothness
private

Definition at line 12 of file camerashake.c.

Referenced by CameraShake(), and Update().

◆ m_StregthFactor

float m_StregthFactor
private

Definition at line 13 of file camerashake.c.

Referenced by CameraShake(), and Update().

◆ m_Time

float m_Time
private

Definition at line 8 of file camerashake.c.

◆ m_ToDelete

bool m_ToDelete
private

Definition at line 11 of file camerashake.c.

Referenced by Update().

◆ MIN_PLAYER_DISTANCE

const float MIN_PLAYER_DISTANCE = 40
private

Definition at line 3 of file camerashake.c.


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