Ejemplo n.º 1
0
 public aiQuatKeyVector(aiQuatKeyVector other) : this(AssimpPINVOKE.new_aiQuatKeyVector__SWIG_1(aiQuatKeyVector.getCPtr(other)), true)
 {
     if (AssimpPINVOKE.SWIGPendingException.Pending)
     {
         throw AssimpPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 2
0
    private aiQuatKeyVector GetmRotationKeys()
    {
        IntPtr          cPtr = AssimpPINVOKE.aiNodeAnim_GetmRotationKeys(swigCPtr);
        aiQuatKeyVector ret  = (cPtr == IntPtr.Zero) ? null : new aiQuatKeyVector(cPtr, true);

        return(ret);
    }
Ejemplo n.º 3
0
 public aiQuatKeyVectorEnumerator(aiQuatKeyVector collection)
 {
     collectionRef = collection;
     currentIndex  = -1;
     currentObject = null;
     currentSize   = collectionRef.Count;
 }
Ejemplo n.º 4
0
 public void SetRange(int index, aiQuatKeyVector values)
 {
     AssimpPINVOKE.aiQuatKeyVector_SetRange(swigCPtr, index, aiQuatKeyVector.getCPtr(values));
     if (AssimpPINVOKE.SWIGPendingException.Pending)
     {
         throw AssimpPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 5
0
    public static aiQuatKeyVector Repeat(aiQuatKey value, int count)
    {
        IntPtr          cPtr = AssimpPINVOKE.aiQuatKeyVector_Repeat(aiQuatKey.getCPtr(value), count);
        aiQuatKeyVector ret  = (cPtr == IntPtr.Zero) ? null : new aiQuatKeyVector(cPtr, true);

        if (AssimpPINVOKE.SWIGPendingException.Pending)
        {
            throw AssimpPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Ejemplo n.º 6
0
    public aiQuatKeyVector GetRange(int index, int count)
    {
        IntPtr          cPtr = AssimpPINVOKE.aiQuatKeyVector_GetRange(swigCPtr, index, count);
        aiQuatKeyVector ret  = (cPtr == IntPtr.Zero) ? null : new aiQuatKeyVector(cPtr, true);

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