MaterialApplyPolicy (コンポーネント)

From Neos Wiki
Jump to navigation Jump to search
This page is a translated version of the page MaterialApplyPolicy (Component) and the translation is 100% complete.
Other languages:
English • ‎日本語
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 MaterialTipを使用して変更できるようにするか

使い方

https://misskey.neos.love/notes/9b5wh5huc1 より

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


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

  • MeshRenderer
  • SkinnedMeshRenderer