PlayerControllerAbsoluteToRelativeScalingMode Enumeration |
Determines how the values will be scaled when controlled by an absolute value (eg: a joystick).
Namespace: RewiredAssembly: Rewired_Core (in Rewired_Core.dll) Version: 1.0.0+fd80194fe28f6b408ce098e98c53850d307c3a32
Syntaxpublic enum AbsoluteToRelativeScalingMode
Members| Member name | Value | Description |
|---|
| None | 0 |
No scaling.
|
| ScreenWidth | 1 |
Scales based on the screen width.
|
| ScreenHeight | 2 |
Scales based on the screen height.
|
| MaxScreenDimension | 3 |
Scales based on the larger of screen width or height.
|
| MinScreenDimension | 4 |
Scales based on the smaller of screen width or height.
|
| ViewportWidth | 5 |
Scales based on the viewport width.
|
| ViewportHeight | 6 |
Scales based on the viewport height.
|
| MaxViewportDimension | 7 |
Scales based on the larger of viewport width or height.
|
| MinViewportDimension | 8 |
Scales based on the smaller of viewport width or height.
|
See Also