ドキュメント

Unity Engine

Unity Engine

SearchDocument

Represents a searchable document that has been indexed.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

public readonly struct SearchDocument : IEquatable<SearchDocument>, IComparable<SearchDocument>

Fields

Value

Description

idDocument unique ID in the search index.
scoreDocument base relevance score.

Constructors

Properties

Property

Description

nameReadable name of the document.
sourceOriginal source from which the document was indexed. The source is usually the container asset, i.e. prefab, Unity scene or the imported asset itself.
validIf true the document is considered valid.

Methods

Method

Description

CompareToCompare this document against another document.
EqualsCompare this document against another document.
ToStringReturns the document ID string.