public UsdStageRefPtrVector(UsdStageRefPtrVector other) : this(UsdCsPINVOKE.new_UsdStageRefPtrVector__SWIG_1(UsdStageRefPtrVector.getCPtr(other)), true) { if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } }
public UsdStageRefPtrVectorEnumerator(UsdStageRefPtrVector collection) { collectionRef = collection; currentIndex = -1; currentObject = null; currentSize = collectionRef.Count; }
public void SetRange(int index, UsdStageRefPtrVector values) { UsdCsPINVOKE.UsdStageRefPtrVector_SetRange(swigCPtr, index, UsdStageRefPtrVector.getCPtr(values)); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } }
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); }
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); }
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); }
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); }
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); }
public UsdStageRefPtrVector GetAllStages() { UsdStageRefPtrVector ret = new UsdStageRefPtrVector(UsdCsPINVOKE.UsdStageCache_GetAllStages(swigCPtr), true); return(ret); }