class in UnityEditor.Search
/
Inherits from:Search.Query_2
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.
CloseProvides methods to define an operation that can be used to filter a data set.
<T>: The filtered data type.
returnPayloadIfEmpty | Boolean. Indicates if the original payload should be returned when the query is empty. |
Apply | Applies the filtering on an IEnumerable data set. |
Test | Tests the query on a single object. Returns true if the test passes. |
errors | A list of QueryErrors. |
text | The text that generated the query. |
tokens | The list of tokens found in the query. |
valid | Indicates if the query is valid or not. |
Apply | Applies the filtering on a payload. |
GetNodeAtPosition | Get the query node located at the specified index position in the query. |
Optimize | Optimizes the query by optimizing the underlying filtering graph. |