Exemple #1
0
    private UintVector GetmMeshes()
    {
        IntPtr     cPtr = AssimpPINVOKE.aiNode_GetmMeshes(swigCPtr);
        UintVector ret  = (cPtr == IntPtr.Zero) ? null : new UintVector(cPtr, true);

        return(ret);
    }
 public UintVector(UintVector other) : this(AssimpPINVOKE.new_UintVector__SWIG_1(UintVector.getCPtr(other)), true)
 {
     if (AssimpPINVOKE.SWIGPendingException.Pending)
     {
         throw AssimpPINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public UintVectorEnumerator(UintVector collection)
 {
     collectionRef = collection;
     currentIndex  = -1;
     currentObject = null;
     currentSize   = collectionRef.Count;
 }
Exemple #4
0
    private UintVector GetmNumUVComponents()
    {
        IntPtr     cPtr = AssimpPINVOKE.aiMesh_GetmNumUVComponents(swigCPtr);
        UintVector ret  = (cPtr == IntPtr.Zero) ? null : new UintVector(cPtr, true);

        return(ret);
    }
 public void SetRange(int index, UintVector values)
 {
     AssimpPINVOKE.UintVector_SetRange(swigCPtr, index, UintVector.getCPtr(values));
     if (AssimpPINVOKE.SWIGPendingException.Pending)
     {
         throw AssimpPINVOKE.SWIGPendingException.Retrieve();
     }
 }
    public static UintVector Repeat(uint value, int count)
    {
        IntPtr     cPtr = AssimpPINVOKE.UintVector_Repeat(value, count);
        UintVector ret  = (cPtr == IntPtr.Zero) ? null : new UintVector(cPtr, true);

        if (AssimpPINVOKE.SWIGPendingException.Pending)
        {
            throw AssimpPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
    public UintVector GetRange(int index, int count)
    {
        IntPtr     cPtr = AssimpPINVOKE.UintVector_GetRange(swigCPtr, index, count);
        UintVector ret  = (cPtr == IntPtr.Zero) ? null : new UintVector(cPtr, true);

        if (AssimpPINVOKE.SWIGPendingException.Pending)
        {
            throw AssimpPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
 internal static HandleRef getCPtr(UintVector obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }