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

◆ DebugBBoxDraw() [2/2]

override Shape Component::DebugBBoxDraw ( )
inlineprotected

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

10 {
11 #ifndef DEVELOPER
12 return null;
13 #endif
14
15 if ( m_DebugShapeBBox )
16 m_DebugShapeBBox.Destroy();
17
18 vector min_max[2];
19
20 if (!m_ThisEntityAI.GetCollisionBox(min_max))
21 return null;
22
23 m_DebugShapeBBox = Debug.DrawBox(min_max[0], min_max[1]);
24
25 g_Game.GetCallQueue(CALL_CATEGORY_GUI).CallLater(OnDrawing, 0, true);
26
27 m_ThisEntityAI.SetEventMask(EntityEvent.FRAME);
28
29 return null;
30 }
string Debug()
Определения CachedEquipmentStorageBase.c:29
DayZGame g_Game
Определения DayZGame.c:3942
Shape m_DebugShapeBBox
Определения ComponentEntityDebug.c:4
EntityAI m_ThisEntityAI
Определения Component.c:24
void OnDrawing()
Определения ComponentEntityDebug.c:102
EntityEvent
Entity events for event-mask, or throwing event from code.
Определения EnEntity.c:45
const int CALL_CATEGORY_GUI
Определения 3_Game/DayZ/tools/tools.c:9

Перекрестные ссылки CALL_CATEGORY_GUI, Debug::DrawBox(), g_Game, m_DebugShapeBBox, m_ThisEntityAI, OnDrawing() и Shape.