import { CanonicalMaterial } from "./canonical_material.js"; import { SceneNodeGeometry } from "./scene_node.js"; export interface ModelMaterials { getMaterialByGeometryID(geometryLocalID: number): [ CanonicalMaterial, number ] | undefined; getMaterialIDByGeometryID(geometryLocalID: number): number | undefined; materials(): IterableIterator; readonly size: number; readonly defaultMaterialLocalID: number | undefined; get(localID: number): CanonicalMaterial | undefined; /** * Get the material matching a geometry node. * * @param node The geometry node to match a material for. * @return {CanonicalMaterial | undefined} A material, or undefined if it is not found. */ getMaterialFromGeometryNode(node: SceneNodeGeometry): CanonicalMaterial | undefined; } //# sourceMappingURL=model_materials.d.ts.map