getSpriteFromUrl MethodStatic
Look up an IconSprite by url. If not loaded, create and load it.
getSpriteFromUrl(spriteUrl: string): Sprite
Parameter | Type | Description |
---|---|---|
spriteUrl | string | The url of an image to load for this Sprite. |
Returns - Sprite
Defined in
Last Updated: 14 November, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.