GCMicroGamepadSnapShotDataV100 结构

定义

表示 V100 格式的微型游戏板在某个时间点的瞬时状态。

[ObjCRuntime.TV(9, 0)]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 12, 2, ObjCRuntime.PlatformArchitecture.None, "Use 'GCMicroGamepadSnapshotData' instead.")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.MacOSX, 10, 14, 4, ObjCRuntime.PlatformArchitecture.None, "Use 'GCMicroGamepadSnapshotData' instead.")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.TvOS, 12, 2, ObjCRuntime.PlatformArchitecture.None, "Use 'GCMicroGamepadSnapshotData' instead.")]
public struct GCMicroGamepadSnapShotDataV100
[ObjCRuntime.TV(9, 0)]
public struct GCMicroGamepadSnapShotDataV100
type GCMicroGamepadSnapShotDataV100 = struct
继承
GCMicroGamepadSnapShotDataV100
属性

字段

ButtonA

拍摄快照时 ButtonA 的值。

ButtonX

拍摄快照时 ButtonX 的值。

DPadX

X创建快照时 D 键输入的 v alue。

DPadY

Y拍摄快照时 D-pad 输入的值。

Size

快照的大小(以字节为单位)。

Version

微游戏板版本。

方法

ToNSData()

将快照转换为 NSData 对象。

适用于