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

◆ DisplayVisualDebug()

void BleedingSourcesManagerBase::DisplayVisualDebug ( )
inlineprotected

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

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

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

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