Component:MeshRendererMaterialRelay

From Resonite Wiki


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