C# 클래스 GPUGraph.GraphParamCollection

파일 보기 프로젝트 열기: heyx3/GPUNoiseForUnity 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
FloatParams List
Tex2DParams List

공개 메소드들

메소드 설명
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.

메소드 상세

GraphParamCollection() 공개 메소드

Gets all the parameters in the given Graph.
public GraphParamCollection ( Graph g ) : System
g Graph
리턴 System

GraphParamCollection() 공개 메소드

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
리턴 System

ParamEditorGUI() 공개 메소드

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
리턴 bool

SetParams() 공개 메소드

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

프로퍼티 상세

FloatParams 공개적으로 프로퍼티

public List FloatParams
리턴 List

Tex2DParams 공개적으로 프로퍼티

public List Tex2DParams
리턴 List