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

◆ DisplayVisualDebug()

void BleedingSourcesManagerBase::DisplayVisualDebug ( )
inlineprotected

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

227 {
228 /*
229 if(m_Point)
230 {
231 Debug.RemoveShape(m_Point);
232 }
233
234 int boneIdx = m_Player.GetBoneIndexByName("LeftKneeExtra");
235 int pointIdx = m_Player.GetMemoryPointIndex("lknee");
236
237 vector posLS = DayZPlayerUtils.GetMemoryPointPositionBoneRelative(m_Player, boneIdx, pointIdx);
238
239 vector pTm[4];
240 m_Player.GetBoneTransformMS(boneIdx, pTm);
241 vector posMS = posLS.Multiply4(pTm);
242
243 vector pos = m_Player.ModelToWorld(posMS);
244 m_Point = Debug.DrawSphere(pos, 0.1, COLOR_RED);
245 */
246
247 m_ShowingDiagDraw = true;
248
249 int bsCount = m_BleedingSources.Count();
250 for (int i = 0; i < bsCount; ++i)
251 {
252 m_BleedingSources.GetElement(i).DrawDebugShape();
253 }
254 }
ref map< int, ref BleedingSource > m_BleedingSources
Определения BleedingSourcesManagerBase.c:3

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

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