public void GetMaterials (List<Material> m);

Parameters

mA list of materials to populate.

Description

返回该对象的所有实例化材质。

Use this method instead of materials if you control the life cycle of the list passed in and you want to avoid allocating a new array with every access.