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

◆ DebugDirectionDraw() [2/2]

override Shape Component::DebugDirectionDraw ( float distance = 1)
inlineprotected

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

62 {
63 #ifndef DEVELOPER
64 return null;
65 #endif
66
68 {
69 m_DebugShapeDirection.Destroy();
70 }
71
72 vector p1 = "0 0 0";
73 vector p2 = m_ThisEntityAI.GetDirection() * m_DebugShapeDirectionDist;
75 m_DebugShapeDirection = Debug.DrawArrow(p1, p2);
76
77 g_Game.GetCallQueue(CALL_CATEGORY_GUI).CallLater(OnDrawing, 0, true);
78
79 m_ThisEntityAI.SetEventMask(EntityEvent.FRAME);
80 return null;
81 }
string Debug()
Определения CachedEquipmentStorageBase.c:29
DayZGame g_Game
Определения DayZGame.c:3942
EntityAI m_ThisEntityAI
Определения Component.c:24
void OnDrawing()
Определения ComponentEntityDebug.c:102
Shape m_DebugShapeDirection
Определения ComponentEntityDebug.c:5
float m_DebugShapeDirectionDist
Определения ComponentEntityDebug.c:6
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::DrawArrow(), g_Game, m_DebugShapeDirection, m_DebugShapeDirectionDist, m_ThisEntityAI, OnDrawing() и Shape.