Interface: DepthEnhancedOptions
Defined in: src/display/DepthEnhancedLayer.ts:14
Configuration options for depth-enhanced viewing
Properties
depthLayers?
ts
optional depthLayers?: number;Defined in: src/display/DepthEnhancedLayer.ts:19
Number of adjacent slices to render on each side (fore and aft)
Default
ts
2maxBlurRadius?
ts
optional maxBlurRadius?: number;Defined in: src/display/DepthEnhancedLayer.ts:25
Maximum blur radius for the furthest slices (in pixels)
Default
ts
8parallaxAmount?
ts
optional parallaxAmount?: number;Defined in: src/display/DepthEnhancedLayer.ts:32
Parallax shift amount as a fraction of the slice dimensions When cursor moves, adjacent slices shift by this amount * distance from center
Default
ts
0.03baseOpacity?
ts
optional baseOpacity?: number;Defined in: src/display/DepthEnhancedLayer.ts:39
Base opacity for adjacent slices (0-1) Opacity decreases with distance from current slice
Default
ts
0.4enabled?
ts
optional enabled?: boolean;Defined in: src/display/DepthEnhancedLayer.ts:45
Whether depth enhancement is initially enabled
Default
ts
true