About this project
AnyIcon is a singleton utility for Godot Engine (version 4.3+) that allows developers to programmatically retrieve icons associated with specific types, values, or object members. It is designed as a GDScript utility rather than a GUI tool.
Key capabilities include:
- Retrieving icons for the expected type of an object's member via methods like `get_property_icon`.
- Fetching icons for any given value using `get_variant_icon`, supporting built-in types, built-in classes, and custom classes utilizing the `@icon` annotation.
- Handling type unions by concatenating icons in a row (this behavior can be disabled via `allow_generating_union_icons`).
- Providing fallback icon support using the "EditorIcons" theme type.
The addon is intended for editor-only use and can be excluded from export presets.
Comments
0 Rating appears after 10 ratings
Sign in to join the discussion.