void CScriptbind_Debug::AddAABB(Vec3 pos, AABB aabb, ColorF clr, float timeout) { GetIPersistentDebug()->Begin("TestAddAABB", false); #ifndef CRYENGINE_3_4_3 GetIPersistentDebug()->AddAABB(pos, aabb, clr, timeout); #endif }
void CScriptbind_Debug::AddAABB(Vec3 pos, AABB aabb, ColorF clr, float timeout) { GetIPersistentDebug()->Begin("TestAddAABB", false); GetIPersistentDebug()->AddAABB(aabb.min + pos, aabb.max + pos, clr, timeout); }
void CScriptbind_Debug::AddPersistentLine(Vec3 pos, Vec3 end, ColorF clr, float timeout) { GetIPersistentDebug()->Begin("TestAddPersistentLine", false); GetIPersistentDebug()->AddLine(pos, end, clr, timeout); }
void CScriptbind_Debug::AddPersistentText2D(mono::string text, float size, ColorF color, float timeout) { GetIPersistentDebug()->Begin("TestAddPersistentText2D", false); GetIPersistentDebug()->Add2DText(ToCryString(text), size, color, timeout); }
void CScriptbind_Debug::AddDirection(Vec3 pos, float radius, Vec3 dir, ColorF color, float timeout) { GetIPersistentDebug()->Begin("TestAddDirection", false); GetIPersistentDebug()->AddDirection(pos, radius, dir, color, timeout); }
void CScriptbind_Debug::AddPersistentSphere(Vec3 pos, float radius, ColorF color, float timeout) { // TODO: Find a pretty way to do Begin in C#. GetIPersistentDebug()->Begin("TestAddPersistentSphere", false); GetIPersistentDebug()->AddSphere(pos, radius, color, timeout); }