SearchDocument
Represents a searchable document that has been indexed.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Struct
- Namespace: UnityEditor.Search
- Assembly: UnityEditor
- Implements: IEquatable<SearchDocument>, IComparable<SearchDocument>
public readonly struct SearchDocument : IEquatable<SearchDocument>, IComparable<SearchDocument>
Fields
Constructors
Constructor | Description |
|---|---|
| SearchDocument(System.String,System.String,System.String,System.Int32) | Create a new SearchDocument. |
| SearchDocument(UnityEditor.Search.SearchDocument,System.Int32) | Create a new SearchDocument. |
| SearchDocument(UnityEditor.Search.SearchDocument,System.String) | Create a new SearchDocument. |
Properties
Property | Description |
|---|---|
| name | Readable name of the document. |
| source | Original source from which the document was indexed. The source is usually the container asset, i.e. prefab, Unity scene or the imported asset itself. |
| valid | If true the document is considered valid. |