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+fd80194fe28f6b408ce098e98c53850d307c3a32
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