示例#1
0
        public static UsdGeomMotionAPI Get(UsdStageWeakPtr stage, SdfPath path)
        {
            UsdGeomMotionAPI ret = new UsdGeomMotionAPI(UsdCsPINVOKE.UsdGeomMotionAPI_Get(UsdStageWeakPtr.getCPtr(stage), SdfPath.getCPtr(path)), true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
示例#2
0
        public static UsdGeomMotionAPI Apply(UsdPrim prim)
        {
            UsdGeomMotionAPI ret = new UsdGeomMotionAPI(UsdCsPINVOKE.UsdGeomMotionAPI_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(UsdGeomMotionAPI obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }