public UsdGeomSubset CreateMaterialBindSubset(TfToken subsetName, VtIntArray indices) { UsdGeomSubset ret = new UsdGeomSubset(UsdCsPINVOKE.UsdShadeMaterialBindingAPI_CreateMaterialBindSubset__SWIG_1(swigCPtr, TfToken.getCPtr(subsetName), VtIntArray.getCPtr(indices)), true); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public static UsdGeomSubset CreateUniqueGeomSubset(UsdGeomImageable geom, TfToken subsetName, TfToken elementType, VtIntArray indices) { UsdGeomSubset ret = new UsdGeomSubset(UsdCsPINVOKE.UsdGeomSubset_CreateUniqueGeomSubset__SWIG_2(UsdGeomImageable.getCPtr(geom), TfToken.getCPtr(subsetName), TfToken.getCPtr(elementType), VtIntArray.getCPtr(indices)), true); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public static UsdGeomSubset Define(UsdStageWeakPtr stage, SdfPath path) { UsdGeomSubset ret = new UsdGeomSubset(UsdCsPINVOKE.UsdGeomSubset_Define(UsdStageWeakPtr.getCPtr(stage), SdfPath.getCPtr(path)), true); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(UsdGeomSubset obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }