Version: 2017.3
Experimental: this API is experimental and might be changed or removed in the future.

RenderPipelineAsset.GetDefault2DMaterial

切换到手册
public Material GetDefault2DMaterial ();

返回

Material 默认材质。

描述

返回此管线的默认 2D Material

每当在编辑器中创建精灵时即会使用此方法。