API / geotoolkit3d / Event / Type
geotoolkit3d.Event.Type
List of built-in events fired/listened by the 3D toolkit itself.
Those event types will be used by the 3D toolkit when a corresponding event occurs.
The toolkit also listen to some of those events to update its state (dirty, size, etc).
Enumeration Members
Enumeration Members
• Add = "add"
Node added.
Used whenever a node has been added to the scenegraph, note that it will be sent only once even if the given node itself has children.
• AfterRender = "afterrender"
AfterRender.
Object fires this event after the plot completes its render
• Animation = "animation"
Animation occurred.
Used when an intermediate step of an animation has finished in the AnimationManager
• BeforeRender = "beforerender"
BeforeRender.
Object fires this event before the plot prepares it render
• Camera = "camera"
Camera related.
Used whenever the camera moves, rotates or has changed in any way
• DuringRender = "duringrender"
DuringRender.
Object fires this event during its render
• FastRendering = "fastrendering"
Fast rendering.
This event is fired when the Plot render a new frame as usual.
It is called "Fast" rendering to distinguish from the special "Quality" render, which have a distinct event.
• Invalidate = "invalidate"
Invalidate.
Used whenever a change on a node explicitly requires an invalidation and render.
• ModelLimits = "modellimits"
Model limits changed.
Used when a node has changed its boundingbox.
This may trigger a recompute of the modellimits of the Plot
• QualityRendering = "qualityrendering"
Quality rendering.
This event is fired when a Quality render is performed by the Plot.
A quality render hints objects and the scene to be rendered at higher quality if possible.
Quality render pass can be turned on or off via the Plot options.
A Quality render pass is set to happen after a set delay after the last regular (fast) render. For example, if the delay is set to 500ms, then after the user stop moving the camera and no objects updates, a quality render will be drawn after 500ms.
The delay after which Quality render can be drawn is defined by the Plot option.advancedrendering.qualityrenderpass.timeout.
• Remove = "remove"
Node removed.
Used whenever a node has been removed from the scenegraph.
Note that this event will be sent only for the removed node.
And not for its own children as those have not been removed from their parent.
• RenderError = "rendererror"
RenderError.
This Event is fired when any error is catched
• Resize = "resize"
Plot resizing.
Used when the plot has been resized