MaterialApplyPolicy (コンポーネント)
Jump to navigation
Jump to search
SkinnedMeshRenderer に入れてアバターのマテリアルを変更されないようにこのコンポーネントを追加し、CanApplyをfalseに設定。
MeshRenderer に入れて小物のマテリアルについて特定の場所が明示的に変更できるようにCanApplyをtrueに設定。
MeshRenderer
SkinnedMeshRenderer
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を使用して適用できなくなります。