@pmndrs/bvh
    Preparing search index...

    Function threeMaterialOf

    • The three material that draws a hit's triangle: object.material[i] of its group (a folded mesh's from the triangle, a per-group instance's from its source), or the object's one material. source and meshSource are the hit instance's (sourceOf, meshSourceOf or scene.meshSources[source.mesh]).

      Parameters

      Returns Material<MaterialEventMap> | null