(Redirected from RawImage (Component))
Component image
The RawImage component takes in a ITexture2D and takes in parameters to alter this texture image.
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 texture image itself. |
Material
|
Material | The material to use as the texture from. |
Tint
|
ColorX | The tint color for this raw image. |
UVRect
|
Rect | Shifts the UV of the raw image. |
Orientation
|
RectOrientation | Rotates the raw image and respects aspect ratio. |
PreserveAspect
|
Bool | If this raw graphic should preserve its aspect ratio. |
InteractionTarget
|
Bool | Makes this image as the interaction target for this UIX. |
Usage
This component acts more like a holder for a texture image to be used by other components.