public SubEntityList(SubEntityList other) : this(OgrePINVOKE.new_SubEntityList__SWIG_1(SubEntityList.getCPtr(other)), true) { if (OgrePINVOKE.SWIGPendingException.Pending) { throw OgrePINVOKE.SWIGPendingException.Retrieve(); } }
public SubEntityListEnumerator(SubEntityList collection) { collectionRef = collection; currentIndex = -1; currentObject = null; currentSize = collectionRef.Count; }
public void SetRange(int index, SubEntityList values) { OgrePINVOKE.SubEntityList_SetRange(swigCPtr, index, SubEntityList.getCPtr(values)); if (OgrePINVOKE.SWIGPendingException.Pending) { throw OgrePINVOKE.SWIGPendingException.Retrieve(); } }
public SubEntityList getSubEntities() { SubEntityList ret = new SubEntityList(OgrePINVOKE.Entity_getSubEntities(swigCPtr), false); if (OgrePINVOKE.SWIGPendingException.Pending) { throw OgrePINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public static SubEntityList Repeat(SubEntity value, int count) { global::System.IntPtr cPtr = OgrePINVOKE.SubEntityList_Repeat(SubEntity.getCPtr(value), count); SubEntityList ret = (cPtr == global::System.IntPtr.Zero) ? null : new SubEntityList(cPtr, true); if (OgrePINVOKE.SWIGPendingException.Pending) { throw OgrePINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public SubEntityList GetRange(int index, int count) { global::System.IntPtr cPtr = OgrePINVOKE.SubEntityList_GetRange(swigCPtr, index, count); SubEntityList ret = (cPtr == global::System.IntPtr.Zero) ? null : new SubEntityList(cPtr, true); if (OgrePINVOKE.SWIGPendingException.Pending) { throw OgrePINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SubEntityList obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }