HotspotRenderer
Since version 4.0.0
Hotspot renderer
class HotspotRenderer
Methods
Refresh hotspots by collecting hotspot elements from current hotspot root element
Render hotspots
Constructor
Create new instance
new HotspotRenderer(rootEl: HTMLElement, renderer: WebGLRenderer, options: Partial<HotspotOptions>): HotspotRenderer
Parameters
rootEl
HTMLElement
Container element for hotspots
renderer
instance of WebGLRenderer
options
Partial<HotspotOptions>
Hotspot options
Methods
refresh
refreshvoid
refresh(): void
Refresh hotspots by collecting hotspot elements from current hotspot root element
Throws
if data-position doesn't include all x, y, z values