new MenuEditNote(worldPosition)
Parameters:
Name | Type | Description |
---|---|---|
worldPosition | THREE. | 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:
Name | Type | Description |
---|---|---|
f | addButtonNoteCallback | callback call when add note button is clicked (first param is the textarea value of menu) |
setCloseButtonCallback(f)
Parameters:
Name | Type | Description |
---|---|---|
f | function | callback call when close button is clicked |