XGameStreamingTouchControlsStateValue
Specifies the type and value of a specific element of touch control state.
Syntax
struct XGameStreamingTouchControlsStateValue {
XGameStreamingTouchControlsStateValueKind valueKind;
union
{
bool booleanValue;
int64_t integerValue;
double doubleValue;
const char* stringValue;
};
};
Members
valueKind
Type: XGameStreamingTouchControlsStateValueKind
The type of the specific element of touch control state.
booleanValue
Type: bool
The boolean value to be applied.
integerValue
Type: int64_t
The integer value to be applied.
doubleValue
Type: double
The double value to be applied.
stringValue
Type: const char*
The string value to be applied.
Remarks
You use this structure to provide the type and value of a specific element of touch control state.
You should provide just a single value that represents the type of the variable being modified.
If you specify an incorrect value type, then it causes a runtime error, returned when using either XGameStreamingShowTouchControlsWithStateUpdate or XGameStreamingShowTouchControlsWithStateUpdateOnClient.
Requirements
Header: XGameStreaming.h
Supported Platforms: Windows, Xbox One family consoles and Xbox Series consoles
See also
XGameStreaming
XGameStreamingTouchControlsStateOperationKind
XGameStreamingTouchControlsStateOperation
XGameStreamingUpdateTouchControlsState
XGameStreamingUpdateTouchControlsStateOnClient
XGameStreamingShowTouchControlsWithStateUpdate
XGameStreamingShowTouchControlsWithStateUpdateOnClient