Property material
material
A reference to a UnityEngine.Material object.
Declaration
public Material material { get; set; }
Property Value
Type | Description |
---|---|
Material |
Remarks
For efficient rendering, the material should enable GPU instancing. For entities converted from GameObjects, this value is derived from the Materials array of the source Mesh Renderer Component.