Esempio n. 1
0
 public aiVector3DVector(aiVector3DVector other) : this(AssimpPINVOKE.new_aiVector3DVector__SWIG_1(aiVector3DVector.getCPtr(other)), true)
 {
     if (AssimpPINVOKE.SWIGPendingException.Pending)
     {
         throw AssimpPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Esempio n. 2
0
 public aiVector3DVectorEnumerator(aiVector3DVector collection)
 {
     collectionRef = collection;
     currentIndex  = -1;
     currentObject = null;
     currentSize   = collectionRef.Count;
 }
Esempio n. 3
0
    private aiVector3DVector GetmVertices()
    {
        IntPtr           cPtr = AssimpPINVOKE.aiMesh_GetmVertices(swigCPtr);
        aiVector3DVector ret  = (cPtr == IntPtr.Zero) ? null : new aiVector3DVector(cPtr, true);

        return(ret);
    }
Esempio n. 4
0
 public void SetRange(int index, aiVector3DVector values)
 {
     AssimpPINVOKE.aiVector3DVector_SetRange(swigCPtr, index, aiVector3DVector.getCPtr(values));
     if (AssimpPINVOKE.SWIGPendingException.Pending)
     {
         throw AssimpPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Esempio n. 5
0
    public static aiVector3DVector Repeat(aiVector3D value, int count)
    {
        IntPtr           cPtr = AssimpPINVOKE.aiVector3DVector_Repeat(aiVector3D.getCPtr(value), count);
        aiVector3DVector ret  = (cPtr == IntPtr.Zero) ? null : new aiVector3DVector(cPtr, true);

        if (AssimpPINVOKE.SWIGPendingException.Pending)
        {
            throw AssimpPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Esempio n. 6
0
    public aiVector3DVector GetRange(int index, int count)
    {
        IntPtr           cPtr = AssimpPINVOKE.aiVector3DVector_GetRange(swigCPtr, index, count);
        aiVector3DVector ret  = (cPtr == IntPtr.Zero) ? null : new aiVector3DVector(cPtr, true);

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