π Assets
Retrieve Assets Data from Asset Packs.
πΏStatic Class
This is a Static Class. You can access it's methods directly with
.
. It is not possible to initialize or create new instances.πΏ Static Functionsβ
Returns | Name | Description | |
---|---|---|---|
![]() | table of table | GetAssetPacks | Gets a list containing information about all loaded Asset Packs |
![]() | table of string | GetAnimations | Gets a list containing all Animation Assets Keys from an AssetPack |
![]() | table of string | GetMaps | Gets a list containing all Map Asset Keys from an AssetPack |
![]() | table of string | GetMaterials | Gets a list containing all Materials Asset Keys from an AssetPack |
![]() | table of string | GetParticles | Gets a list containing all Particle Assets Keys from an AssetPack |
![]() | table of string | GetSounds | Gets a list containing all Sound Assets Keys from an AssetPack |
![]() | table of string | GetSkeletalMeshes | Gets a list containing all Skeletal Mesh Asset Keys from an AssetPack |
![]() | table of string | GetStaticMeshes | Gets a list containing all Static Mesh Assets Keys from an AssetPack |
![]() | table of string | GetOthers | Gets a list containing all Other Assets Keys from an AssetPack |

GetAssetPacks
β
Gets a list containing information about all loaded Asset Packs
Returns table of table (in the format <code>[{Name, Path, Author, Version}, ...]</code>)
local ret = Assets.GetAssetPacks(asset_pack_path)
Type | Parameter | Default | Description |
---|---|---|---|
string | asset_pack_path | The Asset Pack path to get the assets |

GetAnimations
β
Gets a list containing all Animation Assets Keys from an AssetPack
Returns table of string (array of strings)
local ret = Assets.GetAnimations(asset_pack_path)
Type | Parameter | Default | Description |
---|---|---|---|
string | asset_pack_path | The Asset Pack path to get the assets |

GetMaps
β
Gets a list containing all Map Asset Keys from an AssetPack
Returns table of string (array of strings)
local ret = Assets.GetMaps(asset_pack_path)
Type | Parameter | Default | Description |
---|---|---|---|
string | asset_pack_path | The Asset Pack path to get the assets |

GetMaterials
β
Gets a list containing all Materials Asset Keys from an AssetPack
Returns table of string (array of strings)
local ret = Assets.GetMaterials(asset_pack_path)
Type | Parameter | Default | Description |
---|---|---|---|
string | asset_pack_path | The Asset Pack path to get the assets |

GetParticles
β
Gets a list containing all Particle Assets Keys from an AssetPack
Returns table of string (array of strings)
local ret = Assets.GetParticles(asset_pack_path)
Type | Parameter | Default | Description |
---|---|---|---|
string | asset_pack_path | The Asset Pack path to get the assets |

GetSounds
β
Gets a list containing all Sound Assets Keys from an AssetPack
Returns table of string (array of strings)
local ret = Assets.GetSounds(asset_pack_path)
Type | Parameter | Default | Description |
---|---|---|---|
string | asset_pack_path | The Asset Pack path to get the assets |

GetSkeletalMeshes
β
Gets a list containing all Skeletal Mesh Asset Keys from an AssetPack
Returns table of string (array of strings)
local ret = Assets.GetSkeletalMeshes(asset_pack_path)
Type | Parameter | Default | Description |
---|---|---|---|
string | asset_pack_path | The Asset Pack path to get the assets |

GetStaticMeshes
β
Gets a list containing all Static Mesh Assets Keys from an AssetPack
Returns table of string (array of strings)
local ret = Assets.GetStaticMeshes(asset_pack_path)
Type | Parameter | Default | Description |
---|---|---|---|
string | asset_pack_path | The Asset Pack path to get the assets |

GetOthers
β
Gets a list containing all Other Assets Keys from an AssetPack
Returns table of string (array of strings)
local ret = Assets.GetOthers(asset_pack_path)
Type | Parameter | Default | Description |
---|---|---|---|
string | asset_pack_path | The Asset Pack path to get the assets |