Version: 2021.1
言語: 日本語

UQueryBuilder<T0>

struct in UnityEngine.UIElements

マニュアルに切り替える

説明

Utility Object that contructs a set of selection rules to be ran on a root visual element.

コンストラクタ

UQueryBuilder_1Initializes a QueryBuilder.

Public 関数

ActiveSelects all elements that are active.
AtIndexConvenience overload, shorthand for Build().AtIndex().
BuildCompiles the selection rules into a QueryState object.
CheckedSelects all elements that are checked.
ChildrenSelects all direct child elements of elements matching the previous rules.
ClassSelects all elements with the given class. Not to be confused with Type (see OfType<>()).
DescendentsSelects all elements that are descendants of currently matching ancestors.
EnabledSelects all elements that are enabled.
FirstConvenience overload, shorthand for Build().First().
FocusedSelects all elements that are enabled.
ForEachConvenience overload, shorthand for Build().ForEach().
HoveredSelects all elements that are hovered.
LastConvenience overload, shorthand for Build().Last().
NameSelects element with this name.
NotActiveSelects all elements that are not active.
NotCheckedSelects all elements that npot checked.
NotEnabledSelects all elements that are not enabled.
NotFocusedSelects all elements that don't currently own the focus.
NotHoveredSelects all elements that are not hovered.
NotVisibleSelects all elements that are not visible.
OfTypeSelects all elements of the specified Type (eg: Label, Button, ScrollView, etc).
ToListConvenience method. shorthand for Build().ToList.
VisibleSelects all elements that are visible.
WhereSelects all elements satifying the predicate.

Operator

operator !=Compare two QueryBuilder objects and return true if they are not equal.
operator ==Compare two QueryBuilder objects and return true if they are equal.