Marks the variable with the specified name as requesting an update to the specified signed floating-point value.
public:
void SetVariableFloat(
String name,
float32 value
)
name
Type: String
Name of the variable to set the value of. This variable must have already been created on the device by a previous call to the Wheel.CreateVariable method.
value
Type: float32
Signed floating-point value to set to the specified variable.
Important This method marks the variable as requesting a value change; it does not immediately change the value of the variable on the device. The value of the variable on the device will be updated during the next call to the Wheel.UpdateVariablesToDevice method.
Namespace: Microsoft.Xbox.Input
Metadata: microsoft.xbox.input.winmd