Progetto H — API Reference API & Scripting Documentation
Static function Shared Slow

Assets.GetMaterials

Gets a list containing all Materials Asset Keys from an AssetPack

Syntax

Lua
Assets.GetMaterials(asset_pack_path)

Parameters

Name Type Default Description
asset_pack_path string The Asset Pack path to get the assets

Returns

  • table[] array of tables containing all assets and its metadata
    Table fields
    • key string
    • ... any