Skip to content

AssetTreeNode beta ​

Interface of @v12-engine/editor

ts
export interface AssetTreeNode

A node of the tree at the left: a place, or a folder of it, with how many files are under it

Members ​

children ​

ts
children?: AssetTreeNode[];

The nodes of the subfolders, when it has any

count ​

ts
count: number;

How many assets are under the node, in its subfolders too

folder ​

ts
folder?: string;

The folder, for a folder's node (models/trees; a package file's group); nothing for the place's

id ​

ts
id: string;

<place> or <place>/<folder>

label ​

ts
label: string;

The text shown for the tree node

place ​

ts
place: AssetPlace;

The place of the assets the node holds