예제 #1
0
        public static UsdGeomModelAPI Get(UsdStageWeakPtr stage, SdfPath path)
        {
            UsdGeomModelAPI ret = new UsdGeomModelAPI(UsdCsPINVOKE.UsdGeomModelAPI_Get(UsdStageWeakPtr.getCPtr(stage), SdfPath.getCPtr(path)), true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
예제 #2
0
        public static UsdGeomModelAPI Apply(UsdPrim prim)
        {
            UsdGeomModelAPI ret = new UsdGeomModelAPI(UsdCsPINVOKE.UsdGeomModelAPI_Apply(UsdPrim.getCPtr(prim)), true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
예제 #3
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(UsdGeomModelAPI obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }