public static void Draw() { if (m_Enabled && IsAnyEditorActive()) { VoxelHandShape.Draw(); if (MyVoxelConstants.VOXEL_HAND_DRAW_CONE && !MyFakes.MWBUILDER) { VoxelHandShape.DrawCone(m_conePosition); } if (MyEditor.DisplayVoxelBounding) { foreach (MyEntity voxelMapEntity in MyVoxelMaps.GetVoxelMaps()) { MyVoxelMap voxelMap = voxelMapEntity as MyVoxelMap; voxelMap.DrawBounding(); } } if (MyFakes.MWBUILDER) { Matrix wm = VoxelHandShape.WorldMatrix; Vector4 clr = Vector4.One; MySimpleObjectDraw.DrawTransparentSphere(ref wm, 10, ref clr, false, 8); MyDebugDraw.TextBatch.AddText(wm.Translation, new System.Text.StringBuilder(MyUtils.GetFormatedVector3(wm.Translation, 0)), Color.White, 0.8f); } } }