Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


SearchValue

SearchValue is used to extend a QueryEngine with custom type parsers and filter operators to search results by value.
Read time 1 minuteLast updated 4 days ago

Definition

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

floatNumberNumber value.
textText representation of the value.
typeIndicates the concrete type of the search value.

Static Fields

Value

Description

invalidRepresent an invalid search value.

Properties

Property

Description

booleanBoolean value.
validIndicates if the search value is valid.

Static Methods

Method

Description

SetupEngineExtend a QueryEngine to work with SearchValues.

Enums

Enum

Description

SearchValue.ValueTypeSearch value supported types.