Struct UQuery.QueryBuilder<T>
Assembly: UnityEngine.dll
Syntax
public struct QueryBuilder<T>
where T : VisualElement
Type Parameters
Constructors
|
Improve this Doc
View Source
QueryBuilder(VisualElement)
Declaration
public QueryBuilder(VisualElement visualElement)
Parameters
Methods
|
Improve this Doc
View Source
Active()
Declaration
public UQuery.QueryBuilder<T> Active()
Returns
|
Improve this Doc
View Source
AtIndex(Int32)
Declaration
public T AtIndex(int index)
Parameters
Type |
Name |
Description |
Int32 |
index |
|
Returns
|
Improve this Doc
View Source
Build()
Declaration
public UQuery.QueryState<T> Build()
Returns
|
Improve this Doc
View Source
Checked()
Declaration
public UQuery.QueryBuilder<T> Checked()
Returns
|
Improve this Doc
View Source
Children<T2>(String, String)
Declaration
public UQuery.QueryBuilder<T2> Children<T2>(string name = null, string className = null)
where T2 : VisualElement
Parameters
Returns
Type Parameters
|
Improve this Doc
View Source
Children<T2>(String, String[])
Declaration
public UQuery.QueryBuilder<T2> Children<T2>(string name = null, params string[] classes)
where T2 : VisualElement
Parameters
Returns
Type Parameters
|
Improve this Doc
View Source
Class(String)
Declaration
public UQuery.QueryBuilder<T> Class(string classname)
Parameters
Type |
Name |
Description |
String |
classname |
|
Returns
|
Improve this Doc
View Source
Descendents<T2>(String, String)
Declaration
public UQuery.QueryBuilder<T2> Descendents<T2>(string name = null, string classname = null)
where T2 : VisualElement
Parameters
Returns
Type Parameters
|
Improve this Doc
View Source
Descendents<T2>(String, String[])
Declaration
public UQuery.QueryBuilder<T2> Descendents<T2>(string name = null, params string[] classNames)
where T2 : VisualElement
Parameters
Returns
Type Parameters
|
Improve this Doc
View Source
Enabled()
Declaration
public UQuery.QueryBuilder<T> Enabled()
Returns
|
Improve this Doc
View Source
First()
Declaration
Returns
|
Improve this Doc
View Source
Focused()
Declaration
public UQuery.QueryBuilder<T> Focused()
Returns
|
Improve this Doc
View Source
ForEach(Action<T>)
Declaration
public void ForEach(Action<T> funcCall)
Parameters
Type |
Name |
Description |
Action<T> |
funcCall |
|
|
Improve this Doc
View Source
ForEach<T2>(List<T2>, Func<T, T2>)
Declaration
public void ForEach<T2>(List<T2> result, Func<T, T2> funcCall)
Parameters
Type |
Name |
Description |
List<T2> |
result |
|
Func<T, T2> |
funcCall |
|
Type Parameters
|
Improve this Doc
View Source
ForEach<T2>(Func<T, T2>)
Declaration
public List<T2> ForEach<T2>(Func<T, T2> funcCall)
Parameters
Type |
Name |
Description |
Func<T, T2> |
funcCall |
|
Returns
Type |
Description |
List<T2> |
|
Type Parameters
|
Improve this Doc
View Source
Hovered()
Declaration
public UQuery.QueryBuilder<T> Hovered()
Returns
|
Improve this Doc
View Source
Last()
Declaration
Returns
|
Improve this Doc
View Source
Name(String)
Declaration
public UQuery.QueryBuilder<T> Name(string id)
Parameters
Type |
Name |
Description |
String |
id |
|
Returns
|
Improve this Doc
View Source
NotActive()
Declaration
public UQuery.QueryBuilder<T> NotActive()
Returns
|
Improve this Doc
View Source
NotChecked()
Declaration
public UQuery.QueryBuilder<T> NotChecked()
Returns
|
Improve this Doc
View Source
NotEnabled()
Declaration
public UQuery.QueryBuilder<T> NotEnabled()
Returns
|
Improve this Doc
View Source
NotFocused()
Declaration
public UQuery.QueryBuilder<T> NotFocused()
Returns
|
Improve this Doc
View Source
NotHovered()
Declaration
public UQuery.QueryBuilder<T> NotHovered()
Returns
|
Improve this Doc
View Source
NotSelected()
Declaration
public UQuery.QueryBuilder<T> NotSelected()
Returns
|
Improve this Doc
View Source
NotVisible()
Declaration
public UQuery.QueryBuilder<T> NotVisible()
Returns
|
Improve this Doc
View Source
OfType<T2>(String, String)
Declaration
public UQuery.QueryBuilder<T2> OfType<T2>(string name = null, string className = null)
where T2 : VisualElement
Parameters
Returns
Type Parameters
|
Improve this Doc
View Source
OfType<T2>(String, String[])
Declaration
public UQuery.QueryBuilder<T2> OfType<T2>(string name = null, params string[] classes)
where T2 : VisualElement
Parameters
Returns
Type Parameters
|
Improve this Doc
View Source
Selected()
Declaration
public UQuery.QueryBuilder<T> Selected()
Returns
|
Improve this Doc
View Source
ToList()
Declaration
Returns
|
Improve this Doc
View Source
ToList(List<T>)
Declaration
public void ToList(List<T> results)
Parameters
Type |
Name |
Description |
List<T> |
results |
|
|
Improve this Doc
View Source
Visible()
Declaration
public UQuery.QueryBuilder<T> Visible()
Returns
|
Improve this Doc
View Source
Where(Func<T, Boolean>)
Declaration
public UQuery.QueryBuilder<T> Where(Func<T, bool> selectorPredicate)
Parameters
Type |
Name |
Description |
Func<T, Boolean> |
selectorPredicate |
|
Returns
Operators
|
Improve this Doc
View Source
Implicit(UQuery.QueryBuilder<T> to T)
Declaration
public static implicit operator T(UQuery.QueryBuilder<T> s)
Parameters
Returns
Extension Methods