m ProbablePrime moved page Image (Component) to Component:Image: Creating component Namespace |
Automated: update Fields, Categories |
||
Line 16: | Line 16: | ||
== Usage == | == Usage == | ||
{{Table ComponentFields | {{Table ComponentFields | ||
|Sprite|Sprite|The sprite to render | |Sprite|{{RootFieldType|AssetRef`1|[[Type:Sprite|Sprite]]}}|TypeAdv0=true|The sprite to render | ||
|Material|Material|The material to render with | |Material|{{RootFieldType|AssetRef`1|[[Type:Material|Material]]}}|TypeAdv1=true|The material to render with | ||
|PreserveAspect|Bool|FIXME | |PreserveAspect|Bool|FIXME | ||
|NineSliceSizing|NineSliceSizing|FIXME | |NineSliceSizing|NineSliceSizing|FIXME | ||
|FlipHorizontally|Bool| | |||
|FlipVertically|Bool| | |||
|InteractionTarget|Bool|FIXME | |InteractionTarget|Bool|FIXME | ||
|FillRect|Rect| | |||
|__legacyZWrite|Bool|Internal | |__legacyZWrite|Bool|Internal | ||
|Tint|ColorX|A color that is multiplied with the material's color | |||
}} | }} | ||
Line 34: | Line 37: | ||
== Related Components == | == Related Components == | ||
</translate> | </translate> | ||
[[Category:Components{{#translation:}}|Image | [[Category:Components{{#translation:}}|Image]] | ||
[[Category:ComponentStubs]] | [[Category:ComponentStubs]] | ||
[[Category:Components:UIX:Graphics{{#translation:}}|Image | [[Category:Components:UIX:Graphics{{#translation:}}|Image]] |
Revision as of 21:37, 3 March 2024
This article or section is a Stub. You can help the Resonite Wiki by expanding it.
Component image
Intoduction
An Image component renders a Sprite using a Material. This can be used to display graphics and produce backgrounds.
Usage
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 |