AssetPack - Megasploot/Dungeondraft GitHub Wiki
Overview
AssetPack is the class where information about a custom Asset Pack is stored. It is only safe for reading, not for writing.
Properties
String Name
Gets the human readable name of this pack.
String ID
Gets the unique ID of this pack. Equivalent to the folder name where assets are stored inside res://packs/.
String Version
Gets the string of the version the pack creator designated.
String Author
Gets the name of the author.
Texture Preview
Gets the Godot Texture that previews the asset pack.
String Keywords
Gets the comma delimited set of keywords that a pack creator chose for the pack. Searchable within the window.
bool AllowThirdPartyUse
Gets the bool that indicates the author agreed to allow 3rd party software to use this pack. If the author of the pack is not the copyright holder of the assets within it, then this bool is null and void. Double-check that the person who packed the assets is indeed the artist who created the assets.
bool OverrideCustomColor
Gets a bool indicating that this pack includes its own custom color tags.
String Path
Gets the path used within the Godot file system to navigate to the assets contained in this pack.