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

◆ DisplayVisualDebug()

void BleedingSourcesManagerBase::DisplayVisualDebug ( )
inlineprotected

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

214 {
215 /*
216 if (m_Point)
217 {
218 Debug.RemoveShape(m_Point);
219 }
220
221 int boneIdx = m_Player.GetBoneIndexByName("LeftKneeExtra");
222 int pointIdx = m_Player.GetMemoryPointIndex("lknee");
223
224 vector posLS = DayZPlayerUtils.GetMemoryPointPositionBoneRelative(m_Player, boneIdx, pointIdx);
225
226 vector pTm[4];
227 m_Player.GetBoneTransformMS(boneIdx, pTm);
228 vector posMS = posLS.Multiply4(pTm);
229
230 vector pos = m_Player.ModelToWorld(posMS);
231 m_Point = Debug.DrawSphere(pos, 0.1, COLOR_RED);
232 */
233
234 m_ShowingDiagDraw = true;
235
236 int bsCount = m_BleedingSources.Count();
237 for (int i = 0; i < bsCount; ++i)
238 {
239 m_BleedingSources.GetElement(i).DrawDebugShape();
240 }
241 }
ref map< int, ref BleedingSource > m_BleedingSources
Определения BleedingSourcesManagerBase.c:3

Перекрестные ссылки m_BleedingSources и m_ShowingDiagDraw.

Используется в OnUpdate().