DayZ 1.26
DayZ Explorer by KGB
Загрузка...
Поиск...
Не найдено
Класс UndergroundBunkerHandlerClient
+ Граф наследования:UndergroundBunkerHandlerClient:

Защищенные члены

bool CalculateEyeAcco (float timeSlice)
 
void CalculateEyeAccoTarget ()
 
void ProcessLighting (float timeSlice)
 
void ApplyEyeAcco ()
 
void ProcessSound (float timeSlice)
 

Защищенные данные

bool m_IsDoorOpening
 
float m_AnimPhasePrev
 

Подробное описание

Методы

◆ ApplyEyeAcco()

void ApplyEyeAcco ( )
inlineprotected
48 {
50 super.ApplyEyeAcco();
51 }
float m_LightingLerp
Definition UndergroundHandlerClient.c:30
Definition EntityAI.c:95

Перекрестные ссылки m_LightingLerp.

◆ CalculateEyeAcco()

bool CalculateEyeAcco ( float timeSlice)
inlineprotected
7 {
9 {
13 }
14 else
15 {
19 }
20
21 return true;
22 }
float m_EyeAcco
Definition UndergroundHandlerClient.c:28
float m_EyeAccoTarget
Definition UndergroundHandlerClient.c:26
Input value between 0 and 1, returns value adjusted by easing, no automatic clamping of input(do your...
Definition Easing.c:3
static float EaseInOutCubic(float t)
Definition Easing.c:48
static float EaseOutQuad(float t)
Definition Easing.c:24
Definition EnMath.c:7
bool m_IsDoorOpening
Definition UndergroundBunkerHandlerClient.c:3
static proto float Clamp(float value, float min, float max)
Clamps 'value' to 'min' if it is lower than 'min', or to 'max' if it is higher than 'max'.
static proto float InverseLerp(float a, float b, float value)
Calculates the linear value that produces the interpolant value within the range [a,...

Перекрестные ссылки Math::Clamp(), Easing::EaseInOutCubic(), Easing::EaseOutQuad(), Math::InverseLerp(), m_EyeAcco, m_EyeAccoTarget и m_IsDoorOpening.

◆ CalculateEyeAccoTarget()

void CalculateEyeAccoTarget ( )
inlineprotected
25 {
27 if (trigger)
28 {
29 EntityAI building = EntityAI.Cast(trigger.GetParent());
30 if (building)
31 {
32 float animPhase = building.GetAnimationPhase(trigger.m_LinkedDoorSelection);
36
37 }
38
39 }
40 }
UndergroundTrigger m_TransitionalTrigger
Definition UndergroundHandlerClient.c:33
Definition Building.c:6
float m_AnimPhasePrev
Definition UndergroundBunkerHandlerClient.c:4
Definition UndergroundBunkerTrigger.c:10

Перекрестные ссылки m_AnimPhasePrev, m_EyeAccoTarget, m_IsDoorOpening и m_TransitionalTrigger.

◆ ProcessLighting()

void ProcessLighting ( float timeSlice)
inlineprotected
43 {
44 //we don't want to change the lighting
45 }

◆ ProcessSound()

void ProcessSound ( float timeSlice)
inlineprotected
54 {
55 GetGame().GetWorld().SetExplicitVolumeFactor_EnvSounds2D(m_EyeAcco, 0);
56 }
proto native CGame GetGame()

Перекрестные ссылки GetGame() и m_EyeAcco.

Поля

◆ m_AnimPhasePrev

float m_AnimPhasePrev
protected

Используется в CalculateEyeAccoTarget().

◆ m_IsDoorOpening

bool m_IsDoorOpening
protected

Используется в CalculateEyeAcco() и CalculateEyeAccoTarget().


Объявления и описания членов класса находятся в файле: