Query value of a specific variable as a boolean.
Syntax |
bool get_bool(const string &in name) |
---|---|
name |
Variable name |
Result |
Return value read |
Notes |
For more information about the variable, see the section on default variables. |
Example of use:
bool execute(pan3d::object @panel) { ... bool b1 = panel.get_bool("item1.visible"); ... } |