C# Class GUILayoutExtra, EffectShader

Mostra file Open project: inoook/EffectShader Class Usage Examples

Public Properties

Property Type Description
labelWidth float
whiteTexture Texture2D

Public Methods

Method Description
SelectionEnum ( object v, string name, System enumType ) : object
getWhiteTexture ( ) : Texture2D
inputValue ( float p, string name ) : float
inputValue ( int p, string name ) : int
inputWithValue ( float &p, string name ) : void
inputWithValue ( int &p, string name ) : void
slider ( float p, string name, float min, float max ) : float
slider ( int p, string name, int min, int max ) : int
sliderAndEditableValue ( float p, string name, float min, float max ) : float
sliderAndEditableValue ( float p, string name, float min, float max, string format ) : float
sliderWithValue ( float &p, string name, float min, float max ) : void
sliderWithValue ( int &p, string name, int min, int max ) : void
sliderWithValueReadOnly ( float p, string name, float min, float max ) : void
toggle ( bool p, string name ) : bool
toggleWithValue ( bool &p, string name ) : void
toggleWithValueReadOnly ( bool p, string name ) : void
valueWithLabelReadOnly ( float p, string name ) : void

Method Details

SelectionEnum() public static method

public static SelectionEnum ( object v, string name, System enumType ) : object
v object
name string
enumType System
return object

getWhiteTexture() public static method

public static getWhiteTexture ( ) : Texture2D
return UnityEngine.Texture2D

inputValue() public static method

public static inputValue ( float p, string name ) : float
p float
name string
return float

inputValue() public static method

public static inputValue ( int p, string name ) : int
p int
name string
return int

inputWithValue() public static method

public static inputWithValue ( float &p, string name ) : void
p float
name string
return void

inputWithValue() public static method

public static inputWithValue ( int &p, string name ) : void
p int
name string
return void

slider() public static method

public static slider ( float p, string name, float min, float max ) : float
p float
name string
min float
max float
return float

slider() public static method

public static slider ( int p, string name, int min, int max ) : int
p int
name string
min int
max int
return int

sliderAndEditableValue() public static method

public static sliderAndEditableValue ( float p, string name, float min, float max ) : float
p float
name string
min float
max float
return float

sliderAndEditableValue() public static method

public static sliderAndEditableValue ( float p, string name, float min, float max, string format ) : float
p float
name string
min float
max float
format string
return float

sliderWithValue() public static method

public static sliderWithValue ( float &p, string name, float min, float max ) : void
p float
name string
min float
max float
return void

sliderWithValue() public static method

public static sliderWithValue ( int &p, string name, int min, int max ) : void
p int
name string
min int
max int
return void

sliderWithValueReadOnly() public static method

public static sliderWithValueReadOnly ( float p, string name, float min, float max ) : void
p float
name string
min float
max float
return void

toggle() public static method

public static toggle ( bool p, string name ) : bool
p bool
name string
return bool

toggleWithValue() public static method

public static toggleWithValue ( bool &p, string name ) : void
p bool
name string
return void

toggleWithValueReadOnly() public static method

public static toggleWithValueReadOnly ( bool p, string name ) : void
p bool
name string
return void

valueWithLabelReadOnly() public static method

public static valueWithLabelReadOnly ( float p, string name ) : void
p float
name string
return void

Property Details

labelWidth public_oe static_oe property

public static float labelWidth
return float

whiteTexture public_oe static_oe property

public static Texture2D whiteTexture
return Texture2D