void DoProcess()
        {
            if (!(owner.Value is OpenCVForUnityPlayMakerActions.QRCodeEncoder_Params))
            {
                LogError("owner is not initialized. Add Action \"newQRCodeEncoder_Params\".");
                return;
            }
            OpenCVForUnity.ObjdetectModule.QRCodeEncoder_Params wrapped_owner = OpenCVForUnityPlayMakerActionsUtils.GetWrappedObject <OpenCVForUnityPlayMakerActions.QRCodeEncoder_Params, OpenCVForUnity.ObjdetectModule.QRCodeEncoder_Params>(owner);

            wrapped_owner.set_version(version.Value);
        }
Exemple #2
0
        void DoProcess()
        {
            if (!(owner.Value is OpenCVForUnityPlayMakerActions.QRCodeEncoder_Params))
            {
                LogError("owner is not initialized. Add Action \"newQRCodeEncoder_Params\".");
                return;
            }
            OpenCVForUnity.ObjdetectModule.QRCodeEncoder_Params wrapped_owner = OpenCVForUnityPlayMakerActionsUtils.GetWrappedObject <OpenCVForUnityPlayMakerActions.QRCodeEncoder_Params, OpenCVForUnity.ObjdetectModule.QRCodeEncoder_Params>(owner);

            storeResult.Value = wrapped_owner.get_structure_number();
        }
Exemple #3
0
        void DoProcess()
        {
            if (!(parameters.Value is OpenCVForUnityPlayMakerActions.QRCodeEncoder_Params))
            {
                LogError("parameters is not initialized. Add Action \"newQRCodeEncoder_Params\".");
                return;
            }
            OpenCVForUnity.ObjdetectModule.QRCodeEncoder_Params wrapped_parameters = OpenCVForUnityPlayMakerActionsUtils.GetWrappedObject <OpenCVForUnityPlayMakerActions.QRCodeEncoder_Params, OpenCVForUnity.ObjdetectModule.QRCodeEncoder_Params>(parameters);

            if (!(storeResult.Value is OpenCVForUnityPlayMakerActions.QRCodeEncoder))
            {
                storeResult.Value = new OpenCVForUnityPlayMakerActions.QRCodeEncoder();
            }
            ((OpenCVForUnityPlayMakerActions.QRCodeEncoder)storeResult.Value).wrappedObject = OpenCVForUnity.ObjdetectModule.QRCodeEncoder.create(wrapped_parameters);
        }
Exemple #4
0
 public QRCodeEncoder_Params(OpenCVForUnity.ObjdetectModule.QRCodeEncoder_Params nativeObj) : base(nativeObj)
 {
 }