XGameStreamingTouchControlsStateValue
指定触摸控件状态的特定元素的类型和值。语法
成员
valueKind类型:XGameStreamingTouchControlsStateValueKind 触摸控件状态的特定元素的类型。 booleanValue
类型:bool 要应用的布尔值。 integerValue
类型:int64_t 要应用的整数值。 doubleValue
类型:double 要应用的双精度值。 stringValue
类型:const char* 要应用的字符串值。
备注
你使用此结构来提供触摸控件状态的特定元素的类型和值。 你应只提供表示所修改变量类型的单个值。 如果指定了错误的值类型,则会导致运行时错误,在使用 XGameStreamingShowTouchControlsWithStateUpdate 或 XGameStreamingShowTouchControlsWithStateUpdateOnClient 时返回。要求
标头: XGameStreaming.h 支持的平台:Windows、XBOX One 系列主机和 XBOX Series 主机另请参阅
XGameStreamingXGameStreamingTouchControlsStateOperationKind
XGameStreamingTouchControlsStateOperation
XGameStreamingUpdateTouchControlsState
XGameStreamingUpdateTouchControlsStateOnClient
XGameStreamingShowTouchControlsWithStateUpdate
XGameStreamingShowTouchControlsWithStateUpdateOnClient
