public void SetPayload(SdfPayload value) { UsdCsPINVOKE.SdfPrimSpecHandle_SetPayload(swigCPtr, SdfPayload.getCPtr(value)); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } }
public bool SetPayload(SdfPayload payload) { bool ret = UsdCsPINVOKE.UsdPrim_SetPayload__SWIG_0(swigCPtr, SdfPayload.getCPtr(payload)); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public bool AddPayload(SdfPayload payload, UsdListPosition position) { bool ret = UsdCsPINVOKE.UsdPayloads_AddPayload__SWIG_0(swigCPtr, SdfPayload.getCPtr(payload), (int)position); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public bool RemovePayload(SdfPayload arg0) { bool ret = UsdCsPINVOKE.UsdPayloads_RemovePayload(swigCPtr, SdfPayload.getCPtr(arg0)); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public SdfPayload GetPayload() { SdfPayload ret = new SdfPayload(UsdCsPINVOKE.SdfPrimSpecHandle_GetPayload(swigCPtr), true); return(ret); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SdfPayload obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }