frame
The Rect represents the position in screen coordinates of the node in the UI. This can be set directly but it is recommended that AccessibilityNode.frameGetter is set instead, so that the value can be recalculated when necessary.
Read time 1 minuteLast updated 17 days ago
Definition
- Type: Property
- Namespace: UnityEngine.Accessibility
- Assembly: UnityEngine.AccessibilityModule
public Rect frame { get; set; }
Remarks
If AccessibilityHierarchy.RefreshNodeFrames is called, the value of the AccessibilityNode.frame is set to Rect.zero if AccessibilityNode.frameGetter is not set.