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

432 {
433 Particle p = GetParticle();
434
435 if (p)
436 {
437 Object parent = GetParent();
438
439 if (parent)
440 return parent.WorldToModel(p.GetPosition());
441 else
442 return p.GetPosition();
443 }
444 else
445 return super.GetLocalPosition();
446 }
Particle GetParticle()
Gets the main particle which this Effect is managing.
Определения EffectParticle.c:162
class LOD Object
proto native Widget GetParent()
Get parent of the Effect.
Определения Effect.c:407

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