API / geotoolkit3d / util / CameraHelper / CameraHelper
util.CameraHelper.CameraHelper
Utility class providing help functions for camera related operations.
Constructors
Methods
Methods
▸ Static isInCameraFrustum(plot, object, options?): boolean
Test if an object (or its children) is inside camera frustum, which means, inside the current 3D viewport of the given Plot.
To test if any object is inside camera frustum, user can set object as plot.getRoot().
| Name | Type | Description |
|---|---|---|
plot | Plot | the plot |
object | Object3D<Object3DEventMap> | object to test |
Optional options | IsInCameraOptions | IsInCameraOptions |
boolean
true if given object is inside camera frustum, otherwise false