Skip to content

AssetFilters beta ​

Interface of @v12-engine/editor

ts
export interface AssetFilters

What the panel shows of everything: each left out widens it

Members ​

category ​

ts
category?: string;

A category by id, NO_CATEGORY for the files of none

favourites ​

ts
favourites?: ReadonlySet<string>;

Only these, by id

folder ​

ts
folder?: string;

A folder of the place, as the tree has it: models/trees, or a group of the package's

kind ​

ts
kind?: AssetKind | 'all';

Only assets of this kind; all or nothing means every kind

large ​

ts
large?: boolean;

Only models over the budgets, or files over the size budget

place ​

ts
place?: AssetPlace | 'all';

Only assets of this place; all or nothing means every place

recent ​

ts
recent?: boolean;

Only the files taken in within RECENT_DAYS

tagged ​

ts
tagged?: boolean;

Only the files with tags

unused ​

ts
unused?: boolean;

Only the game's own files nothing uses

words ​

ts
words?: string;

Words the asset's path, tags or group must contain, as typed in the search box