Automated: update Fields, Categories |
Fixed link. Basic cleanup. |
||
(2 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
<translate> | <translate> | ||
<!--T:1--> | <!--T:1--> | ||
{{Infobox Component | {{Infobox Component | ||
|Image=RawGraphicComponent.png | |Image=RawGraphicComponent.png | ||
Line 9: | Line 8: | ||
<!--T:2--> | <!--T:2--> | ||
The '''RawGraphic''' component takes in a [[Material]] or a [[Material Property Block]] component, then shows the raw graphic image onto the [[UIX]]. | |||
<!--T:3--> | <!--T:3--> | ||
{{Table ComponentFields | {{Table ComponentFields | ||
|Material|{{RootFieldType|AssetRef`1|[[Type:Material|Material]]}}|TypeAdv0=true| | |Material|{{RootFieldType|AssetRef`1|[[Type:Material|Material]]}}|TypeAdv0=true|The material to take the raw graphic from. | ||
|PropertyBlock|{{RootFieldType|AssetRef`1|[[Type:MaterialPropertyBlock|MaterialPropertyBlock]]}}|TypeAdv1=true| | |PropertyBlock|{{RootFieldType|AssetRef`1|[[Type:MaterialPropertyBlock|MaterialPropertyBlock]]}}|TypeAdv1=true|The image within a literal image block. | ||
|FillRect|Rect| | |FillRect|Rect|The filling rect for this image. | ||
|Color|ColorX| | |Color|ColorX|Changes the color of the image. | ||
|UVRect|Rect| | |UVRect|Rect|Shifts the UV of the raw image. | ||
|Orientation|RectOrientation| | |Orientation|RectOrientation|Rotates the raw image and respects aspect ratio. | ||
|Normal|'''[[Type:Nullable`1|Nullable`1]]<[[Type:Float3|Float3]]>'''|TypeAdv6=true| | |Normal|'''[[Type:Nullable`1|Nullable`1]]<[[Type:Float3|Float3]]>'''|TypeAdv6=true|The normal for this raw graphic. | ||
|Tangent|'''[[Type:Nullable`1|Nullable`1]]<[[Type:Float4|Float4]]>'''|TypeAdv7=true| | |Tangent|'''[[Type:Nullable`1|Nullable`1]]<[[Type:Float4|Float4]]>'''|TypeAdv7=true|The tangent for this raw graphic. | ||
|HideWithNoMaterial|Bool| | |HideWithNoMaterial|Bool|If there is no material, hid this raw image. | ||
|PreserveUVAspectRatio|Bool| | |PreserveUVAspectRatio|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 == | ||
Use this component when the [[Component:Image|Image]] component does not have what your looking for in your [[UIX]] design. | |||
<!--T:5--> | <!--T:5--> | ||
Line 35: | Line 34: | ||
<!--T:6--> | <!--T:6--> | ||
== Related Components == | == Related Components == | ||
* [[Component:MainTexturePropertyBlock|MainTexturePropertyBlock]] | |||
* [[Component:Projection360PropertyBlock|Projection360PropertyBlock]] | |||
* [[Component:MainAndMaskTexturePropertyBlock|MainAndMaskTexturePropertyBlock]] | |||
</translate> | </translate> | ||
[[Category:Components{{#translation:}}|Raw Graphic]] | [[Category:Components{{#translation:}}|Raw Graphic]] | ||
[[Category:Components:UIX:Graphics{{#translation:}}|Raw Graphic]] | [[Category:Components:UIX:Graphics{{#translation:}}|Raw Graphic]] |
Latest revision as of 22:17, 28 July 2024
Component image
The RawGraphic component takes in a Material or a Material Property Block component, then shows the raw graphic image onto the UIX.
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. |
Material
|
Material | The material to take the raw graphic from. |
PropertyBlock
|
MaterialPropertyBlock | The image within a literal image block. |
FillRect
|
Rect | The filling rect for this image. |
Color
|
ColorX | Changes the color of the image. |
UVRect
|
Rect | Shifts the UV of the raw image. |
Orientation
|
RectOrientation | Rotates the raw image and respects aspect ratio. |
Normal
|
Nullable`1<Float3> | The normal for this raw graphic. |
Tangent
|
Nullable`1<Float4> | The tangent for this raw graphic. |
HideWithNoMaterial
|
Bool | If there is no material, hid this raw image. |
PreserveUVAspectRatio
|
Bool | If this raw graphic should preserve its aspect ratio. |
InteractionTarget
|
Bool | Makes this image as the interaction target for this UIX. |
Usage
Use this component when the Image component does not have what your looking for in your UIX design.