default2DMaskMaterial
Gets the default 2D Mask Material used by Sprite Masks in Universal Render Pipeline.
읽는 시간 1분최근 업데이트: 한 달 전
Definition
- Type: Property
- Namespace: UnityEngine.Rendering
- Assembly: UnityEngine.CoreModule
public virtual Material default2DMaskMaterial { get; }
Remarks
This method returns the default material for Sprite Masks. Unity calls this method automatically when creating a new Sprite Mask in the Editor.