(Redirected from TiledRawImage (Component))
Component image
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.
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.