Riferimento API di nanos world Documentazione italiana non ufficiale
Documentazione ufficiale
Funzione statica Condiviso Lento

Assets.GetMaterials

Gets a list containing all Materials Asset Keys from an AssetPack

Non ancora tradotto

Sintassi

Lua
Assets.GetMaterials(asset_pack_path)

Parametri

Nome Tipo Predefinito Descrizione
asset_pack_path string The Asset Pack path to get the assets

Valore restituito

  • table[] array of tables containing all assets and its metadata
    Campi della tabella
    • key string
    • ... any