Delegate PreviewHandler
Namespace: Unity.QuickSearch
Syntax
public delegate Texture2D PreviewHandler(SearchItem item, SearchContext context, Vector2 size, FetchPreviewOptions options);
Parameters
| Type | Name | Description |
|---|---|---|
| SearchItem | item | |
| SearchContext | context | |
| Vector2 | size | |
| FetchPreviewOptions | options |
Returns
| Type | Description |
|---|---|
| Texture2D |