Skip to content

AssetSearch.Options

ClassAssetInventoryAssetInventory.Editor
public class AssetSearch.Options

Controls file search text, package and media filters, dimensions, tags, metadata, sorting, paging, and in-memory refinement.

public int ReferenceAudioFileId

Ranks indexed audio by its sampled sound similarity to this catalog file. Zero uses ordinary search.

Returns

System.Int32

public bool AllowRemoteInference

Allows an explicitly submitted search to create a remote query embedding on a cache miss.

Returns

System.Boolean

public bool AutomaticRequest

Legacy scheduling flag retained for existing callers. The action and remote submission rules govern execution.

Returns

System.Boolean

public int CatalogScope

Returns

System.Int32

public string[] RemoteSourceIds

Returns

System.String[]

public string SearchPhrase

Returns

System.String

public int SelectedPackageSRPs

Returns

System.Int32

public int SelectedPriceOption

Returns

System.Int32

public float SearchPrice

Returns

System.Single

public string SearchWidth

Returns

System.String

public bool CheckMaxWidth

Returns

System.Boolean

public string SearchHeight

Returns

System.String

public bool CheckMaxHeight

Returns

System.Boolean

public string SearchLength

Returns

System.String

public bool CheckMaxLength

Returns

System.Boolean

public string SearchSize

Returns

System.String

public bool CheckMaxSize

Returns

System.Boolean

public string SearchVertexCount

Returns

System.String

public bool CheckMaxVertexCount

Returns

System.Boolean

public int MinWidth

Returns

System.Int32

public int MaxWidth

Returns

System.Int32

public int MinHeight

Returns

System.Int32

public int MaxHeight

Returns

System.Int32

public long MinSizeBytes

Returns

System.Int64

public long MaxSizeBytes

Returns

System.Int64

public int MinVertexCount

Inclusive vertex range; only files with recorded mesh statistics can match.

Returns

System.Int32

public int MaxVertexCount

Returns

System.Int32

public int SelectedPackageTag

Returns

System.Int32

public int SelectedFileTag

Returns

System.Int32

public int SelectedPackageTypes

Returns

System.Int32

public int SelectedPublisher

Returns

System.Int32

public int SelectedAsset

Returns

System.Int32

public int SelectedAssetId

Returns

System.Int32

public int SelectedCategory

Returns

System.Int32

public bool IncludeCategorySubcategories

Returns

System.Boolean

public int SelectedColorOption

Returns

System.Int32

public Color SelectedColor

Returns

UnityEngine.Color

public int SelectedImageType

Returns

System.Int32

public int SelectedPreviewFilter

Returns

System.Int32

public int SelectedHiddenFilter

Returns

System.Int32

public string RawSearchType

Returns

System.String

public bool IgnoreExcludedExtensions

Returns

System.Boolean

public int CurrentPage

Returns

System.Int32

public int MaxResults

Returns

System.Int32

public AssetSearch.InMemoryMode InMemory

Returns

AssetInventory.AssetSearch.InMemoryMode

public bool OrderByRelevance

Ranks results by how well file names match the search terms (best first) like the Relevance sort field, whatever the configured sort; without terms results follow ascending path order. Used by automation callers, which only see the first page.

Returns

System.Boolean

public bool SearchFileNamesOnly

Matches search terms against file names only, not folder paths, AI captions or package names, whatever the window’s search settings.

Returns

System.Boolean

public Dictionary<string, string> SearchVariables

Returns

System.Collections.Generic.Dictionary{System.String,System.String}

public List<AssetInfo> AllAssets

Returns

System.Collections.Generic.List{AssetInventory.AssetInfo}

public string[] TagNames

Returns

System.String[]

public List<Tag> Tags

Returns

System.Collections.Generic.List{AssetInventory.Tag}

public string[] AssetNames

Returns

System.String[]

public string[] PublisherNames

Returns

System.String[]

public string[] CategoryNames

Returns

System.String[]

public string[] ImageTypeOptions

Returns

System.String[]

public static AssetSearch.Options CreateDefault()

Creates a default Options object with all data loaded from the database.

Returns

AssetInventory.AssetSearch.Options

public static AssetSearch.Options FromSavedSearch(SavedSearch savedSearch)

Creates an Options object from a SavedSearch.

Parameters

NameType
savedSearchAssetInventory.SavedSearch

Returns

AssetInventory.AssetSearch.Options

public Options()