C# Class GPUGraph.GraphParamCollection

Afficher le fichier Open project: heyx3/GPUNoiseForUnity Class Usage Examples

Méthodes publiques

Свойство Type Description
FloatParams List
Tex2DParams List

Méthodes publiques

Méthode Description
GraphParamCollection ( Graph g ) : System

Gets all the parameters in the given Graph.

GraphParamCollection ( Graph otherG, GraphParamCollection c ) : System

Gets all parameters from the given collection and recreates them for the given graph.

ParamEditorGUI ( ) : bool

Runs a GUI using EditorGUILayout for these parameters. This GUI can be used to modify each parameter's "default value" fields. Returns whether any values have been changed.

SetParams ( Material m ) : void

Sets the given material to use these parameters, with their default values.

Method Details

GraphParamCollection() public méthode

Gets all the parameters in the given Graph.
public GraphParamCollection ( Graph g ) : System
g Graph
Résultat System

GraphParamCollection() public méthode

Gets all parameters from the given collection and recreates them for the given graph.
public GraphParamCollection ( Graph otherG, GraphParamCollection c ) : System
otherG Graph
c GraphParamCollection
Résultat System

ParamEditorGUI() public méthode

Runs a GUI using EditorGUILayout for these parameters. This GUI can be used to modify each parameter's "default value" fields. Returns whether any values have been changed.
public ParamEditorGUI ( ) : bool
Résultat bool

SetParams() public méthode

Sets the given material to use these parameters, with their default values.
public SetParams ( Material m ) : void
m UnityEngine.Material
Résultat void

Property Details

FloatParams public_oe property

public List FloatParams
Résultat List

Tex2DParams public_oe property

public List Tex2DParams
Résultat List