ドキュメント

Unity Engine

Unity Engine

frameGetter

Delegate that calculates the frame of the accessibility node, automatically keeping it up-to-date.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

public Func<Rect> frameGetter { get; set; }

Remarks

The node's frame can be set either through this delegate or through the AccessibilityNode.frame property. Using this delegate should simplify the update of the node's frame by automatically keeping it in sync with the coordinates of the visual element represented by the node.
If the AccessibilityNode.frame is not set, it gets its value from this delegate.
Note: If this delegate is not set, calling AccessibilityHierarchy.RefreshNodeFrames sets the AccessibilityNode.frame to Rect.zero.