DayZ 1.27
DayZ Explorer by KGB
 
Загрузка...
Поиск...
Не найдено

◆ SetParticleState()

void EffVehicleSmoke::SetParticleState ( int state)
inlineprivate

См. определение в файле VehicleSmoke.c строка 20

21 {
22 bool was_playing = IsPlaying();
23
24 Stop();
25
26 SetParticleID(state);
27
28 if (was_playing)
29 {
30 Start(); // resume effect
31 }
32 }
bool IsPlaying()
Returns true when the Effect is playing, false otherwise.
Определения Effect.c:195
override void Stop()
Stops all elements this effect consists of.
Определения EffectParticle.c:204
override void Start()
Plays all elements this effect consists of.
Определения EffectParticle.c:181
void SetParticleID(int id)
Sets the id of the particle to be used.
Определения EffectParticle.c:303

Перекрестные ссылки IsPlaying(), EffectParticle::SetParticleID(), EffectParticle::Start() и EffectParticle::Stop().

Используется в EffEngineSmoke::Event_OnFrameUpdate(), EffCoolantSteam::SetParticleStateHeavy(), EffEngineSmoke::SetParticleStateHeavy(), SetParticleStateHeavy(), EffCoolantSteam::SetParticleStateLight(), EffEngineSmoke::SetParticleStateLight(), EffExhaustSmoke::SetParticleStateLight() и SetParticleStateLight().