Variable
Behavior variable linked to the python script in order to exchange information.
Attributes
-
Name: The name used when referring to this element from other places.
-
Data type: The var type, determines which type of value the variable is initialized to:
- smtk_bool -> Booleans:
true
/false
- smtk_bytes -> UTF8 encoded string:
Hey!
- smtk_int -> Decimal number:
3
- smtk_float -> Floating point number:
2.5
- smtk_string -> Text without quotes:
Hey!
- smtk_vector2 -> Two numbers splitted by spaces:
45 32
- smtk_vector3 -> Three numbers splitted by spaces:
10 20 30
- smtk_rgba -> RGBA values separated by spaces and normalized:
1 0 0 1
(red) - smtk_vector6 -> Six numbers splitted by spaces:
1 2 3 4 5 6
- smtk_coefficient -> Floating point number in a 0-1 range:
0.25
- smtk_transform -> Seven numbers splitted by spaces (position/rotation in quaternions:
1 1 2 0.7071 0 0 0.7071
- smtk_mechanical_choice -> Joints mode:
velocity
/position
- smtk_camera_format_choice -> Camera formats:
L
/RGB
/D
/RGBD
.
- smtk_bool -> Booleans:
-
Type: Specifies whether the variable is an input, output, constant or parameter.
- Public: If enabled, the variable will be visible in the workspace.