Example #1
0
        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);
        }
Example #2
0
        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);
        }
Example #3
0
        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);
        }
Example #4
0
 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);
 }