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+20d1932ee9c49d9b6496f76a0835fd9b82311ad2
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