Type:SpriteProvider: Difference between revisions

From Resonite Wiki
imported>ProbablePrime
 
m fix category
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
{| class="wikitable"
SpriteProvider is a component used to hold a 2D image. It is much more than a translation layer, it allows for cropping of the held image or flipping it. SpriteProviders only fit into the sprite field of UI elements like UIX images and [[Context menu|Context Menus]]. They then display their contained  image to the UIX element, or in the case of [[Context menu|Context Menus]], as an icon for that button option. (Like how the de-equip button has an icon of a hand)
|-
 
| Color
(TODO: Some field tested facts)
| Type
[[Category:Type]]
|-
| style="background-color:{{SpriteProvider-color}}" |
| SpriteProvider
|}
SpriteProvider is a 2D img (Prime's note: This is incorrect ;))
[[Category:Types]]
{{Stub}}
{{Stub}}

Latest revision as of 00:53, 15 January 2024

SpriteProvider is a component used to hold a 2D image. It is much more than a translation layer, it allows for cropping of the held image or flipping it. SpriteProviders only fit into the sprite field of UI elements like UIX images and Context Menus. They then display their contained image to the UIX element, or in the case of Context Menus, as an icon for that button option. (Like how the de-equip button has an icon of a hand)

(TODO: Some field tested facts)

This article or section is a Stub. You can help the Resonite Wiki by expanding it.