Type alias HtmlAnchorOcclusionOptions

HtmlAnchorOcclusionOptions: { anchorMeshSize?: number; hideIfOccluded: boolean }

Type declaration

  • Optional anchorMeshSize?: number

    Size of dummy mesh for occlusion check Smaller values result in a more precise occlusion check around the center of the anchor. Too small values can lead to flickering of the html element.

    Default: 0.01

  • hideIfOccluded: boolean

    true: html elements can be occluded by other meshes false: html elements will always be shown in front of the scene

    Default: false

Generated using TypeDoc