TryGetNodeAt(float, float, out AccessibilityNode)
Tries to retrieve the AccessibilityNode at the given screen coordinates.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: UnityEngine.Accessibility
- Assembly: UnityEngine.AccessibilityModule
TryGetNodeAt(float, float, AccessibilityNode)
public bool TryGetNodeAt(float horizontalPosition, float verticalPosition, out AccessibilityNode node)
Parameters
The horizontal position on the screen.
The vertical position on the screen.
The node found at the given screen coordinates, or if there is no node at that position.
nullReturns
Type | Description |
|---|---|
| bool | |