public static EditorObject GetObjectFromScreenPoint(Vec2 pt, out Vec3 hitPos, bool includeFrozen, EditorObjectSelection ignore) { EditorObject result; using (PhysEntityVector vector = PhysEntityVector.Create()) { ignore.GetPhysEntities(vector); result = new EditorObject(Binding.FCE_ObjectManager_GetObjectFromScreenPoint(pt.X, pt.Y, out hitPos.X, out hitPos.Y, out hitPos.Z, includeFrozen, vector.Pointer)); } return result; }
public void ToggleSelection(EditorObjectSelection selection) { Binding.FCE_ObjectSelection_ToggleSelection(this.m_selPtr, selection.Pointer); }
public void MoveTo(Vec3 pos, EditorObjectSelection.MoveMode mode) { Binding.FCE_ObjectSelection_MoveTo(this.m_selPtr, pos.X, pos.Y, pos.Z, (int)mode); }
public void GetValidObjects(EditorObjectSelection selection) { Binding.FCE_ObjectSelection_GetValidObjects(this.m_selPtr, selection.Pointer); }
public void Clone(EditorObjectSelection newSelection, bool cloneObjects) { Binding.FCE_ObjectSelection_Clone(this.m_selPtr, newSelection.Pointer, cloneObjects); }
public void RemoveSelection(EditorObjectSelection selection) { Binding.FCE_ObjectSelection_RemoveSelection(this.m_selPtr, selection.Pointer); }
public static bool RayCastPhysics(Vec3 raySrc, Vec3 rayDir, EditorObjectSelection ignore, out Vec3 hitPos, out float hitDist, out Vec3 hitNormal) { return Binding.FCE_Editor_RayCastPhysics2(raySrc.X, raySrc.Y, raySrc.Z, rayDir.X, rayDir.Y, rayDir.Z, ignore.Pointer, out hitPos.X, out hitPos.Y, out hitPos.Z, out hitDist, out hitNormal.X, out hitNormal.Y, out hitNormal.Z); }
public static bool RayCastPhysics(Vec3 raySrc, Vec3 rayDir, EditorObjectSelection ignore, out Vec3 hitPos, out float hitDist) { Vec3 vec; return RayCastPhysics(raySrc, rayDir, ignore, out hitPos, out hitDist, out vec); }
public static void GetObjectsFromScreenRect(EditorObjectSelection selection, RectangleF rect, bool includeFrozen) { Binding.FCE_ObjectManager_GetObjectsFromScreenRect(selection.Pointer, rect.Left, rect.Top, rect.Right, rect.Bottom, includeFrozen); }
public static void GetObjectsFromScreenRect(EditorObjectSelection selection, RectangleF rect) { ObjectManager.GetObjectsFromScreenRect(selection, rect, false); }
public static void GetObjectsFromMagicWand(EditorObjectSelection selection, EditorObject obj) { Binding.FCE_ObjectManager_GetObjectsFromMagicWand(selection.Pointer, obj.Pointer); }