Interface: SurfaceEventMap
Defined in: events/SurfaceEvents.ts:16
Properties
visibility:changed
"visibility:changed": object;Defined in: events/SurfaceEvents.ts:17
surface
surface: NeuroSurface;visible
visible: boolean;opacity:changed
"opacity:changed": object;Defined in: events/SurfaceEvents.ts:18
surface
surface: NeuroSurface;opacity
opacity: number;color:changed
"color:changed": object;Defined in: events/SurfaceEvents.ts:19
surface
surface: NeuroSurface;color
color: ColorRepresentation;layer:added
"layer:added": object;Defined in: events/SurfaceEvents.ts:20
surface
surface: NeuroSurface;layer
layer: Layer;layer:removed
"layer:removed": object;Defined in: events/SurfaceEvents.ts:21
surface
surface: NeuroSurface;layerId
layerId: string;layer:updated
"layer:updated": object;Defined in: events/SurfaceEvents.ts:22
surface
surface: NeuroSurface;layer?
layer?: Layer | null;changes?
changes?: Record<string, unknown>;layer:reordered
"layer:reordered": SurfaceLayerReorderedEvent;Defined in: events/SurfaceEvents.ts:23
data:updated
"data:updated": object;Defined in: events/SurfaceEvents.ts:24
surface
surface: NeuroSurface;data
data: Float32Array;geometry:updated
"geometry:updated": object;Defined in: events/SurfaceEvents.ts:25
surface
surface: NeuroSurface;geometry:smoothed
"geometry:smoothed": object;Defined in: events/SurfaceEvents.ts:26
surface
surface: NeuroSurface;iterations
iterations: number;lambda
lambda: number;method
method: string;variant:changed
"variant:changed": object;Defined in: events/SurfaceEvents.ts:27
surface
surface: NeuroSurface;variant
variant: string;variant:animating
"variant:animating": object;Defined in: events/SurfaceEvents.ts:33
Each frame of an animated variant switch: progress is the time fraction in [0, 1] (as morph:animating), weight the eased shape fraction (0 = the shape the switch started from, 1 = variant).
surface
surface: NeuroSurface;variant
variant: string;progress
progress: number;weight
weight: number;material:updated
"material:updated": object;Defined in: events/SurfaceEvents.ts:34
surface
surface: NeuroSurface;morph:changed
"morph:changed": object;Defined in: events/SurfaceEvents.ts:35
surface
surface: NeuroSurface;target?
target?: string;weight?
weight?: number;weights?
weights?: Record<string, number>;morph:animating
"morph:animating": object;Defined in: events/SurfaceEvents.ts:36
surface
surface: NeuroSurface;progress
progress: number;morph:complete
"morph:complete": object;Defined in: events/SurfaceEvents.ts:37
surface
surface: NeuroSurface;target?
target?: string;weights?
weights?: Record<string, number>;morph:cancelled
"morph:cancelled": object;Defined in: events/SurfaceEvents.ts:38
surface
surface: NeuroSurface;dispose
dispose: object;Defined in: events/SurfaceEvents.ts:39
surface
surface: NeuroSurface;render:needed
"render:needed": object;Defined in: events/SurfaceEvents.ts:40
surface
surface: NeuroSurface;