Esempio n. 1
0
 public aiColor4DVector(aiColor4DVector other) : this(AssimpPINVOKE.new_aiColor4DVector__SWIG_1(aiColor4DVector.getCPtr(other)), true)
 {
     if (AssimpPINVOKE.SWIGPendingException.Pending)
     {
         throw AssimpPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Esempio n. 2
0
 public aiColor4DVectorEnumerator(aiColor4DVector collection)
 {
     collectionRef = collection;
     currentIndex  = -1;
     currentObject = null;
     currentSize   = collectionRef.Count;
 }
Esempio n. 3
0
 public void SetRange(int index, aiColor4DVector values)
 {
     AssimpPINVOKE.aiColor4DVector_SetRange(swigCPtr, index, aiColor4DVector.getCPtr(values));
     if (AssimpPINVOKE.SWIGPendingException.Pending)
     {
         throw AssimpPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Esempio n. 4
0
    public static aiColor4DVector Repeat(aiColor4D value, int count)
    {
        IntPtr          cPtr = AssimpPINVOKE.aiColor4DVector_Repeat(aiColor4D.getCPtr(value), count);
        aiColor4DVector ret  = (cPtr == IntPtr.Zero) ? null : new aiColor4DVector(cPtr, true);

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

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