Set value of a specific variable as 64bit floating point..
Syntax |
void set_double(const string &in name, double value) |
---|---|
name |
Variable name |
value |
Value of the variable |
Result |
(none) |
Notes |
For more information about the variable, see the section on default variables. |
Example of use:
bool execute(pan3d::object @panel) { ... panel.set_double("item1.posA", -3.14); ... } |