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

◆ DrawSphere()

static Shape Debug::DrawSphere ( vector pos,
float size = 1,
int color = 0x1fff7f7f,
ShapeFlags flags = ShapeFlags.TRANSP|ShapeFlags.NOOUTLINE )
inlinestaticprivate

См. определение в файле 3_Game/DayZ/tools/Debug.c строка 382

383 {
384 Shape shape = Shape.CreateSphere(color, flags, pos, size);
385 if (( flags & ShapeFlags.ONCE ) == 0)
386 m_DebugShapes.Insert(shape);
387 return shape;
388 }
static ref array< Shape > m_DebugShapes
Определения 3_Game/DayZ/tools/Debug.c:24
ShapeFlags
Определения EnDebug.c:126
class DiagMenu Shape
don't call destructor directly. Use Destroy() instead

Перекрестные ссылки m_DebugShapes и Shape.

Используется в CalculateBreadCrumbs(), CalculateLinePointFade(), WeaponDebug::DrawBarrelMemoryPoints(), DrawDebugShape(), WeaponDebug::DrawEyePoint(), WeaponDebug::DrawLineOfFire(), WeaponDebug::DrawLineOfFireCameraHybrid(), WeaponDebug::DrawLineOfFireMuzzleToHit(), PluginBase::EditorUpdateRuler(), Hologram::GetProjectionEntityPosition(), PluginBase::OnUpdate() и SpookyEventBase::Perform().