Documentation

Unity Engine

Unity Engine

defaultMaterial

Return the default Material for this pipeline.
Read time 1 minuteLast updated 2 months ago

Definition

public virtual Material defaultMaterial { get; }

Remarks

This is used whenever a 3D object is created in the Editor.
Note: This material is also applied to imported submeshes with 0 triangles.