예제 #1
0
        void DoProcess()
        {
            if (!(owner.Value is OpenCVForUnityPlayMakerActions.EstimateParameters))
            {
                LogError("owner is not initialized. Add Action \"newEstimateParameters\".");
                return;
            }
            OpenCVForUnity.ArucoModule.EstimateParameters wrapped_owner = OpenCVForUnityPlayMakerActionsUtils.GetWrappedObject <OpenCVForUnityPlayMakerActions.EstimateParameters, OpenCVForUnity.ArucoModule.EstimateParameters>(owner);

            wrapped_owner.set_solvePnPMethod(solvePnPMethod.Value);
        }