Click or drag to resize

MouseWheelAxis Properties

The PlayerControllerMouseWheelAxis type exposes the following members.

Properties
 NameDescription
Public propertyabsoluteToRelativeScalingMode Determines how a relative axis value will be scaled when controlled by an absolute axis (eg: a joystick). This can be used to scale axis value based on screen or viewport resolution. This is used for scaling mouse pointer speed.
(Inherited from PlayerControllerAxis)
Public propertyabsoluteToRelativeSensitivity The absolute to relative sensitivity multiplier. This is only applied when the axis coordinate mode is set to Relative and the axis receives Absolute coordinate mode input (joystick axes, keyboard keys, etc.). This is equivalent to pixels per second on a 1920x1080 screen. The final result can also be affected by absoluteToRelativeScalingMode and, for a mouse, pointerSpeed.
(Inherited from PlayerControllerAxis)
Public propertyactionId The Action id of the Action which will be used as the input source for the Element.
(Inherited from PlayerControllerElementWithSource)
Public propertyactionName The Action name of the Action which will be used as the input source for the Element.
(Inherited from PlayerControllerElementWithSource)
Public propertycoordinateMode The output coordinate mode of the axis. An Absolute axis will only return value for input received from Absolute sources. A Relative axis will return value for input received from both Relative and Absolute sources. When converting from an Absolute input source to a Relative output, absoluteToRelativeSensitivity will be multiplied by the Absolute value to yield a simulated Relative value.
(Inherited from PlayerControllerAxis)
Public propertyenabled Is this element enabled? Disabled elements return no value.
(Inherited from PlayerControllerElement)
Public propertyname The name of the element.
(Inherited from PlayerControllerElement)
Public propertyrepeatRate The number of times per second the wheel ticks when the value source is an absolute axis value.
Public propertyvalue The current value.
(Overrides PlayerControllerAxisvalue)
Public propertyvalueRaw The current raw value. This is the same as getting the raw axis value from Player.GetAxisRaw.
(Inherited from PlayerControllerAxis)
Top
See Also