DayZ 1.28
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/tools/Debug.c строка 319

320 {
321 Shape shape = Shape.CreateSphere(color, flags, pos, size);
322 if (( flags & ShapeFlags.ONCE ) == 0)
323 m_DebugShapes.Insert(shape);
324 return shape;
325 }
static ref array< Shape > m_DebugShapes
Определения 3_Game/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().