/// <description> /// Test whether the given object may be added to the set. /// </description> /// <param name="obj">The object to test for potential membership.</param> /// <returns>True if the object may be added to the set, false otherwise.</returns> public bool AcceptsAsChild(SimObject obj) { InternalUnsafeMethods.AcceptsAsChild__Args _args = new InternalUnsafeMethods.AcceptsAsChild__Args() { obj = obj.ObjectPtr, }; bool _engineResult = InternalUnsafeMethods.AcceptsAsChild()(ObjectPtr, _args); return(_engineResult); }