Method | Description | |
---|---|---|
OnChanged ( |
Raises the Changed event.
|
|
ToString ( ) : String | ||
VectorVariable ( Bar bar, float x, float y, float z, String def = null ) : System |
Creates a new vector variable in a given bar.
|
Method | Description | |
---|---|---|
GetCallback ( |
Called by AntTweakBar when AntTweakBar needs the variable's value.
|
|
InitVectorVariable ( |
Initialization delegate, which creates the vector variable.
|
|
IsValid ( float x, float y, float z ) : bool |
Checks if this variable can hold this value.
|
|
SetCallback ( |
Called by AntTweakBar when the user changes the variable's value.
|
|
ValidateAndSet ( float x, float y, float z ) : void |
Tries to set this variable's value, validating it.
|
public VectorVariable ( Bar bar, float x, float y, float z, String def = null ) : System | ||
bar | Bar | The bar to create the vector variable in. |
x | float | The initial X-component value of the variable. |
y | float | The initial Y-component value of the variable. |
z | float | The initial Z-component value of the variable. |
def | String | An optional definition string for the new variable. |
return | System |