public static UsdSkelBindingAPI Get(UsdStageWeakPtr stage, SdfPath path) { UsdSkelBindingAPI ret = new UsdSkelBindingAPI(UsdCsPINVOKE.UsdSkelBindingAPI_Get(UsdStageWeakPtr.getCPtr(stage), SdfPath.getCPtr(path)), true); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public static UsdSkelBindingAPI Apply(UsdPrim prim) { UsdSkelBindingAPI ret = new UsdSkelBindingAPI(UsdCsPINVOKE.UsdSkelBindingAPI_Apply(UsdPrim.getCPtr(prim)), true); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(UsdSkelBindingAPI obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }