SearchResult

struct in UnityEditor.Search

Description

Contains a SearchItem that was retrieved from a query.

Static Properties

nilRepresents a null search result.

Properties

idID of the document containing that result.
indexIndex of the document containing that result.
scoreRelavance score of the result. A lower score indicates it is a more relevant result.
validChecks if a search result is valid.

Constructors

SearchResultCreates a new SearchResult.

Public Methods

CompareToCompares Search Results using their index values.
EqualsCompare Search Result using their index values.
GetHashCodeComputes the hash code for this SearchResult from its index property.

Did you find this page useful? Please give it a rating: