frameGetter
Optional delegate that can be set to calculate the AccessibilityNode.frame for the node instead of setting a flat value. If the frame of the node may change over time, this delegate should be set instead of giving a one time value for the AccessibilityNode.frame.
Read time 1 minuteLast updated 17 days ago
Definition
- Type: Property
- Namespace: UnityEngine.Accessibility
- Assembly: UnityEngine.AccessibilityModule
public Func<Rect> frameGetter { 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.