IWheel.SetVariableFloat Method

Marks the variable with the specified name as requesting an update to the specified signed floating-point value.

Syntax

public:
void SetVariableFloat(
         String name,
         float32 value
)  

Parameters

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 IWheel.CreateVariable method.

value
Type: float32 

  Signed floating-point value to set to the specified variable.

Remarks

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 IWheel.UpdateVariablesToDevice method.

Requirements

Namespace: Microsoft.Xbox.Input

Metadata: microsoft.xbox.input.winmd

See also

Reference

IWheel Interface

IWheel Members

Microsoft.Xbox.Input Namespace