示例#1
0
 public aiNodeVector(aiNodeVector other) : this(AssimpPINVOKE.new_aiNodeVector__SWIG_1(aiNodeVector.getCPtr(other)), true)
 {
     if (AssimpPINVOKE.SWIGPendingException.Pending)
     {
         throw AssimpPINVOKE.SWIGPendingException.Retrieve();
     }
 }
示例#2
0
文件: aiNode.cs 项目: mshimura/CS148
    private aiNodeVector GetmChildren()
    {
        IntPtr       cPtr = AssimpPINVOKE.aiNode_GetmChildren(swigCPtr);
        aiNodeVector ret  = (cPtr == IntPtr.Zero) ? null : new aiNodeVector(cPtr, true);

        return(ret);
    }
示例#3
0
 public aiNodeVectorEnumerator(aiNodeVector collection)
 {
     collectionRef = collection;
     currentIndex  = -1;
     currentObject = null;
     currentSize   = collectionRef.Count;
 }
示例#4
0
 public void SetRange(int index, aiNodeVector values)
 {
     AssimpPINVOKE.aiNodeVector_SetRange(swigCPtr, index, aiNodeVector.getCPtr(values));
     if (AssimpPINVOKE.SWIGPendingException.Pending)
     {
         throw AssimpPINVOKE.SWIGPendingException.Retrieve();
     }
 }
示例#5
0
    public static aiNodeVector Repeat(aiNode value, int count)
    {
        IntPtr       cPtr = AssimpPINVOKE.aiNodeVector_Repeat(aiNode.getCPtr(value), count);
        aiNodeVector ret  = (cPtr == IntPtr.Zero) ? null : new aiNodeVector(cPtr, true);

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

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