コード例 #1
0
 public UsdStageRefPtrVector(UsdStageRefPtrVector other) : this(UsdCsPINVOKE.new_UsdStageRefPtrVector__SWIG_1(UsdStageRefPtrVector.getCPtr(other)), true)
 {
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #2
0
 public UsdStageRefPtrVectorEnumerator(UsdStageRefPtrVector collection)
 {
     collectionRef = collection;
     currentIndex  = -1;
     currentObject = null;
     currentSize   = collectionRef.Count;
 }
コード例 #3
0
 public void SetRange(int index, UsdStageRefPtrVector values)
 {
     UsdCsPINVOKE.UsdStageRefPtrVector_SetRange(swigCPtr, index, UsdStageRefPtrVector.getCPtr(values));
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #4
0
        public UsdStageRefPtrVector FindAllMatching(SdfLayerHandle rootLayer, SdfLayerHandle sessionLayer, ArResolverContext pathResolverContext)
        {
            UsdStageRefPtrVector ret = new UsdStageRefPtrVector(UsdCsPINVOKE.UsdStageCache_FindAllMatching__SWIG_3(swigCPtr, SdfLayerHandle.getCPtr(rootLayer), SdfLayerHandle.getCPtr(sessionLayer), ArResolverContext.getCPtr(pathResolverContext)), true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
コード例 #5
0
        public UsdStageRefPtrVector FindAllMatching(SdfLayerHandle rootLayer)
        {
            UsdStageRefPtrVector ret = new UsdStageRefPtrVector(UsdCsPINVOKE.UsdStageCache_FindAllMatching__SWIG_0(swigCPtr, SdfLayerHandle.getCPtr(rootLayer)), true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
コード例 #6
0
        public static UsdStageRefPtrVector Repeat(UsdStage value, int count)
        {
            global::System.IntPtr cPtr = UsdCsPINVOKE.UsdStageRefPtrVector_Repeat(UsdStage.getCPtr(value), count);
            UsdStageRefPtrVector  ret  = (cPtr == global::System.IntPtr.Zero) ? null : new UsdStageRefPtrVector(cPtr, true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
コード例 #7
0
        public UsdStageRefPtrVector GetRange(int index, int count)
        {
            global::System.IntPtr cPtr = UsdCsPINVOKE.UsdStageRefPtrVector_GetRange(swigCPtr, index, count);
            UsdStageRefPtrVector  ret  = (cPtr == global::System.IntPtr.Zero) ? null : new UsdStageRefPtrVector(cPtr, true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
コード例 #8
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(UsdStageRefPtrVector obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }
コード例 #9
0
        public UsdStageRefPtrVector GetAllStages()
        {
            UsdStageRefPtrVector ret = new UsdStageRefPtrVector(UsdCsPINVOKE.UsdStageCache_GetAllStages(swigCPtr), true);

            return(ret);
        }