GCControllerDualSenseExtensionGetTouchPosition Method |
Gets the touch position for a particular index normalized to a 0 - 1 range. (Left = 0, Bottom = 0)
Namespace: Rewired.Platforms.Apple.GameControllerAssemblies: Rewired_AppleGameController (in Rewired_AppleGameController.dll) Version: 1.0.0+20d1932ee9c49d9b6496f76a0835fd9b82311ad2
Rewired_OSX (in Rewired_OSX.dll) Version: 1.0.0+20d1932ee9c49d9b6496f76a0835fd9b82311ad2
Syntaxpublic bool GetTouchPosition(
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 [0 - 1]
Return Value
BooleanTrue if the touch at index is currently touching. False if there is no touch at index.
See Also