コード例 #1
0
        public void SetBlur(float v)
        {
            bluriness = v;
            float x = 1.0f / ppManager.Screen.Width;
            float y = 1.0f / ppManager.Screen.Height;

            horizontalBlurParameters = CalculateBlurParams(x, 0);
            verticalBlurParameters   = CalculateBlurParams(0, y);
        }
コード例 #2
0
 public void SetBlur(float v)
 {
     bluriness = v;
     float x = 1.0f / ppManager.Screen.Width;
     float y = 1.0f / ppManager.Screen.Height;
     horizontalBlurParameters = CalculateBlurParams(x, 0);
     verticalBlurParameters = CalculateBlurParams(0, y);
 }