public UsdGeomCollectionAPIVector(UsdGeomCollectionAPIVector other) : this(UsdCsPINVOKE.new_UsdGeomCollectionAPIVector__SWIG_1(UsdGeomCollectionAPIVector.getCPtr(other)), true) { if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } }
public UsdGeomCollectionAPIVectorEnumerator(UsdGeomCollectionAPIVector collection) { collectionRef = collection; currentIndex = -1; currentObject = null; currentSize = collectionRef.Count; }
public void SetRange(int index, UsdGeomCollectionAPIVector values) { UsdCsPINVOKE.UsdGeomCollectionAPIVector_SetRange(swigCPtr, index, UsdGeomCollectionAPIVector.getCPtr(values)); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } }
public static UsdGeomCollectionAPIVector GetCollections(UsdSchemaBase schemaObj) { UsdGeomCollectionAPIVector ret = new UsdGeomCollectionAPIVector(UsdCsPINVOKE.UsdGeomCollectionAPI_GetCollections__SWIG_1(UsdSchemaBase.getCPtr(schemaObj)), true); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public static UsdGeomCollectionAPIVector GetCollections(UsdPrim prim) { UsdGeomCollectionAPIVector ret = new UsdGeomCollectionAPIVector(UsdCsPINVOKE.UsdGeomCollectionAPI_GetCollections__SWIG_0(UsdPrim.getCPtr(prim)), true); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public static UsdGeomCollectionAPIVector Repeat(UsdGeomCollectionAPI value, int count) { global::System.IntPtr cPtr = UsdCsPINVOKE.UsdGeomCollectionAPIVector_Repeat(UsdGeomCollectionAPI.getCPtr(value), count); UsdGeomCollectionAPIVector ret = (cPtr == global::System.IntPtr.Zero) ? null : new UsdGeomCollectionAPIVector(cPtr, true); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public UsdGeomCollectionAPIVector GetRange(int index, int count) { global::System.IntPtr cPtr = UsdCsPINVOKE.UsdGeomCollectionAPIVector_GetRange(swigCPtr, index, count); UsdGeomCollectionAPIVector ret = (cPtr == global::System.IntPtr.Zero) ? null : new UsdGeomCollectionAPIVector(cPtr, true); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(UsdGeomCollectionAPIVector obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }