Метод | Описание | |
---|---|---|
GenerateToArray ( float outData, |
Uses the given noise material to generate noise into the given array.
|
|
GenerateToTexture ( |
Renders the given material into the given render target using a full-screen quad. Assumes the material uses a shader generated from a Graph. Optionally copies the resulting texture data into a Texture2D for further processing.
|
Метод | Описание | |
---|---|---|
SetUpColorTex ( int width, int height ) : void |
public static GenerateToArray ( float outData, |
||
outData | float | |
noiseMat | ||
Результат | void |
public static GenerateToTexture ( |
||
rendTarget | /// If set to "null", the noise will be rendered onto the screen. /// | |
noiseMat | ||
copyTo | ||
Результат | void |