public UsdObjectVector(UsdObjectVector other) : this(UsdCsPINVOKE.new_UsdObjectVector__SWIG_1(UsdObjectVector.getCPtr(other)), true) { if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } }
public UsdObjectVectorEnumerator(UsdObjectVector collection) { collectionRef = collection; currentIndex = -1; currentObject = null; currentSize = collectionRef.Count; }
public void SetRange(int index, UsdObjectVector values) { UsdCsPINVOKE.UsdObjectVector_SetRange(swigCPtr, index, UsdObjectVector.getCPtr(values)); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } }
public static UsdObjectVector ComputeIncludedObjects(UsdCollectionAPI.MembershipQuery query, UsdStageWeakPtr stage) { UsdObjectVector ret = new UsdObjectVector(UsdCsPINVOKE.UsdCollectionAPI_ComputeIncludedObjects(UsdCollectionAPI.MembershipQuery.getCPtr(query), UsdStageWeakPtr.getCPtr(stage)), true); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public static UsdObjectVector Repeat(UsdObject value, int count) { global::System.IntPtr cPtr = UsdCsPINVOKE.UsdObjectVector_Repeat(UsdObject.getCPtr(value), count); UsdObjectVector ret = (cPtr == global::System.IntPtr.Zero) ? null : new UsdObjectVector(cPtr, true); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public UsdObjectVector GetRange(int index, int count) { global::System.IntPtr cPtr = UsdCsPINVOKE.UsdObjectVector_GetRange(swigCPtr, index, count); UsdObjectVector ret = (cPtr == global::System.IntPtr.Zero) ? null : new UsdObjectVector(cPtr, true); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(UsdObjectVector obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }