Beispiel #1
0
 public aiBoneVector(aiBoneVector other) : this(AssimpPINVOKE.new_aiBoneVector__SWIG_1(aiBoneVector.getCPtr(other)), true)
 {
     if (AssimpPINVOKE.SWIGPendingException.Pending)
     {
         throw AssimpPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Beispiel #2
0
 public aiBoneVectorEnumerator(aiBoneVector collection)
 {
     collectionRef = collection;
     currentIndex  = -1;
     currentObject = null;
     currentSize   = collectionRef.Count;
 }
Beispiel #3
0
    private aiBoneVector GetmBones()
    {
        IntPtr       cPtr = AssimpPINVOKE.aiMesh_GetmBones(swigCPtr);
        aiBoneVector ret  = (cPtr == IntPtr.Zero) ? null : new aiBoneVector(cPtr, true);

        return(ret);
    }
Beispiel #4
0
 public void SetRange(int index, aiBoneVector values)
 {
     AssimpPINVOKE.aiBoneVector_SetRange(swigCPtr, index, aiBoneVector.getCPtr(values));
     if (AssimpPINVOKE.SWIGPendingException.Pending)
     {
         throw AssimpPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Beispiel #5
0
    public static aiBoneVector Repeat(aiBone value, int count)
    {
        IntPtr       cPtr = AssimpPINVOKE.aiBoneVector_Repeat(aiBone.getCPtr(value), count);
        aiBoneVector ret  = (cPtr == IntPtr.Zero) ? null : new aiBoneVector(cPtr, true);

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

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