Optional
maxOptional
minCan be used to limit the calculated scale value so that a html anchor element is still readable/clickable if the camera is far zoomed out.
Default: undefined (no limit)
Optional
referenceBasis factor for converting camera distance in Babylon.js units to pixels. Find a suitable value for your project by trial and error, whereas larger values will make the html anchor elements larger as well.
Default: 1
true
: html element size is relative to camera distance, just like a "normal" 3d object
false
: html element size remains constant and referenceScale
, minScale
and maxScale
will have no effect
Default: false
Generated using TypeDoc
Max limit cap when zooming the camera in to avoid html anchor elements getting too large.
Default: undefined (no limit)