Function traverseMaterial
- traverseMaterial(material, cb): any
Parameters
material: Material | Material[] | Mesh<BufferGeometry<NormalBufferAttributes>, Material | Material[], Object3DEventMap>
cb: ((material) => any)
- (material): any
Returns any
Returns any
遍历每个材质对象