コード例 #1
0
ファイル: Photo.cs プロジェクト: meganeroppy/OpenCVTest
        //javadoc: createTonemapReinhard()
        public static TonemapReinhard createTonemapReinhard()
        {
#if UNITY_PRO_LICENSE || ((UNITY_ANDROID || UNITY_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
            TonemapReinhard retVal = TonemapReinhard.__fromPtr__(photo_Photo_createTonemapReinhard_11());

            return(retVal);
#else
            return(null);
#endif
        }
コード例 #2
0
ファイル: Photo.cs プロジェクト: meganeroppy/OpenCVTest
        //
        // C++:  Ptr_TonemapReinhard createTonemapReinhard(float gamma = 1.0f, float intensity = 0.0f, float light_adapt = 1.0f, float color_adapt = 0.0f)
        //

        //javadoc: createTonemapReinhard(gamma, intensity, light_adapt, color_adapt)
        public static TonemapReinhard createTonemapReinhard(float gamma, float intensity, float light_adapt, float color_adapt)
        {
#if UNITY_PRO_LICENSE || ((UNITY_ANDROID || UNITY_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
            TonemapReinhard retVal = TonemapReinhard.__fromPtr__(photo_Photo_createTonemapReinhard_10(gamma, intensity, light_adapt, color_adapt));

            return(retVal);
#else
            return(null);
#endif
        }