public PcpNodeRefVector(PcpNodeRefVector other) : this(UsdCsPINVOKE.new_PcpNodeRefVector__SWIG_1(PcpNodeRefVector.getCPtr(other)), true)
 {
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public PcpNodeRefVectorEnumerator(PcpNodeRefVector collection)
 {
     collectionRef = collection;
     currentIndex  = -1;
     currentObject = null;
     currentSize   = collectionRef.Count;
 }
 public void SetRange(int index, PcpNodeRefVector values)
 {
     UsdCsPINVOKE.PcpNodeRefVector_SetRange(swigCPtr, index, PcpNodeRefVector.getCPtr(values));
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
        public static PcpNodeRefVector Repeat(PcpNodeRef value, int count)
        {
            global::System.IntPtr cPtr = UsdCsPINVOKE.PcpNodeRefVector_Repeat(PcpNodeRef.getCPtr(value), count);
            PcpNodeRefVector      ret  = (cPtr == global::System.IntPtr.Zero) ? null : new PcpNodeRefVector(cPtr, true);

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

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Beispiel #6
0
        public PcpNodeRefVector GetChildren()
        {
            PcpNodeRefVector ret = new PcpNodeRefVector(UsdCsPINVOKE.PcpNodeRef_GetChildren(swigCPtr), true);

            return(ret);
        }
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(PcpNodeRefVector obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }