RenderPipelineAsset.default2DMaskMaterial

public Material default2DMaskMaterial;

Returns

Material Returns the default material.

Description

Gets the default 2D Mask Material used by Sprite Masks in Universal Render Pipeline.

This method returns the default material for Sprite Masks. Unity calls this method automatically when creating a new Sprite Mask in the Editor.


Did you find this page useful? Please give it a rating: