ProjectAsset beta
Interface of @v12-engine/editor
export interface ProjectAssetAn asset file: its path in the folder it is in (models/units/lich.glb), what it is, how big and how new
Members
animations
animations?: string[];A model of @v12-engine/assets: its clips and named parts (ModelFacts)
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 (served by assetsPackage): its group, and who made it under which licence; a credit of the game's own file as its assets.json says
groupName
groupName?: string;What its group is called: Fantasy RTS
kind
kind: 'model' | 'animation' | 'sound' | 'music' | 'texture' | 'icon' | 'image' | 'video';What the file is: model, animation, sound, music, texture, icon, image or video
modified
modified: number;When the file was last changed, in milliseconds since the epoch
parts
parts?: string[];The model's named parts (ModelFacts), for a model of @v12-engine/assets
path
path: string;The file's path from the game's folder, with / between the parts
size
size: number;The file's size in bytes
tags
tags?: string[];Words it is found by (the game's own files, assets.json's tags)