Component:Image

From Resonite Wiki
Revision as of 21:37, 3 March 2024 by PJB (talk | contribs) (Automated: update Fields, Categories)


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


Component image 
Image component as seen in the Scene Inspector


Intoduction

An Image component renders a Sprite using a Material. This can be used to display graphics and produce backgrounds.

Usage

Fields
Name Type Description
persistent Bool Determines whether or not this item will be saved to the server.
UpdateOrder Int Controls the order in which this component is updated.
Enabled Bool Controls whether or not this component is enabled.
Sprite Sprite The sprite to render
Material Material The material to render with
PreserveAspect Bool FIXME
NineSliceSizing NineSliceSizing FIXME
FlipHorizontally Bool
FlipVertically Bool
InteractionTarget Bool FIXME
FillRect Rect
__legacyZWrite Bool Internal
Tint ColorX A color that is multiplied with the material's color

Behavior

Examples

Related Components