Version: 2017.2

Graphic.materialForRendering

Cambiar al Manual
public Material materialForRendering ;

Descripción

The material that will be sent for Rendering (Read only).

This is the material that actually gets sent to the CanvasRenderer. By default it's the same as Graphic.material. When extending Graphic you can override this to send a different material to the CanvasRenderer than the one set by Graphic.material. This is usefull if you want to modify the user set material in a non destructive manner.