Skip to main content

Interface: ObservedSceneMaterial

Lists a material and the active meshes that use it.

Example​

const materials = window.mimeeqApp.observers.meshes.materials.getValue() ?? [];
console.table(materials.map(({ name, meshes }) => ({ name, meshCount: meshes.length })));

Properties​

materialId​

materialId: string


meshes​

meshes: MeshReference[]


name​

name: string | null


thumbnail​

thumbnail: string | null

Public thumbnail URL resolved against the customer CDN, or null when unavailable.