Exemplo n.º 1
0
 public UsdGeomLongVectorEnumerator(UsdGeomLongVector collection)
 {
     collectionRef = collection;
     currentIndex  = -1;
     currentObject = null;
     currentSize   = collectionRef.Count;
 }
Exemplo n.º 2
0
 public UsdGeomLongVector(UsdGeomLongVector other) : this(UsdCsPINVOKE.new_UsdGeomLongVector__SWIG_1(UsdGeomLongVector.getCPtr(other)), true)
 {
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemplo n.º 3
0
 public void SetRange(int index, UsdGeomLongVector values)
 {
     UsdCsPINVOKE.UsdGeomLongVector_SetRange(swigCPtr, index, UsdGeomLongVector.getCPtr(values));
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemplo n.º 4
0
 public void SetItems(UsdGeomLongVector items, SdfListOpType type)
 {
     UsdCsPINVOKE.SdfInt64ListOp_SetItems(swigCPtr, UsdGeomLongVector.getCPtr(items), (int)type);
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemplo n.º 5
0
 public void SetOrderedItems(UsdGeomLongVector items)
 {
     UsdCsPINVOKE.SdfInt64ListOp_SetOrderedItems(swigCPtr, UsdGeomLongVector.getCPtr(items));
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemplo n.º 6
0
        public bool ReplaceOperations(SdfListOpType op, uint index, uint n, UsdGeomLongVector newItems)
        {
            bool ret = UsdCsPINVOKE.SdfInt64ListOp_ReplaceOperations(swigCPtr, (int)op, index, n, UsdGeomLongVector.getCPtr(newItems));

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemplo n.º 7
0
        public static SdfInt64ListOp Create(UsdGeomLongVector prependedItems)
        {
            SdfInt64ListOp ret = new SdfInt64ListOp(UsdCsPINVOKE.SdfInt64ListOp_Create__SWIG_2(UsdGeomLongVector.getCPtr(prependedItems)), true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemplo n.º 8
0
        public static UsdGeomLongVector Repeat(long value, int count)
        {
            global::System.IntPtr cPtr = UsdCsPINVOKE.UsdGeomLongVector_Repeat(value, count);
            UsdGeomLongVector     ret  = (cPtr == global::System.IntPtr.Zero) ? null : new UsdGeomLongVector(cPtr, true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemplo n.º 9
0
        public UsdGeomLongVector GetRange(int index, int count)
        {
            global::System.IntPtr cPtr = UsdCsPINVOKE.UsdGeomLongVector_GetRange(swigCPtr, index, count);
            UsdGeomLongVector     ret  = (cPtr == global::System.IntPtr.Zero) ? null : new UsdGeomLongVector(cPtr, true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemplo n.º 10
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(UsdGeomLongVector obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }
Exemplo n.º 11
0
        public UsdGeomLongVector GetAppendedItems()
        {
            UsdGeomLongVector ret = new UsdGeomLongVector(UsdCsPINVOKE.SdfInt64ListOp_GetAppendedItems(swigCPtr), false);

            return(ret);
        }
Exemplo n.º 12
0
        public UsdGeomLongVector GetItems(SdfListOpType type)
        {
            UsdGeomLongVector ret = new UsdGeomLongVector(UsdCsPINVOKE.SdfInt64ListOp_GetItems(swigCPtr, (int)type), false);

            return(ret);
        }