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

◆ SetCurrentParticleID()

void EffectParticle::SetCurrentParticleID ( int id)
inlineprotected

Sets the id of the particle to be used.

Заметки
Particle will not update immediately, but ParticleSource will
Аргументы
idint Particle ID registered in ParticleList

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

348 {
349 m_ParticleID = id;
350
351 Particle p = GetParticle();
352 if (p)
353 {
354 p.SetSource(id);
355 }
356 }
Particle GetParticle()
Gets the main particle which this Effect is managing.
Определения EffectParticle.c:166
int m_ParticleID
The ID in the ParticleList to create Particle from.
Определения EffectParticle.c:14
void SetSource(int particle_id)
Sets particle id.
Определения Particle.c:285

Перекрестные ссылки GetParticle(), m_ParticleID и Particle::SetSource().