C4 Engine
C4 Engine API Documentation

Variable::SetFloatValue

Defined in:  C4Variables.h
Returns the variable value as a floating-point number.
Prototype

void SetFloatValue(float value);

Parameters
value The new variable value.
Description
The SetFloatValue function sets the value of a variable to the floating-point number specified by the value parameter.

If the variable has observers installed, then they are invoked after the variable's value is set.
See Also

Variable::GetFloatValue

Variable::GetIntegerValue

Variable::SetIntegerValue

Variable::GetValue

Variable::SetValue