Property | Type | Description | |
---|---|---|---|
FloatParams | List |
||
GraphShader | |||
Tex2DParams | List |
||
_FloatParams | List<_SerializableFloatParamKVP> | ||
_GraphFile | string | ||
_PreviewMat | |||
_PreviewTex | |||
_PreviewTexScale | float | ||
_PreviewTexWidth | int | ||
_ShaderFile | string | ||
_Tex2DParams | List<_SerializableTex2DParamKVP> |
Method | Description | |
---|---|---|
GenerateToArray ( float outData ) : void |
Outputs noise into the given array.
|
|
GenerateToCurrentFramebuffer ( ) : void |
Outputs noise into the screen or whatever RenderTexture is currently active.
|
|
GenerateToFramebuffer ( |
Outputs noise into the given RenderTexture.
|
|
GenerateToTexture ( int width, int height, TextureFormat fmt = TextureFormat.RGBAFloat, FilterMode filtering = FilterMode.Bilinear, bool mipmaps = true ) : |
Generates to a texture of the given size.
|
|
GenerateToTexture ( |
Outputs noise into the given Texture2D.
|
|
GetParam_Float ( string name ) : float | ||
GetParam_Tex2D ( string name ) : |
||
IndexOfParam_Float ( string name ) : int |
Returns -1 if the param doesn't exist.
|
|
IndexOfParam_Tex2D ( string name ) : int |
Returns -1 if the param doesn't exist.
|
|
SetParam_Float ( string name, float val ) : bool | ||
SetParam_Float ( int index, float val ) : void | ||
SetParam_Tex2D ( string name, |
||
SetParam_Tex2D ( int index, |
||
UpdateAllParams ( ) : void |
Should be called if changes are made to this instance's parameter lists by external code. Otherwise, those new parameter values won't actually be used when generating noise.
|
public GenerateToArray ( float outData ) : void | ||
outData | float | |
return | void |
public GenerateToCurrentFramebuffer ( ) : void | ||
return | void |
public GenerateToFramebuffer ( |
||
outTex | ||
return | void |
public GenerateToTexture ( int width, int height, TextureFormat fmt = TextureFormat.RGBAFloat, FilterMode filtering = FilterMode.Bilinear, bool mipmaps = true ) : |
||
width | int | |
height | int | |
fmt | TextureFormat | |
filtering | FilterMode | |
mipmaps | bool | |
return |
public GenerateToTexture ( |
||
outTex | ||
return | void |
public GetParam_Float ( string name ) : float | ||
name | string | |
return | float |
public GetParam_Tex2D ( string name ) : |
||
name | string | |
return |
public IndexOfParam_Float ( string name ) : int | ||
name | string | |
return | int |
public IndexOfParam_Tex2D ( string name ) : int | ||
name | string | |
return | int |
public SetParam_Float ( string name, float val ) : bool | ||
name | string | |
val | float | |
return | bool |
public SetParam_Float ( int index, float val ) : void | ||
index | int | |
val | float | |
return | void |
public SetParam_Tex2D ( string name, |
||
name | string | |
val | ||
return | bool |
public SetParam_Tex2D ( int index, |
||
index | int | |
val | ||
return | void |
public List<_SerializableFloatParamKVP> _FloatParams | ||
return | List<_SerializableFloatParamKVP> |
public Texture2D,UnityEngine _PreviewTex | ||
return |