public PcpLayerStackPtrVector(PcpLayerStackPtrVector other) : this(UsdCsPINVOKE.new_PcpLayerStackPtrVector__SWIG_1(PcpLayerStackPtrVector.getCPtr(other)), true)
 {
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public PcpLayerStackPtrVectorEnumerator(PcpLayerStackPtrVector collection)
 {
     collectionRef = collection;
     currentIndex  = -1;
     currentObject = null;
     currentSize   = collectionRef.Count;
 }
 public void SetRange(int index, PcpLayerStackPtrVector values)
 {
     UsdCsPINVOKE.PcpLayerStackPtrVector_SetRange(swigCPtr, index, PcpLayerStackPtrVector.getCPtr(values));
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Пример #4
0
        public PcpLayerStackPtrVector FindAllLayerStacksUsingLayer(SdfLayerHandle layer)
        {
            PcpLayerStackPtrVector ret = new PcpLayerStackPtrVector(UsdCsPINVOKE.PcpCache_FindAllLayerStacksUsingLayer(swigCPtr, SdfLayerHandle.getCPtr(layer)), false);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
        public static PcpLayerStackPtrVector Repeat(PcpLayerStackPtr value, int count)
        {
            global::System.IntPtr  cPtr = UsdCsPINVOKE.PcpLayerStackPtrVector_Repeat(PcpLayerStackPtr.getCPtr(value), count);
            PcpLayerStackPtrVector ret  = (cPtr == global::System.IntPtr.Zero) ? null : new PcpLayerStackPtrVector(cPtr, true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
        public PcpLayerStackPtrVector GetRange(int index, int count)
        {
            global::System.IntPtr  cPtr = UsdCsPINVOKE.PcpLayerStackPtrVector_GetRange(swigCPtr, index, count);
            PcpLayerStackPtrVector ret  = (cPtr == global::System.IntPtr.Zero) ? null : new PcpLayerStackPtrVector(cPtr, true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(PcpLayerStackPtrVector obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }