class in Unity.Hierarchy
/
Implemented in:UnityEngine.HierarchyCoreModule
Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.
CloseFor some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.
CloseEncapsulates all the query filters and text values that are used to filter a hierarchy.
Empty | The default empty query. |
InvalidQuery | The default invalid query. |
Filters | User-defined filters. Filters are in this form [filterName][operator][filterValue]. For example: t:Light. Each of these filters can be used by a NodeHandler to filter according to domain-specific characteristics. |
Invalid | Whether the query invalid. An invalid query yields no node. |
IsEmpty | Whether the query is empty. |
IsSystemOnlyQuery | Whether the query uses system filters. This means NodeHandlers won't be called for filtering. |
IsValid | Whether the query is valid. |
Strict | Whether the query is evaluated strictly. This means that if any filters are invalid, then the whole query is invalid. |
SystemFilters | The filters used by the hierarchy. Filters are in this form: [filterName][operator][filterValue]. For example: nodetype:gameobject. These filters are global to all NodeHandlers. |
TextValues | All textual values. For example: "cube" |
HierarchySearchQueryDescriptor | The constructor for a query. |