The HierarchyMaterialTarget signals that an object you are hitting is an appropriate target to look for materials in.
The HierarchyMaterialTarget signals that an object you are hitting with the Material Tool is an appropriate target to look for materials in.
<!--T:2-->
<!--T:2-->
Line 20:
Line 20:
<!--T:4-->
<!--T:4-->
== Examples ==
== 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.
<!--T:5-->
<!--T:5-->
Revision as of 02:42, 1 April 2024
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 signals that an object you are hitting with the Material Tool is an appropriate target to look for materials in.
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.