Asset beta
Interface of @v12-engine/editor
export interface AssetA file the editor knows, wherever it is from
Members
credit
credit?: string;Who made the file and under which licence, for a file of the assets package; a credit of a game's own file otherwise
group
group?: string;A file of @v12-engine/assets: its group, what that is called, and who made it under which licence; a credit of the game's own file otherwise, as assets.json says
groupName
groupName?: string;The name of the group of an assets-package file, as shown to the person
id
id: string;<place>:<path>: stable while the file is where it is
kind
kind: AssetKind;What the file is: model, texture, sound and so on, by its extension
modified
modified: number;When the file was last changed, in milliseconds since the epoch
path
path: string;Its path in its place: models/trees/oak.glb
place
place: AssetPlace;Where the asset lives: the map, the game, the shared project or the engine's assets package
size
size: number;The file's size in bytes
tags
tags: string[];Words it is found by, kept in the game's assets.json (the game's own files alone)