Component:MeshRendererMaterialRelay: Difference between revisions

From Resonite Wiki
Automated: update Categories
add inof
Line 6: Line 6:
}}
}}


<!--T:2-->Relays the application of a [[Material]] applied by the [[Material Tool]] to the the [[MeshRenderer (Component)]]'s int the Renderers list.  
<!--T:2-->Relays the application of a [[Material]] applied by the [[Material Tool]] to the the [[Component:MeshRenderer|MeshRenderer]]'s in the Renderers list.  


This component is applied to an [[Avatar]] by default when created with the [[Avatar Creator]].
== Fields ==
== Fields ==
{{Table ComponentFields
{{Table ComponentFields
|Renderers|{{RootFieldType|SyncRefList`1|[[Component:MeshRenderer|MeshRenderer]]}}|TypeAdv0=true|
|Renderers|{{RootFieldType|SyncRefList`1|[[Component:MeshRenderer|MeshRenderer]]}}|TypeAdv0=true| The list of renderers to relay to the material tool.
|_renderer|'''[[Component:MeshRenderer|MeshRenderer]]'''|TypeAdv1=true|
|_renderer|'''[[Component:MeshRenderer|MeshRenderer]]'''|TypeAdv1=true| An extra renderer that's legacy.
}}
}}


<!--T:3-->
<!--T:3-->
== Usage ==
== Usage ==
Attach to a slot and provide the mesh renderers that should have materials applied to them with the material Tool in <code>Renderers</code>.


<!--T:4-->
<!--T:4-->
== Examples ==
== Examples ==
This component is applied to an [[Avatar]] by default when created with the [[Avatar Creator]].


<!--T:5-->
<!--T:5-->
== Related Components ==
== See Also ==
* [[Material Tool]]
* [[Component:MaterialRelay]]


[[Category:ComponentStubs]]
[[Category:Components:Assets:Tagging{{#translation:}}|Mesh Renderer Material Relay]]
[[Category:Components:Assets:Tagging{{#translation:}}|Mesh Renderer Material Relay]]
[[Category:Components{{#translation:}}|Mesh Renderer Material Relay]]
[[Category:Components{{#translation:}}|Mesh Renderer Material Relay]]

Revision as of 19:09, 25 January 2025


This article or section is a Stub. You can help the Resonite Wiki by expanding it.

Component image 
Mesh Renderer Material Relay component as seen in the Scene Inspector

Relays the application of a Material applied by the Material Tool to the the MeshRenderer's in the Renderers list.

Fields

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.
Renderers list of MeshRenderer The list of renderers to relay to the material tool.
_renderer MeshRenderer An extra renderer that's legacy.

Usage

Attach to a slot and provide the mesh renderers that should have materials applied to them with the material Tool in Renderers.

Examples

This component is applied to an Avatar by default when created with the Avatar Creator.

See Also