Component:HierarchyMaterialTarget: Difference between revisions

From Resonite Wiki
No edit summary
Updated description, added links.
 
(One intermediate revision by one other user not shown)
Line 7: Line 7:
|Name=Hierarchy Material Target
|Name=Hierarchy Material Target
}}
}}
The HierarchyMaterialTarget signals that an object you are hitting with the Material Tool is an appropriate target to look for materials in.
The '''HierarchyMaterialTarget''' component signals that a [[Slot|slot]] [[Tag|tagged]] with this component you are hitting with the [[Material Tool]] is an appropriate target to look for materials in.


<!--T:2-->
<!--T:2-->
Line 25: Line 25:
== Related Components ==
== Related Components ==
</translate>
</translate>
[[Category:ComponentStubs]]
[[Category:Components{{#translation:}}|Hierarchy Material Target]]
[[Category:Components{{#translation:}}|Hierarchy Material Target]]
[[Category:Components:Assets:Tagging{{#translation:}}|Hierarchy Material Target]]
[[Category:Components:Assets:Tagging{{#translation:}}|Hierarchy Material Target]]

Latest revision as of 22:52, 20 March 2025


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

Component image 
Hierarchy Material Target component as seen in the Scene Inspector

The HierarchyMaterialTarget component signals that a slot tagged with this component you are hitting with the Material Tool is an appropriate target to look for materials in.

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.

Usage

Examples

If this component is applied to the root of an avatar, when a material is applied to the avatar it will look for any mesh renderers in the hierarchy and apply the material.

Related Components