DayZ 1.27
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 строка 323

324 {
325 m_ParticleID = id;
326
327 Particle p = GetParticle();
328 if (p)
329 {
330 p.SetSource(id);
331 }
332 }
Particle GetParticle()
Gets the main particle which this Effect is managing.
Определения EffectParticle.c:162
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().