add info |
989onan bot (talk | contribs) Automated: update '_shader' description,'Rect' description,'OuterColor' description,'InnerColor' description, |
||
Line 12: | Line 12: | ||
{{Table ComponentFields | {{Table ComponentFields | ||
|HighPriorityIntegration|Bool|{{Asset HighPriorityIntegration Field}} | |HighPriorityIntegration|Bool|{{Asset HighPriorityIntegration Field}} | ||
|_shader|{{RootFieldType|AssetRef`1|[[Type:Shader|Shader]]}}|TypeAdv1=true| | |_shader|{{RootFieldType|AssetRef`1|[[Type:Shader|Shader]]}}|TypeAdv1=true|{{Template:Material__shader}} | ||
|Rect|Rect| | |Rect|Rect|{{Template:Material_Rect}} | ||
|OuterColor|ColorX| | |OuterColor|ColorX|{{Template:Material_OuterColor}} | ||
|InnerColor|ColorX| | |InnerColor|ColorX|{{Template:Material_InnerColor}} | ||
|ClipRect|'''[[Type:Nullable`1|Nullable`1]]<[[Type:Rect|Rect]]>'''|TypeAdv5=true| {{Template:Material_Rect}} | |ClipRect|'''[[Type:Nullable`1|Nullable`1]]<[[Type:Rect|Rect]]>'''|TypeAdv5=true| {{Template:Material_Rect}} | ||
|BlendMode|BlendMode|{{Template:Material_BlendMode_Desc}} | |BlendMode|BlendMode|{{Template:Material_BlendMode_Desc}} |
Latest revision as of 20:44, 29 June 2025
Component image 
UV Rect Material component as seen in the Scene Inspector

The UV_RectMaterial component is a material that shows where a rect (rectangle) would be on a material surface.
Fields
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. Some components stop their functionality when this field is disabled, but some don't. |
HighPriorityIntegration
|
Bool | If true, integrating this asset (e.g. processing procedural assets) gets higher priority than assets with this flag off. An example is user laser procedural meshes. |
_shader
|
Shader | Internal. |
Rect
|
Rect | See RectClip on Materials. |
OuterColor
|
ColorX | The color for the rest of the material. |
InnerColor
|
ColorX | The color inside the rectangle. |
ClipRect
|
Nullable`1<Rect> | See RectClip on Materials. |
BlendMode
|
BlendMode | How to blend this material's colors vs what it rendered on top of. |
Sidedness
|
Sidedness | Render on both sides of the mesh, front, or back. |
ZWrite
|
ZWrite | whether this material should respect the distance it is from the camera. |
ZTest
|
ZTest | Determines whether this object should render when it is in front of or behind other objects that respect depth from the camera |
OffsetFactor
|
Float | how much this material should be pushed forwards or backwards on the depth buffer factor wise |
OffsetUnits
|
Float | how much this material should be pushed forwards or backwards on the depth buffer unit wise |
RenderQueue
|
Int | changes at which point a material renders on the render stack |
Usage
Attach to a slot and put into the materials list of either a Component:MeshRenderer or Component:SkinnedMeshRenderer with a mesh to see what it looks like.
Examples
This article or section is a Stub. You can help the Resonite Wiki by expanding it.