DualShock4ExtensionGetTouchPositionAbsolute Method |
Gets the touch position for a particular index in absolute units as returned by the device. (Left = 0, Bottom = 0)
Namespace: Rewired.ControllerExtensionsAssembly: Rewired_Core (in Rewired_Core.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic bool GetTouchPositionAbsolute(
int index,
out Vector2 position
)
Parameters
- index Int32
- The index of the touch for which to return position.
- position Vector2
- X/Y position of the touch in absolute units.
Return Value
BooleanTrue if the touch at index is currently touching. False if there is no touch at index.
See Also