Image VisualElement sprite

A shortcut property that takes a sprite and sets the relevant values would be nice.
I think* it’s equivalent to this:

        UnityEngine.Sprite sprite = itemBaseDef.GetIcon();
        ItemIcon.image = sprite.texture;
        ItemIcon.sourceRect = sprite.rect;

Hello,

We’re actually working on this and looking to get the benefit of sprite atlases as well.

Cheers,