Interface IThinHighlightLayerOptions
interface IThinHighlightLayerOptions {
blurHorizontalSize?: number;
blurTextureSizeRatio?: number;
blurVerticalSize?: number;
forceGLSL?: boolean;
isStroke?: boolean;
}
blurHorizontalSize?: number;
blurTextureSizeRatio?: number;
blurVerticalSize?: number;
forceGLSL?: boolean;
isStroke?: boolean;
}
Hierarchy (View Summary)
- WebXRSpatialLayerType
- IThinHighlightLayerOptions
Index
Properties
Optionalblur Horizontal Size
blurHorizontalSize?: number
How big in texel of the blur texture is the horizontal blur. Default: 1
Optionalblur Texture Size Ratio
blurTextureSizeRatio?: number
Multiplication factor apply to the main texture size in the first step of the blur to reduce the size of the picture to blur (the smaller the faster). Default: 0.5
Optionalblur Vertical Size
blurVerticalSize?: number
How big in texel of the blur texture is the vertical blur. Default: 1
Optionalforce GLSL
forceGLSL?: boolean
Use the GLSL code generation for the shader (even on WebGPU). Default is false
Optionalis Stroke
isStroke?: boolean
Should we display highlight as a solid stroke? Default: false
Highlight layer options. This helps customizing the behaviour of the highlight layer.