DayZ 1.27
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
78
79 m_ThisEntityAI.SetEventMask(EntityEvent.FRAME);
80 return null;
81 }
void Debug()
Определения UniversalTemperatureSource.c:349
override ScriptCallQueue GetCallQueue(int call_category)
Определения DayZGame.c:1187
EntityAI m_ThisEntityAI
Определения Component.c:24
void OnDrawing()
Определения ComponentEntityDebug.c:102
Shape m_DebugShapeDirection
Определения ComponentEntityDebug.c:5
float m_DebugShapeDirectionDist
Определения ComponentEntityDebug.c:6
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::DrawArrow(), CGame::GetCallQueue(), GetGame(), m_DebugShapeDirection, m_DebugShapeDirectionDist, m_ThisEntityAI, OnDrawing() и Shape.