createBlurredGrayscaleTexture() 공개 정적인 메소드

public static createBlurredGrayscaleTexture ( Color srcData, int width, int height, double deviation = 1 ) : Color[]
srcData Color
width int
height int
deviation double
리턴 Color[]
예제 #1
0
 public static Color[] createBlurredGrayscaleTexture(
     Color[] srcData,
     int width,
     int height,
     double deviation = 1)
 {
     return(GaussianBlur.createBlurredGrayscaleTexture(srcData, width, height, deviation));
 }
예제 #2
0
 /// <summary>
 /// creates a new texture that is a gaussian blurred version of the original in grayscale
 /// </summary>
 /// <returns>The blurred texture.</returns>
 /// <param name="image">Image.</param>
 /// <param name="deviation">Deviation.</param>
 public static Texture2D createBlurredGrayscaleTexture(Texture2D image, double deviation = 1)
 {
     return(GaussianBlur.createBlurredGrayscaleTexture(image, deviation));
 }