Query value of a specific variable as color.
Syntax |
uint32 get_color(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) { ... uint32 c1 = panel.get_color("item1.color"); ... } |