Compensate orientation
If this setting is enabled, rotation values reported by sensors are rotated around the Z axis as follows:
| Screen orientation | Effect on rotation values |
|---|---|
ScreenOrientation.Portrait |
Values remain unchanged |
ScreenOrientation.PortraitUpsideDown |
Values rotate by 180 degrees. |
ScreenOrientation.LandscapeLeft |
Values rotate by 90 degrees. |
ScreenOrientation.LandscapeRight |
Values rotate by 270 degrees. |
This setting affects the following sensors: