/// <description> /// Remove all objects in the given set from this selection. /// </description> public void Subtract(SimSet selection) { InternalUnsafeMethods.Subtract__Args _args = new InternalUnsafeMethods.Subtract__Args() { selection = selection.ObjectPtr, }; InternalUnsafeMethods.Subtract()(ObjectPtr, _args); }
/// <description> /// Add all objects in the given set to this selection. /// </description> public void Union(SimSet selection) { InternalUnsafeMethods.Union__Args _args = new InternalUnsafeMethods.Union__Args() { selection = selection.ObjectPtr, }; InternalUnsafeMethods.Union()(ObjectPtr, _args); }
/// <description> /// Get the number of direct and indirect child objects contained in the set. /// </description> /// <returns>The number of objects contained in the set as well as in other sets contained directly or indirectly in the set.</returns> public static uint GetCountRecursive(SimSet set) { InternalUnsafeMethods.GetCountRecursive__Args _args = new InternalUnsafeMethods.GetCountRecursive__Args() { set = set.ObjectPtr, }; uint _engineResult = InternalUnsafeMethods.GetCountRecursive()(_args); return(_engineResult); }