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

◆ GetEyePointPosition()

vector WeaponDebug::GetEyePointPosition ( Weapon weapon)
inlineprivate

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

273 {
274 string memory_point_name = weapon.ConfigGetString("memoryPointCamera");
275 ItemBase optics = weapon.GetAttachedOptics();
276 if (optics)
277 {
278 memory_point_name = optics.ConfigGetString("memoryPointCamera");
279 return optics.ModelToWorld(optics.GetSelectionPositionLS( memory_point_name ));
280 }
281 return weapon.ModelToWorld(weapon.GetSelectionPositionLS( memory_point_name ));
282
283 }
class GP5GasMask extends MaskBase ItemBase

Используется в DrawEyePoint().