Skip to main content

Interface: ObservedMesh

Describes an authored mesh and the current configuration's effect on it. An active collision, snap or hotspot anchor can be enabled and invisible.

Example​

const meshes = window.mimeeqApp.observers.meshes.all.getValue() ?? [];
console.table(meshes.filter(({ state }) => state === 'hiddenByRule'));

Extends​

Properties​

enabled​

enabled: boolean


flags​

flags: object

alwaysVisible​

alwaysVisible: boolean

hasAnimations​

hasAnimations: boolean

hasHotspot​

hasHotspot: boolean

nonPickable​

nonPickable: boolean

skipBoundingBox​

skipBoundingBox: boolean

skipDimensions​

skipDimensions: boolean

skipExport​

skipExport: boolean

skipZoom​

skipZoom: boolean


instanceId​

instanceId: string

Inherited from​

MeshReference.instanceId


material​

material: MeshMaterial | null


meshId​

meshId: string

Inherited from​

MeshReference.meshId


meshName​

meshName: string


modelName​

modelName: string


morphTargets​

morphTargets: string[]


productId​

productId: string


state​

state: "active" | "hiddenByRule" | "disabledInAdmin" | "missingInModel"


type​

type: string


visible​

visible: boolean