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

◆ AddAsChild()

void EffectParticle::AddAsChild ( Object obj,
vector local_pos,
vector local_ori,
bool force_rotation_to_world )
inlineprotected

Helper method to attach to parent.

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

276 {
277 Particle p = GetParticle();
278 if (p)
279 {
280 p.AddAsChild(obj, local_pos, local_ori, force_rotation_to_world);
281 }
282 }
Particle GetParticle()
Gets the main particle which this Effect is managing.
Определения EffectParticle.c:166
void AddAsChild(Object parent, vector local_pos="0 0 0", vector local_ori="0 0 0", bool force_rotation_to_world=false)
Attaches this particle onto some object. If null value is provided then the particle will be detached...
Определения Particle.c:563

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

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