Skip to content
Jimmy edited this page Sep 27, 2019 · 1 revision

#Input args

BOOLEAN args : (bool value, ...)

value : the default value when the node is created, default = false


IMPLICIT args : (...)

Implicit input takes no additional arguments.


INTEGER args : (int value, int min, int max, bool alt, int step, ...)

value : the default value when the node is created, default = 0
min : the minimum value, default = std::numeric_limits<int>().min()
max : the maximum value, default = std::numeric_limits<int>().max()
alt : use an alternative display; if false, it's just an input field, otherwise it's a slider between min and max, default = false.


LIST args : (int selected, std::vector<std::string> values)

selected : the default selected item in the list, starting at 0. values : list of the different items. e.g. : {'item1', 'item2', …).


PATH args :


REAL args : (float value, float min, float max, bool alt, float step, ...)

value : the default value when the node is created, default = 0.0F
min : the minimum value, default = std::numeric_limits<float>().min()
max : the maximum value, default = std::numeric_limits<float>().max()
alt : use an alternative display; if false, it's just an input field, otherwise it's a slider between min and max, default = false.
step : step the value change when "sliding".


STRING args :


SHAPE args :

Shape input takes no additional arguments.


FIELD args :

Not used for now.


VEC3 args : (float values, float min, float max, bool alt, float step, ...)

values : the default values when the node is created, default = {0.0, 0.0, 0.0}
min : the minimum value, default = std::numeric_limits<float>().min()
max : the maximum value, default = std::numeric_limits<float>().max()
alt : use an alternative display; if false, it's just an input field, otherwise it's a slider between min and max, default = false.
step : step the value change when "sliding".


VEC4 args :


UNDEF args : (...)

Undef is a special type compatible with all others to allow the use of very special I/Os. It has no arguments.

Clone this wiki locally