Interface: NeuroSurfaceViewerConfig
Defined in: NeuroSurfaceViewer.ts:104
Properties
ambientLightColor?
optional ambientLightColor?: number;Defined in: NeuroSurfaceViewer.ts:105
directionalLightColor?
optional directionalLightColor?: number;Defined in: NeuroSurfaceViewer.ts:106
directionalLightIntensity?
optional directionalLightIntensity?: number;Defined in: NeuroSurfaceViewer.ts:107
rotationSpeed?
optional rotationSpeed?: number;Defined in: NeuroSurfaceViewer.ts:108
initialZoom?
optional initialZoom?: number;Defined in: NeuroSurfaceViewer.ts:109
ssaoRadius?
optional ssaoRadius?: number;Defined in: NeuroSurfaceViewer.ts:110
ssaoKernelSize?
optional ssaoKernelSize?: number;Defined in: NeuroSurfaceViewer.ts:111
rimStrength?
optional rimStrength?: number;Defined in: NeuroSurfaceViewer.ts:112
metalness?
optional metalness?: number;Defined in: NeuroSurfaceViewer.ts:114
PBR metalness for standard/physical surface materials; Phong surfaces ignore it.
roughness?
optional roughness?: number;Defined in: NeuroSurfaceViewer.ts:115
useShaders?
optional useShaders?: boolean;Defined in: NeuroSurfaceViewer.ts:116
showControls?
optional showControls?: boolean;Defined in: NeuroSurfaceViewer.ts:118
Deprecated
Pane UI is no longer part of the viewer runtime.
useControls?
optional useControls?: boolean;Defined in: NeuroSurfaceViewer.ts:120
Deprecated
Use the report mount controls or a ViewerPlugin.
controlType?
optional controlType?: "surface" | "trackball";Defined in: NeuroSurfaceViewer.ts:121
backgroundColor?
optional backgroundColor?: number;Defined in: NeuroSurfaceViewer.ts:122
preset?
optional preset?: SurfViewStylePresetName;Defined in: NeuroSurfaceViewer.ts:123
linkHemispheres?
optional linkHemispheres?: boolean;Defined in: NeuroSurfaceViewer.ts:124
hoverCrosshair?
optional hoverCrosshair?: boolean;Defined in: NeuroSurfaceViewer.ts:125
hoverCrosshairColor?
optional hoverCrosshairColor?: number;Defined in: NeuroSurfaceViewer.ts:126
hoverCrosshairSize?
optional hoverCrosshairSize?: number;Defined in: NeuroSurfaceViewer.ts:127
clickToAddAnnotation?
optional clickToAddAnnotation?: boolean;Defined in: NeuroSurfaceViewer.ts:128
allowCDNFallback?
optional allowCDNFallback?: boolean;Defined in: NeuroSurfaceViewer.ts:130
Deprecated
Runtime CDN loading is disabled and will be removed in v3.
useGPUPicking?
optional useGPUPicking?: boolean;Defined in: NeuroSurfaceViewer.ts:132
Use GPU-based picking for faster vertex selection on large meshes
headlight?
optional 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).