Skip to main content

Interface: ObservedMaterialTexture

Describes a texture channel of a material in use. The image URL is null when an image address is unavailable.

Example​

const textures = window.mimeeqApp.observers.meshes.textures.getValue() ?? [];
const material = window.mimeeqApp.observers.meshes.materials.getValue()?.[0];
console.table(textures.filter(({ materialId }) => materialId === material?.materialId));

Properties​

channel​

channel: string


imageUrl​

imageUrl: string | null


materialId​

materialId: string