Метод | Описание | |
---|---|---|
ColorVariable ( Bar bar, float r, float g, float b, String def = null ) : System |
Creates a new RGB color variable in a given bar.
|
|
OnChanged ( |
Raises the Changed event.
|
|
ToString ( ) : String |
Метод | Описание | |
---|---|---|
GetCallback ( |
Called by AntTweakBar when AntTweakBar needs the variable's value.
|
|
InitColorVariable ( |
Initialization delegate, which creates the RGB color variable.
|
|
IsValid ( float r, float g, float b ) : bool |
Checks if this variable can hold this value.
|
|
SetCallback ( |
Called by AntTweakBar when the user changes the variable's value.
|
|
ValidateAndSet ( float r, float g, float b ) : void |
Tries to set this variable's value, validating it.
|
public ColorVariable ( Bar bar, float r, float g, float b, String def = null ) : System | ||
bar | Bar | The bar to create the RGB color variable in. |
r | float | The initial red channel value of the variable. |
g | float | The initial green channel value of the variable. |
b | float | The initial blue channel value of the variable. |
def | String | An optional definition string for the new variable. |
Результат | System |
public OnChanged ( |
||
e | ||
Результат | void |