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

Закрытые члены

void Hit_Wood ()
 
override void OnEnterCalculations (Particle p)
 
override void OnExitCalculations (Particle p, float outSpeedf)
 

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

Конструктор(ы)

◆ Hit_Wood()

void Hit_Wood ( )
inlineprivate
4 {
8 }
void SetExitParticle(int id)
Definition BulletImpactBase.c:50
void SetRicochetParticle(int id)
Definition BulletImpactBase.c:55
void SetEnterParticle(int id)
Definition BulletImpactBase.c:45
Definition ParticleList.c:12
static const int IMPACT_WOOD_RICOCHET
Definition ParticleList.c:203
static const int IMPACT_WOOD_EXIT
Definition ParticleList.c:204
static const int IMPACT_WOOD_ENTER
Definition ParticleList.c:202

Перекрестные ссылки ParticleList::IMPACT_WOOD_ENTER, ParticleList::IMPACT_WOOD_EXIT, ParticleList::IMPACT_WOOD_RICOCHET, EffBulletImpactBase::SetEnterParticle(), EffBulletImpactBase::SetExitParticle() и EffBulletImpactBase::SetRicochetParticle().

Методы

◆ OnEnterCalculations()

override void OnEnterCalculations ( Particle p)
inlineprivate
11 {
12 // All values represent scale
17
20
23
26
27
28
29 p.ScaleParticleParam(EmitorParam.VELOCITY, velocity_min);
30 p.ScaleParticleParam(EmitorParam.VELOCITY_RND, velocity_max);
31 p.ScaleParticleParam(EmitorParam.SIZE, size);
32 p.ScaleParticleParam(EmitorParam.BIRTH_RATE, birth_rate);
33 }
float m_EnterSplashCoef
Definition BulletImpactBase.c:29
float MIN_SCALING_PARAM
Definition BulletImpactBase.c:7
float m_StoppingForce
Definition BulletImpactBase.c:10
Definition EntityAI.c:95
EmitorParam
Definition EnVisual.c:114

Перекрестные ссылки EffBulletImpactBase::m_EnterSplashCoef, EffBulletImpactBase::m_StoppingForce и EffBulletImpactBase::MIN_SCALING_PARAM.

◆ OnExitCalculations()

override void OnExitCalculations ( Particle p,
float outSpeedf )
inlineprivate
36 {
39 float size = 1 + ( outSpeedf * m_ExitSplashCoef)*0.5;
40 float birth_rate = 1 + (outSpeedf * m_ExitSplashCoef)*0.5;
41
44
47
50
51 p.ScaleParticleParam(EmitorParam.VELOCITY, velocity_min);
52 p.ScaleParticleParam(EmitorParam.VELOCITY_RND, velocity_max);
53 p.ScaleParticleParam(EmitorParam.SIZE, size);
54 p.ScaleParticleParam(EmitorParam.BIRTH_RATE, birth_rate);
55 }
float m_ExitSplashCoef
Definition BulletImpactBase.c:30

Перекрестные ссылки EffBulletImpactBase::m_ExitSplashCoef и EffBulletImpactBase::MIN_SCALING_PARAM.


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