Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


VisualElementFocusRing(VisualElement, DefaultFocusOrder)

Constructor.
Read time 1 minuteLast updated 7 days ago

Definition

public VisualElementFocusRing(VisualElement root, VisualElementFocusRing.DefaultFocusOrder dfo = DefaultFocusOrder.ChildOrder)

Parameters

The root of the element tree for which we want to build a focus ring.

Default ordering of the elements in the ring.

Remarks

Navigation will never focus an element that's not a descendent of the root element. If the root element is not the absolute root of its own visual tree, navigation within the focus ring will wrap around the root element hierarchy when it would otherwise leave it.