The Viewer.
Plugin configuration.
The Annotations created by AnnotationsPlugin.createAnnotation, each mapped to its Annotation.id.
ID for this Plugin, unique within its Viewer.
The Viewer that contains this Plugin.
Gets the amount by which an Annotation is offset from the surface of its Entity when created by AnnotationsPlugin.createAnnotation, when we create the Annotation by supplying a PickResult to AnnotationsPlugin.createAnnotation.
This is 0.3 by default.
The surface offset.
Sets the amount by which each Annotation is offset from the surface of its Entity, when we create the Annotation by supplying a PickResult to AnnotationsPlugin.createAnnotation.
See the class comments for more info.
This is 0.3 by default.
Destroys all Annotations.
Creates an Annotation.
The Annotation is then registered by Annotation.id in AnnotationsPlugin.annotations.
Annotation configuration.
Unique ID to assign to Annotation.id. The Annotation will be registered by this in AnnotationsPlugin.annotations and {@link Scene.components}. Must be unique among all components in the Viewer.
The new Annotation.
Destroys this Plugin and removes it from its Viewer.
Destroys an Annotation.
ID of Annotation to destroy.
Logs an error message to the JavaScript developer console, prefixed with the ID of this Plugin.
The error message
Fires an event at this Plugin.
The event type name
The event parameters
Logs a message to the JavaScript developer console, prefixed with the ID of this Plugin.
The error message
Fires when a annotation is created.
The annotationCreated event
Callback fired on the event
Fires when a annotation is destroyed.
The annotationDestroyed event
Callback fired on the event
Fires when a mouse enters a annotation.
The markerMouseEnter event
Callback fired on the event
Fires when a mouse leave an annotation.
The markerMouseLeave event
Callback fired on the event
Fires when a mouse leave an annotation.
The markerClicked event
Callback fired on the event
Logs a warning message to the JavaScript developer console, prefixed with the ID of this Plugin.
The error message
Generated using TypeDoc
Viewer plugin that creates Annotations.