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

◆ GetCurrentLocalPosition()

override vector EffectParticle::GetCurrentLocalPosition ( )
inlineprotected

Get the current local position of the managed Particle.

Возвращает
vector The current local position of the managed Particle

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

456 {
457 Particle p = GetParticle();
458
459 if (p)
460 {
461 Object parent = GetParent();
462
463 if (parent)
464 return parent.WorldToModel(p.GetPosition());
465 else
466 return p.GetPosition();
467 }
468 else
469 return super.GetLocalPosition();
470 }
Particle GetParticle()
Gets the main particle which this Effect is managing.
Определения EffectParticle.c:166
class LOD Object
proto native Widget GetParent()
Get parent of the Effect.
Определения Effect.c:422

Перекрестные ссылки GetParent() и GetParticle().