MaterialApplyPolicy (Component)

From Neos Wiki
Jump to navigation Jump to search
Other languages:
English • ‎日本語

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


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

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

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

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


Examples

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

  • MeshRenderer
  • SkinnedMeshRenderer