IGameAssets.LoadItemIcon method
Atlas/texture handle for an item’s inventory icon, async-loaded via ZResLoader using the item row’s icon path. Returns null while loading, on failure, or when the item/icon is unknown; uv is the icon’s sub-rect ((0,0,1,1) until resolved).
public object? LoadItemIcon(int itemId, out UvRect uv)| parameter | description |
|---|---|
| itemId | The item id (gear pieces share ids with their ItemTable rows). |
| uv | The UV sub-rect for the icon within its atlas, or full-rect when standalone. |
See Also
Section titled “See Also”- struct UvRect
- interface IGameAssets
- namespace Stellar.Abstractions.Services