This version of Unity is unsupported.
Experimental: this API is experimental and might be changed or removed in the future.

RenderPipelineAsset.GetDefault2DMaterial

Declaration

public Material GetDefault2DMaterial();

Returns

Material Default material.

Description

Return the default 2D Material for this pipeline.

This is used whenever a Sprite is created in the Editor.