Version: 2022.2

BatchRendererGroup.GetRegisteredMaterial

切换到手册
public Material GetRegisteredMaterial (Rendering.BatchMaterialID material);

参数

material BatchRendererGroup Material ID.

返回

Material Unity Material.

描述

Returns the previously registered Material associated with this MaterialID.