コード例 #1
0
 public aiNodeAnimVector(aiNodeAnimVector other) : this(AssimpPINVOKE.new_aiNodeAnimVector__SWIG_1(aiNodeAnimVector.getCPtr(other)), true)
 {
     if (AssimpPINVOKE.SWIGPendingException.Pending)
     {
         throw AssimpPINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #2
0
    private aiNodeAnimVector GetmChannels()
    {
        IntPtr           cPtr = AssimpPINVOKE.aiAnimation_GetmChannels(swigCPtr);
        aiNodeAnimVector ret  = (cPtr == IntPtr.Zero) ? null : new aiNodeAnimVector(cPtr, true);

        return(ret);
    }
コード例 #3
0
 public aiNodeAnimVectorEnumerator(aiNodeAnimVector collection)
 {
     collectionRef = collection;
     currentIndex  = -1;
     currentObject = null;
     currentSize   = collectionRef.Count;
 }
コード例 #4
0
 public void SetRange(int index, aiNodeAnimVector values)
 {
     AssimpPINVOKE.aiNodeAnimVector_SetRange(swigCPtr, index, aiNodeAnimVector.getCPtr(values));
     if (AssimpPINVOKE.SWIGPendingException.Pending)
     {
         throw AssimpPINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #5
0
    public static aiNodeAnimVector Repeat(aiNodeAnim value, int count)
    {
        IntPtr           cPtr = AssimpPINVOKE.aiNodeAnimVector_Repeat(aiNodeAnim.getCPtr(value), count);
        aiNodeAnimVector ret  = (cPtr == IntPtr.Zero) ? null : new aiNodeAnimVector(cPtr, true);

        if (AssimpPINVOKE.SWIGPendingException.Pending)
        {
            throw AssimpPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
コード例 #6
0
    public aiNodeAnimVector GetRange(int index, int count)
    {
        IntPtr           cPtr = AssimpPINVOKE.aiNodeAnimVector_GetRange(swigCPtr, index, count);
        aiNodeAnimVector ret  = (cPtr == IntPtr.Zero) ? null : new aiNodeAnimVector(cPtr, true);

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