예제 #1
0
 public SubEntityList(SubEntityList other) : this(OgrePINVOKE.new_SubEntityList__SWIG_1(SubEntityList.getCPtr(other)), true)
 {
     if (OgrePINVOKE.SWIGPendingException.Pending)
     {
         throw OgrePINVOKE.SWIGPendingException.Retrieve();
     }
 }
예제 #2
0
 public SubEntityListEnumerator(SubEntityList collection)
 {
     collectionRef = collection;
     currentIndex  = -1;
     currentObject = null;
     currentSize   = collectionRef.Count;
 }
예제 #3
0
 public void SetRange(int index, SubEntityList values)
 {
     OgrePINVOKE.SubEntityList_SetRange(swigCPtr, index, SubEntityList.getCPtr(values));
     if (OgrePINVOKE.SWIGPendingException.Pending)
     {
         throw OgrePINVOKE.SWIGPendingException.Retrieve();
     }
 }
예제 #4
0
        public SubEntityList getSubEntities()
        {
            SubEntityList ret = new SubEntityList(OgrePINVOKE.Entity_getSubEntities(swigCPtr), false);

            if (OgrePINVOKE.SWIGPendingException.Pending)
            {
                throw OgrePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
예제 #5
0
        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);
        }
예제 #6
0
        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);
        }
예제 #7
0
 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);
 }