Type alias HtmlAnchorOptions

HtmlAnchorOptions: { enablePointerEvents?: boolean; group?: string; occlusion?: HtmlAnchorOcclusionOptions; parentNode?: TransformNode; scaling?: HtmlAnchorScalingOptions }

Type declaration

  • Optional enablePointerEvents?: boolean

    Activates/deactivates pointer-events CSS class of anchor element.
    Set this to true if the html element should be interactive (e.g. button)

    Default: false

  • Optional group?: string

    Can be used to filter affected html anchors in removeAllHtmlAnchors

  • Optional occlusion?: HtmlAnchorOcclusionOptions

    Occlusion options, see HtmlAnchorOcclusionOptions

  • Optional parentNode?: TransformNode

    Associated anchor mesh will be created underneath this parent node.
    Can be used to make anchor position calculation easier in nested scene structures.

  • Optional scaling?: HtmlAnchorScalingOptions

    Scaling options, see HtmlAnchorScalingOptions

Generated using TypeDoc