public UsdGeomSubsetVector(UsdGeomSubsetVector other) : this(UsdCsPINVOKE.new_UsdGeomSubsetVector__SWIG_1(UsdGeomSubsetVector.getCPtr(other)), true) { if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } }
public UsdGeomSubsetVectorEnumerator(UsdGeomSubsetVector collection) { collectionRef = collection; currentIndex = -1; currentObject = null; currentSize = collectionRef.Count; }
public void SetRange(int index, UsdGeomSubsetVector values) { UsdCsPINVOKE.UsdGeomSubsetVector_SetRange(swigCPtr, index, UsdGeomSubsetVector.getCPtr(values)); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } }
public static UsdGeomSubsetVector GetMaterialBindSubsets(UsdGeomImageable geom) { UsdGeomSubsetVector ret = new UsdGeomSubsetVector(UsdCsPINVOKE.UsdShadeMaterial_GetMaterialBindSubsets(UsdGeomImageable.getCPtr(geom)), true); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public static bool ValidateSubsets(UsdGeomSubsetVector subsets, uint elementCount, TfToken familyType, /*cstype*/ out string reason) { bool ret = UsdCsPINVOKE.UsdGeomSubset_ValidateSubsets(UsdGeomSubsetVector.getCPtr(subsets), elementCount, TfToken.getCPtr(familyType), out reason); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public static VtIntArray GetUnassignedIndices(UsdGeomSubsetVector subsets, uint elementCount) { VtIntArray ret = new VtIntArray(UsdCsPINVOKE.UsdGeomSubset_GetUnassignedIndices__SWIG_1(UsdGeomSubsetVector.getCPtr(subsets), elementCount), true); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public static UsdGeomSubsetVector GetGeomSubsets(UsdGeomImageable geom, TfToken elementType) { UsdGeomSubsetVector ret = new UsdGeomSubsetVector(UsdCsPINVOKE.UsdGeomSubset_GetGeomSubsets__SWIG_1(UsdGeomImageable.getCPtr(geom), TfToken.getCPtr(elementType)), true); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public static UsdGeomSubsetVector Repeat(UsdGeomSubset value, int count) { global::System.IntPtr cPtr = UsdCsPINVOKE.UsdGeomSubsetVector_Repeat(UsdGeomSubset.getCPtr(value), count); UsdGeomSubsetVector ret = (cPtr == global::System.IntPtr.Zero) ? null : new UsdGeomSubsetVector(cPtr, true); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public UsdGeomSubsetVector GetRange(int index, int count) { global::System.IntPtr cPtr = UsdCsPINVOKE.UsdGeomSubsetVector_GetRange(swigCPtr, index, count); UsdGeomSubsetVector ret = (cPtr == global::System.IntPtr.Zero) ? null : new UsdGeomSubsetVector(cPtr, true); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public UsdGeomSubsetVector GetMaterialBindSubsets() { UsdGeomSubsetVector ret = new UsdGeomSubsetVector(UsdCsPINVOKE.UsdShadeMaterialBindingAPI_GetMaterialBindSubsets(swigCPtr), true); return(ret); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(UsdGeomSubsetVector obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }