C# Class GPUGraph.Editor.NodeTree_Element_Option

Inheritance: NodeTree_Element
Show file Open project: heyx3/GPUNoiseForUnity Class Usage Examples

Public Properties

Property Type Description
Name string
NodeFactory Func

Public Methods

Method Description
NodeTree_Element_Option ( Func nodeFactory, string name, string tooltip = "" ) : System
OnGUI ( ) : NodeTree_Element_Option
OneVarFunc ( string func, string title, string tooltip, string var = "f", float defVal = float.NaN ) : NodeTree_Element_Option
ThreeVarFunc ( string func, string title, string tooltip, string var1 = "x", float defVal1 = float.NaN, string var2 = "y", float defVal2 = float.NaN, string var3 = "t", float defVal3 = float.NaN ) : NodeTree_Element_Option
TwoVarFunc ( string func, string title, string tooltip, string var1 = "x", float defVal1 = float.NaN, string var2 = "y", float defVal2 = float.NaN ) : NodeTree_Element_Option

Method Details

NodeTree_Element_Option() public method

public NodeTree_Element_Option ( Func nodeFactory, string name, string tooltip = "" ) : System
nodeFactory Func
name string
tooltip string
return System

OnGUI() public method

public OnGUI ( ) : NodeTree_Element_Option
return NodeTree_Element_Option

OneVarFunc() public static method

public static OneVarFunc ( string func, string title, string tooltip, string var = "f", float defVal = float.NaN ) : NodeTree_Element_Option
func string
title string
tooltip string
var string
defVal float
return NodeTree_Element_Option

ThreeVarFunc() public static method

public static ThreeVarFunc ( string func, string title, string tooltip, string var1 = "x", float defVal1 = float.NaN, string var2 = "y", float defVal2 = float.NaN, string var3 = "t", float defVal3 = float.NaN ) : NodeTree_Element_Option
func string
title string
tooltip string
var1 string
defVal1 float
var2 string
defVal2 float
var3 string
defVal3 float
return NodeTree_Element_Option

TwoVarFunc() public static method

public static TwoVarFunc ( string func, string title, string tooltip, string var1 = "x", float defVal1 = float.NaN, string var2 = "y", float defVal2 = float.NaN ) : NodeTree_Element_Option
func string
title string
tooltip string
var1 string
defVal1 float
var2 string
defVal2 float
return NodeTree_Element_Option

Property Details

Name public property

public string Name
return string

NodeFactory public property

public Func NodeFactory
return Func