Component:TiledRawImage

From Resonite Wiki
Revision as of 03:12, 22 July 2024 by AmasterAmaster (talk | contribs) (Filled in this component page.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Component image 
TiledRawImage component as seen in the Scene Inspector


The TiledRawImage component takes in a ITexture2D and renders it to the UIX, and then tiles it if the image provided is too small. There are parameters to control how the tiling behaves for the UIX element that it is in.

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.
Texture ITexture2D The tilable image to use.
Material Material The material that has a tilable image to use.
Tint ColorX The tint color for this image.
SizeBasis TileSizeBasis Changes how the tiling behaves.
TileSize Float2 How large this image is on the X and Y.
TileOffset Float2 How much this image should be moved on the X and Y.
InteractionTarget Bool Makes this image as the interaction target for this UIX.

Usage

This can be used to make fancy backgrounds or image effects. And like with other images, this can be layered for even more effects.

Examples

Related Components