Version: 2021.3
言語: 日本語

AssetPostprocessor.OnAssignMaterialModel(Material,Renderer)

マニュアルに切り替える

説明

ソースマテリアルをフィードします。

The returned material will be assigned to the renderer. If you return null, Unity will use its default material finding / generation method to assign a material. The sourceMaterial is generated directly from the model before importing and will be destroyed immediately after OnAssignMaterial.