DayZ 1.27
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
26
27 m_ThisEntityAI.SetEventMask(EntityEvent.FRAME);
28
29 return null;
30 }
void Debug()
Определения UniversalTemperatureSource.c:349
override ScriptCallQueue GetCallQueue(int call_category)
Определения DayZGame.c:1187
Shape m_DebugShapeBBox
Определения ComponentEntityDebug.c:4
EntityAI m_ThisEntityAI
Определения Component.c:24
void OnDrawing()
Определения ComponentEntityDebug.c:102
proto void CallLater(func fn, int delay=0, bool repeat=false, void param1=NULL, void param2=NULL, void param3=NULL, void param4=NULL, void param5=NULL, void param6=NULL, void param7=NULL, void param8=NULL, void param9=NULL)
adds call into the queue with given parameters and arguments (arguments are held in memory until the ...
proto native CGame GetGame()
EntityEvent
Entity events for event-mask, or throwing event from code.
Определения EnEntity.c:45
const int CALL_CATEGORY_GUI
Определения tools.c:9

Перекрестные ссылки CALL_CATEGORY_GUI, ScriptCallQueue::CallLater(), Debug::DrawBox(), CGame::GetCallQueue(), GetGame(), m_DebugShapeBBox, m_ThisEntityAI, OnDrawing() и Shape.