Click or drag to resize

PlayerControllerAbsoluteToRelativeScalingMode Enumeration

Determines how the values will be scaled when controlled by an absolute value (eg: a joystick).

Namespace: Rewired
Assembly: Rewired_Core (in Rewired_Core.dll) Version: 1.0.0+e8257758c3446d922301bab0e4637a0e5ec1862f
Syntax
C#
public enum AbsoluteToRelativeScalingMode
Members
Member nameValueDescription
None0 No scaling.
ScreenWidth1 Scales based on the screen width.
ScreenHeight2 Scales based on the screen height.
MaxScreenDimension3 Scales based on the larger of screen width or height.
MinScreenDimension4 Scales based on the smaller of screen width or height.
ViewportWidth5 Scales based on the viewport width.
ViewportHeight6 Scales based on the viewport height.
MaxViewportDimension7 Scales based on the larger of viewport width or height.
MinViewportDimension8 Scales based on the smaller of viewport width or height.
See Also