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