> ## Documentation Index
> Fetch the complete documentation index at: https://docs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# GameInputTouchShape（已弃用）

> GameInputTouchShape

# GameInputTouchShape

> [!WARNING]
>
> **已弃用。** 此枚举已在 GameInput v1 中移除，当前 API 中不再提供。

定义描述触摸传感器表面几何形状的常量。

## 语法

```cpp theme={null}
enum GameInputTouchShape
{
    GameInputTouchShapeUnknown      = -1,
    GameInputTouchShapeNone         = 0,
    GameInputTouchShape1DLinear     = 1,
    GameInputTouchShape1DArc        = 2,
    GameInputTouchShape1DRadial     = 3,
    GameInputTouchShape2DRectangle  = 4,
    GameInputTouchShape2DArbitrary  = 5,
    GameInputTouchShape3DCylinder   = 6,
    GameInputTouchShape3DSphere     = 7,
    GameInputTouchShape3DArbitrary  = 8,
};
```

## 常量

| 常量 | 值 | 说明 |
| - | - | - |
| GameInputTouchShapeUnknown | -1 | 形状未知。 |
| GameInputTouchShapeNone | 0 | 未定义形状。 |
| GameInputTouchShape1DLinear | 1 | 一维线性条带。 |
| GameInputTouchShape1DArc | 2 | 一维弧形。 |
| GameInputTouchShape1DRadial | 3 | 一维径向刻度盘。 |
| GameInputTouchShape2DRectangle | 4 | 二维矩形触控板。 |
| GameInputTouchShape2DArbitrary | 5 | 二维任意形状。 |
| GameInputTouchShape3DCylinder | 6 | 三维圆柱体。 |
| GameInputTouchShape3DSphere | 7 | 三维球体。 |
| GameInputTouchShape3DArbitrary | 8 | 三维任意形状。 |

## 版本历史

| 版本 | 变更 |
| - | - |
| **v1** | 已移除。 |
| **v0** | 已引入。 |

## 另请参阅

[已弃用的 GameInput API 成员](https://docs.xbox.com/zh-CN/reference/input/gameinput/deprecated/gameinput_deprecated_members.md)
[GameInputTouchSensorInfo](https://docs.xbox.com/zh-CN/reference/input/gameinput/deprecated/structs/gameinputtouchsensorinfo.md)


## Related topics

- [GameInputTouchSensorInfo（已弃用）](https://docs.xbox.com/zh-CN/reference/input/gameinput/deprecated/structs/gameinputtouchsensorinfo.md)
- [已弃用的 GameInput API 成员](https://docs.xbox.com/zh-CN/reference/input/gameinput/deprecated/gameinput_deprecated_members.md)
- [GameInputTouchState（已弃用）](https://docs.xbox.com/zh-CN/reference/input/gameinput/deprecated/structs/gameinputtouchstate.md)
- [IGameInputReading::GetTouchCount（已弃用）](https://docs.xbox.com/zh-CN/reference/input/gameinput/deprecated/interfaces/igameinputreading/methods/igameinputreading_gettouchcount.md)
- [IGameInputReading::GetTouchState（已弃用）](https://docs.xbox.com/zh-CN/reference/input/gameinput/deprecated/interfaces/igameinputreading/methods/igameinputreading_gettouchstate.md)
