MenuEditNote

Parameters:
NameTypeDescription
worldPositionTHREE.Vector3

where in scene this menu should be

Members

worldPosition :THREE.Vector3

Type:
  • THREE.Vector3

Methods

getWorldPosition() → {THREE.Vector3}

Returns:
  • menu position in world
Type: 
THREE.Vector3

setAddNoteButtonCallback(f)

Parameters:
NameTypeDescription
faddButtonNoteCallback

callback call when add note button is clicked (first param is the textarea value of menu)

setCloseButtonCallback(f)

Parameters:
NameTypeDescription
ffunction

callback call when close button is clicked