Пример #1
0
 public aiFaceVector(aiFaceVector other) : this(AssimpPINVOKE.new_aiFaceVector__SWIG_1(aiFaceVector.getCPtr(other)), true)
 {
     if (AssimpPINVOKE.SWIGPendingException.Pending)
     {
         throw AssimpPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Пример #2
0
 public aiFaceVectorEnumerator(aiFaceVector collection)
 {
     collectionRef = collection;
     currentIndex  = -1;
     currentObject = null;
     currentSize   = collectionRef.Count;
 }
Пример #3
0
    private aiFaceVector GetmFaces()
    {
        IntPtr       cPtr = AssimpPINVOKE.aiMesh_GetmFaces(swigCPtr);
        aiFaceVector ret  = (cPtr == IntPtr.Zero) ? null : new aiFaceVector(cPtr, true);

        return(ret);
    }
Пример #4
0
 public void SetRange(int index, aiFaceVector values)
 {
     AssimpPINVOKE.aiFaceVector_SetRange(swigCPtr, index, aiFaceVector.getCPtr(values));
     if (AssimpPINVOKE.SWIGPendingException.Pending)
     {
         throw AssimpPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Пример #5
0
    public static aiFaceVector Repeat(aiFace value, int count)
    {
        IntPtr       cPtr = AssimpPINVOKE.aiFaceVector_Repeat(aiFace.getCPtr(value), count);
        aiFaceVector ret  = (cPtr == IntPtr.Zero) ? null : new aiFaceVector(cPtr, true);

        if (AssimpPINVOKE.SWIGPendingException.Pending)
        {
            throw AssimpPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Пример #6
0
    public aiFaceVector GetRange(int index, int count)
    {
        IntPtr       cPtr = AssimpPINVOKE.aiFaceVector_GetRange(swigCPtr, index, count);
        aiFaceVector ret  = (cPtr == IntPtr.Zero) ? null : new aiFaceVector(cPtr, true);

        if (AssimpPINVOKE.SWIGPendingException.Pending)
        {
            throw AssimpPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Пример #7
0
 internal static HandleRef getCPtr(aiFaceVector obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }