GreaseMonkey (talk | contribs) Splitting the whole-page translate tag into per-section tags |
GreaseMonkey (talk | contribs) Translate from Japanese and update links - please see talk page for original text |
||
Line 3: | Line 3: | ||
<!--T:1--> | <!--T:1--> | ||
{{stub}} | {{stub}} | ||
{{Infobox Component | {{Infobox Component | ||
|Image=MaterialApplyPolicyComponent.png | |Image=MaterialApplyPolicyComponent.png | ||
Line 19: | Line 18: | ||
<translate> | <translate> | ||
== Usage == <!--T:3--> | == Usage == <!--T:3--> | ||
SkinnedMeshRenderer/ | When this component is added to a [[Slot]] with a [[Component:SkinnedMeshRenderer|SkinnedMeshRenderer]] or [[Component:MeshRenderer|MeshRenderer]] attached, it allows one to limit the effects of the [[Material Tool]]. | ||
Setting <code>CanApply</code> to false will prevent the Material Tool from applying materials to any SkinnedMeshRenderer/MeshRenderer components in the slot. | |||
</translate> | </translate> | ||
<translate> | <translate> | ||
== Examples == <!--T:4--> | == Examples == <!--T:4--> | ||
< | On an avatar, you can try adding this component to the Slot of each SkinnedMeshRender, setting <code>CanApply</code> to false in each case. Doing this will ensure that the avatar's material cannot be changed by the Material Tool. | ||
< | |||
Adding this component to the Slot of a MeshRender and setting <code>CanApply</code> to true can allow one to explicitly change the material in specific places on small objects. | |||
</translate> | </translate> | ||
<translate> | <translate> | ||
== Related Components == <!--T:5--> | == Related Components == <!--T:5--> | ||
* [[Components:MeshRenderer|MeshRenderer]]</li> | |||
* [[Components:SkinnedMeshRenderer|SkinnedMeshRenderer]]</li> | |||
</translate> | </translate> | ||
[[Category:ComponentStubs]] | [[Category:ComponentStubs]] | ||
[[Category:Components{{#translation:}}|Material Apply Policy]] | [[Category:Components{{#translation:}}|Material Apply Policy]] | ||
[[Category:Components:Assets:Tagging{{#translation:}}|Material Apply Policy]] | [[Category:Components:Assets:Tagging{{#translation:}}|Material Apply Policy]] |
Revision as of 00:04, 30 January 2024
This article or section is a Stub. You can help the Resonite Wiki by expanding it.
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. |
CanApply
|
Bool |
Usage
When this component is added to a Slot with a SkinnedMeshRenderer or MeshRenderer attached, it allows one to limit the effects of the Material Tool.
Setting CanApply
to false will prevent the Material Tool from applying materials to any SkinnedMeshRenderer/MeshRenderer components in the slot.
Examples
On an avatar, you can try adding this component to the Slot of each SkinnedMeshRender, setting CanApply
to false in each case. Doing this will ensure that the avatar's material cannot be changed by the Material Tool.
Adding this component to the Slot of a MeshRender and setting CanApply
to true can allow one to explicitly change the material in specific places on small objects.