お好みのスクリプト言語を選択すると、サンプルコードがその言語で表示されます。
Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.
Close単一シェーダプロパティの UI をハンドリングします
この関数は指定したシェーダプロパティに対して、型にもとづき適切な UI を描画します。 シェーダ プロパティに対して定義された任意のカスタム MaterialPropertyDrawer オブジェクトもまた適用されます。もしデフォルトの UIをカスタム Drawer なしで描画したい場合、 DefaultShaderProperty 関数を使用して下さい。 See Also: MaterialProperty, MaterialPropertyDrawer.