コード例 #1
0
ファイル: aiNodeVector.cs プロジェクト: HBDLP/LearnOpenGL
 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
ファイル: aiNodeVector.cs プロジェクト: HBDLP/LearnOpenGL
 public aiNodeVectorEnumerator(aiNodeVector collection)
 {
     collectionRef = collection;
     currentIndex  = -1;
     currentObject = null;
     currentSize   = collectionRef.Count;
 }
コード例 #4
0
ファイル: aiNodeVector.cs プロジェクト: HBDLP/LearnOpenGL
 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
ファイル: aiNodeVector.cs プロジェクト: HBDLP/LearnOpenGL
    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
ファイル: aiNodeVector.cs プロジェクト: HBDLP/LearnOpenGL
    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
ファイル: aiNodeVector.cs プロジェクト: HBDLP/LearnOpenGL
 internal static HandleRef getCPtr(aiNodeVector obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }