public static UsdGeomFaceSetAPI Create(UsdSchemaBase schemaObj, TfToken setName) { UsdGeomFaceSetAPI ret = new UsdGeomFaceSetAPI(UsdCsPINVOKE.UsdGeomFaceSetAPI_Create__SWIG_3(UsdSchemaBase.getCPtr(schemaObj), TfToken.getCPtr(setName)), true); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public static UsdGeomFaceSetAPI Create(UsdPrim prim, TfToken setName) { UsdGeomFaceSetAPI ret = new UsdGeomFaceSetAPI(UsdCsPINVOKE.UsdGeomFaceSetAPI_Create__SWIG_1(UsdPrim.getCPtr(prim), TfToken.getCPtr(setName)), true); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public static UsdGeomFaceSetAPI GetMaterialFaceSet(UsdPrim prim) { UsdGeomFaceSetAPI ret = new UsdGeomFaceSetAPI(UsdCsPINVOKE.UsdShadeMaterial_GetMaterialFaceSet(UsdPrim.getCPtr(prim)), true); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(UsdGeomFaceSetAPI obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }