Documentation
›
API Reference
›
Object
›
Widget
SetFloat
Lua
C++
This function sets a user-defined number variable in a widget script.
Syntax
void
SetFloat
(const std::string& name, const float value)
Parameters
name:
name of the variable to set.
value:
value to set.