IGameInputReading::GetTouchState
获取读数中所有活动接触点的触摸输入状态。语法
参数
stateArrayCount _In_类型:uint32_t
stateArray 中的元素数量。
stateArray _Out_writes_(stateArrayCount)_类型:GameInputTouchState* 要用触摸接触数据填充的 GameInputTouchState 结构数组。
返回值
类型:uint32_t 写入stateArray 的 GameInputTouchState 项的数量。
备注
此方法已在 v1 中移除。首先调用 GetTouchCount 以确定所需的数组大小,然后使用大小合适的数组调用GetTouchState。
版本历史
另请参阅
已弃用的 GameInput API 成员IGameInputReading::GetTouchCount
GameInputTouchState
IGameInputReading
