Function traverseMaterial

  • 遍历每个材质对象

    Parameters

    • material: Material | Material[] | Mesh<BufferGeometry<NormalBufferAttributes>, Material | Material[], Object3DEventMap>
    • cb: ((material) => any)
        • (material): any
        • Parameters

          • material: Material

          Returns any

    Returns any