Skip to content

hm5-types (source format) / assetSystemFolder

Function: assetSystemFolder() ​

ts
function assetSystemFolder(type): "data" | "ref" | "audio" | "video" | "images" | "fonts" | "scripts";

The Library's fixed top folder of an asset kind (user sub-folders live inside it, AssetMeta.folder).

Parameters ​

ParameterType
type"data" | "bitmap" | "script" | "footage" | "ref" | "audio" | "font"

Returns ​

"data" | "ref" | "audio" | "video" | "images" | "fonts" | "scripts"

HereSplash — 2D animation for the web