API / geotoolkit3d / util / debug / CameraFrustumDebug / CameraFrustumDebug
debug.CameraFrustumDebug.CameraFrustumDebug
Utility class rendering camera frustum and objects' bounding boxes for debugging purpose.
Constructors
Methods
▸ Static createDebugVisuals(plot, options?): Object3D
Create the debug visuals including camera frustum and objects' bounding boxes.
Note: the debug visual are meant to be added to the Plot root.
| Name | Type | Description |
|---|---|---|
plot | Plot | the Plot to debug |
Optional options | DisplayDebugVisualsOptions | DisplayDebugVisualsOptions. |
the container holding the debug visuals.
▸ Static displayDebugVisuals(plot, options?): void
Display the debug visuals including camera frustum and objects' bounding boxes.
As opposed to createDebugVisuals() method, this method takes care of adding and updating the visuals automatically.
| Name | Type | Description |
|---|---|---|
plot | Plot | the Plot to debug |
Optional options | DisplayDebugVisualsOptions | DisplayDebugVisualsOptions. |
void
▸ Static getClassName(): string
string
▸ Static removeDebugVisuals(plot): void
Remove the debug visuals including camera frustum and objects' bounding boxes.
| Name | Type | Description |
|---|---|---|
plot | Plot | the Plot contains the debug visual |
void