ホーム › UI.Input.GameInput › GameInputMotionState
GameInputMotionState
構造体サイズ=各フィールドのバイト数(x64/x86 で異なる場合は x64/x86 と併記)。x64/x86 列=フィールドのバイトオフセット(HSPで dupptr / lpoke / wpoke 等に使用)。
フィールド
| フィールド | 型 | サイズ | x64 | x86 |
|---|---|---|---|---|
| accelerationX | FLOAT | 4 | +0 | +0 |
| accelerationY | FLOAT | 4 | +4 | +4 |
| accelerationZ | FLOAT | 4 | +8 | +8 |
| angularVelocityX | FLOAT | 4 | +12 | +12 |
| angularVelocityY | FLOAT | 4 | +16 | +16 |
| angularVelocityZ | FLOAT | 4 | +20 | +20 |
| magneticFieldX | FLOAT | 4 | +24 | +24 |
| magneticFieldY | FLOAT | 4 | +28 | +28 |
| magneticFieldZ | FLOAT | 4 | +32 | +32 |
| orientationW | FLOAT | 4 | +36 | +36 |
| orientationX | FLOAT | 4 | +40 | +40 |
| orientationY | FLOAT | 4 | +44 | +44 |
| orientationZ | FLOAT | 4 | +48 | +48 |
| accelerometerAccuracy | GameInputMotionAccuracy | 4 | +52 | +52 |
| gyroscopeAccuracy | GameInputMotionAccuracy | 4 | +56 | +56 |
| magnetometerAccuracy | GameInputMotionAccuracy | 4 | +60 | +60 |
| orientationAccuracy | GameInputMotionAccuracy | 4 | +64 | +64 |