SearchValue
SearchValue is used to extend a QueryEngine with custom type parsers and filter operators to search results by value.
読み終わるまでの所要時間 1 分最終更新 4時間前
Definition
- Type: Struct
- Namespace: UnityEditor.Search
- Assembly: UnityEditor
public readonly struct SearchValue
Remarks
A SearchValue is a structure that can hold a value of any type defined in SearchValue.ValueType. You can use this structure to add filtering capabilities to any QueryEngine for all the types supported in SearchValue.ValueType. See SearchValue.SetupEngine for more details.
Fields
Value | Description |
|---|---|
| floatNumber | Number value. |
| text | Text representation of the value. |
| type | Indicates the concrete type of the search value. |
Static Fields
Value | Description |
|---|---|
| invalid | Represent an invalid search value. |
Properties
Static Methods
Method | Description |
|---|---|
| SetupEngine | Extend a QueryEngine to work with SearchValues. |
Enums
Enum | Description |
|---|---|
| SearchValue.ValueType | Search value supported types. |