Interface: NeuroSurfaceViewerConfig
Defined in: NeuroSurfaceViewer.ts:104
Properties
ambientLightColor?
ambientLightColor?: number;Defined in: NeuroSurfaceViewer.ts:105
directionalLightColor?
directionalLightColor?: number;Defined in: NeuroSurfaceViewer.ts:106
directionalLightIntensity?
directionalLightIntensity?: number;Defined in: NeuroSurfaceViewer.ts:107
rotationSpeed?
rotationSpeed?: number;Defined in: NeuroSurfaceViewer.ts:108
initialZoom?
initialZoom?: number;Defined in: NeuroSurfaceViewer.ts:109
ssaoRadius?
ssaoRadius?: number;Defined in: NeuroSurfaceViewer.ts:110
ssaoKernelSize?
ssaoKernelSize?: number;Defined in: NeuroSurfaceViewer.ts:111
rimStrength?
rimStrength?: number;Defined in: NeuroSurfaceViewer.ts:112
metalness?
metalness?: number;Defined in: NeuroSurfaceViewer.ts:114
PBR metalness for standard/physical surface materials; Phong surfaces ignore it.
roughness?
roughness?: number;Defined in: NeuroSurfaceViewer.ts:115
useShaders?
useShaders?: boolean;Defined in: NeuroSurfaceViewer.ts:116
showControls?
showControls?: boolean;Defined in: NeuroSurfaceViewer.ts:118
Deprecated
Pane UI is no longer part of the viewer runtime.
useControls?
useControls?: boolean;Defined in: NeuroSurfaceViewer.ts:120
Deprecated
Use the report mount controls or a ViewerPlugin.
controlType?
controlType?: "surface" | "trackball";Defined in: NeuroSurfaceViewer.ts:121
backgroundColor?
backgroundColor?: number;Defined in: NeuroSurfaceViewer.ts:122
preset?
preset?: SurfViewStylePresetName;Defined in: NeuroSurfaceViewer.ts:123
linkHemispheres?
linkHemispheres?: boolean;Defined in: NeuroSurfaceViewer.ts:124
hoverCrosshair?
hoverCrosshair?: boolean;Defined in: NeuroSurfaceViewer.ts:125
hoverCrosshairColor?
hoverCrosshairColor?: number;Defined in: NeuroSurfaceViewer.ts:126
hoverCrosshairSize?
hoverCrosshairSize?: number;Defined in: NeuroSurfaceViewer.ts:127
clickToAddAnnotation?
clickToAddAnnotation?: boolean;Defined in: NeuroSurfaceViewer.ts:128
allowCDNFallback?
allowCDNFallback?: boolean;Defined in: NeuroSurfaceViewer.ts:130
Deprecated
Runtime CDN loading is disabled and will be removed in v3.
useGPUPicking?
useGPUPicking?: boolean;Defined in: NeuroSurfaceViewer.ts:132
Use GPU-based picking for faster vertex selection on large meshes
headlight?
headlight?: boolean;Defined in: NeuroSurfaceViewer.ts:139
Hold the key and fill lights fixed relative to the camera (default true), so whichever side of the cortex faces the viewer is key-lit. false restores the world-fixed rig of earlier releases: key light at the preset's directionalPosition, fill at (-1, -0.5, -1).