void DoProcess() { if (!(owner.Value is OpenCVForUnityPlayMakerActions.TrackerDaSiamRPN_Params)) { LogError("owner is not initialized. Add Action \"newTrackerDaSiamRPN_Params\"."); return; } OpenCVForUnity.VideoModule.TrackerDaSiamRPN_Params wrapped_owner = OpenCVForUnityPlayMakerActionsUtils.GetWrappedObject <OpenCVForUnityPlayMakerActions.TrackerDaSiamRPN_Params, OpenCVForUnity.VideoModule.TrackerDaSiamRPN_Params>(owner); storeResult.Value = wrapped_owner.get_kernel_r1(); }
void DoProcess() { if (!(parameters.Value is OpenCVForUnityPlayMakerActions.TrackerDaSiamRPN_Params)) { LogError("parameters is not initialized. Add Action \"newTrackerDaSiamRPN_Params\"."); return; } OpenCVForUnity.VideoModule.TrackerDaSiamRPN_Params wrapped_parameters = OpenCVForUnityPlayMakerActionsUtils.GetWrappedObject <OpenCVForUnityPlayMakerActions.TrackerDaSiamRPN_Params, OpenCVForUnity.VideoModule.TrackerDaSiamRPN_Params>(parameters); if (!(storeResult.Value is OpenCVForUnityPlayMakerActions.TrackerDaSiamRPN)) { storeResult.Value = new OpenCVForUnityPlayMakerActions.TrackerDaSiamRPN(); } ((OpenCVForUnityPlayMakerActions.TrackerDaSiamRPN)storeResult.Value).wrappedObject = OpenCVForUnity.VideoModule.TrackerDaSiamRPN.create(wrapped_parameters); }
public TrackerDaSiamRPN_Params(OpenCVForUnity.VideoModule.TrackerDaSiamRPN_Params nativeObj) : base(nativeObj) { }