Automated: update Fields, Categories |
Filled in this component page. |
||
Line 2: | Line 2: | ||
<translate> | <translate> | ||
<!--T:1--> | <!--T:1--> | ||
{{Infobox Component | {{Infobox Component | ||
|Image=RawImageComponent.png | |Image=RawImageComponent.png | ||
Line 9: | Line 8: | ||
<!--T:2--> | <!--T:2--> | ||
The '''RawImage''' component takes in a [[Type:ITexture2D|ITexture2D]] and takes in parameters to alter this texture image. | |||
<!--T:3--> | <!--T:3--> | ||
{{Table ComponentFields | {{Table ComponentFields | ||
|Texture|{{RootFieldType|AssetRef`1|[[Type:ITexture2D|ITexture2D]]}}|TypeAdv0=true| | |Texture|{{RootFieldType|AssetRef`1|[[Type:ITexture2D|ITexture2D]]}}|TypeAdv0=true| | ||
|Material|{{RootFieldType|AssetRef`1|[[Type:Material|Material]]}}|TypeAdv1=true| | |Material|{{RootFieldType|AssetRef`1|[[Type:Material|Material]]}}|TypeAdv1=true| | ||
|Tint|ColorX| | |Tint|ColorX|The tint color for this raw image. | ||
|UVRect|Rect| | |UVRect|Rect|Shifts the UV of the raw image. | ||
|Orientation|RectOrientation| | |Orientation|RectOrientation|Rotates the raw image and respects aspect ratio. | ||
|PreserveAspect|Bool| | |PreserveAspect|Bool|If this raw graphic should preserve its aspect ratio. | ||
|InteractionTarget|Bool| | |InteractionTarget|Bool|Makes this image as the interaction target for this UIX. | ||
}} | }} | ||
<!--T:4--> | <!--T:4--> | ||
== | == Usage == | ||
This component acts more like a holder for a texture image to be used by other components. | |||
<!--T:5--> | <!--T:5--> | ||
Line 33: | Line 32: | ||
</translate> | </translate> | ||
[[Category:Components{{#translation:}}|Raw Image]] | [[Category:Components{{#translation:}}|Raw Image]] | ||
[[Category:Components:UIX:Graphics{{#translation:}}|Raw Image]] | [[Category:Components:UIX:Graphics{{#translation:}}|Raw Image]] |
Revision as of 07:43, 21 July 2024
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 | |
Material
|
Material | |
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.