Type Alias: HtmlOverlayPositionUpdatedDelegate()
HtmlOverlayPositionUpdatedDelegate: (
element
,position2D
,position3D
,distanceToCamera
,userData
) =>void
Callback that is triggered whenever the 2D position of an overlay is updated in HtmlOverlayTool.
Parameters
• element: HTMLElement
• position2D: THREE.Vector2
• position3D: THREE.Vector3
• distanceToCamera: number
• userData: any
Returns
void