Component:MaterialApplyPolicy: Difference between revisions

From Resonite Wiki
No edit summary
m GreaseMonkey moved page MaterialApplyPolicy (Component) to Component:MaterialApplyPolicy: Move to Component namespace
(No difference)

Revision as of 23:32, 29 January 2024

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


(Currently written in Japanese. for native speaker: plz edit for translation from Ja later)

Component image 
Material Apply Policy component as seen in the Scene Inspector


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.
CanApply Bool

Usage

SkinnedMeshRenderer/MeshRendererと同じSlotについている場合、MaterialTipを使ってマテリアルを適用できる機構に制限をつけるやつです。  
CanApplyを無効にするとMaterialTipを使用して適用できなくなります。

Examples

  • SkinnedMeshRenderer に入れてアバターのマテリアルを変更されないようにこのコンポーネントを追加し、CanApplyをfalseに設定。
  • MeshRenderer に入れて小物のマテリアルについて特定の場所が明示的に変更できるようにCanApplyをtrueに設定。
  • Related Components

  • MeshRenderer
  • SkinnedMeshRenderer