Exemple #1
0
 public aiVertexWeightVector(aiVertexWeightVector other) : this(AssimpPINVOKE.new_aiVertexWeightVector__SWIG_1(aiVertexWeightVector.getCPtr(other)), true)
 {
     if (AssimpPINVOKE.SWIGPendingException.Pending)
     {
         throw AssimpPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemple #2
0
    private aiVertexWeightVector GetmWeights()
    {
        IntPtr cPtr = AssimpPINVOKE.aiBone_GetmWeights(swigCPtr);
        aiVertexWeightVector ret = (cPtr == IntPtr.Zero) ? null : new aiVertexWeightVector(cPtr, true);

        return(ret);
    }
Exemple #3
0
 public aiVertexWeightVectorEnumerator(aiVertexWeightVector collection)
 {
     collectionRef = collection;
     currentIndex  = -1;
     currentObject = null;
     currentSize   = collectionRef.Count;
 }
Exemple #4
0
 public void SetRange(int index, aiVertexWeightVector values)
 {
     AssimpPINVOKE.aiVertexWeightVector_SetRange(swigCPtr, index, aiVertexWeightVector.getCPtr(values));
     if (AssimpPINVOKE.SWIGPendingException.Pending)
     {
         throw AssimpPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemple #5
0
    public static aiVertexWeightVector Repeat(aiVertexWeight value, int count)
    {
        IntPtr cPtr = AssimpPINVOKE.aiVertexWeightVector_Repeat(aiVertexWeight.getCPtr(value), count);
        aiVertexWeightVector ret = (cPtr == IntPtr.Zero) ? null : new aiVertexWeightVector(cPtr, true);

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

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