Component:MaterialApplyPolicy

From Resonite Wiki
Revision as of 05:03, 13 February 2023 by imported>Kazu (fix link for native en.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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

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

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


Examples

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

  • MeshRenderer
  • SkinnedMeshRenderer