API / geotoolkit3d / util / CameraHelper / CameraHelper
util.CameraHelper.CameraHelper
Type Aliases
Type Aliases
Ƭ IsInCameraOptions: Object
| Name | Type | Description |
|---|---|---|
filter? | FilterCallback | filter callback to filter out objects from the test if callback returns false. Default is null. |
ignoreinvisible? | boolean | Whether this method should ignore invisible objects or test them. If true, only visible objects (object.visible === true) will be tested. In this case, if a node is not visible, then its children will not be tested either. If set to false, the method will test objects even if they are not visible. Default value is true. |
testindividualobjects? | boolean | Whether to test individual objects or consider the union of each children objects' bounding boxes. Configure testindividualobjects to further define behavior when traversechildren is true: If true, the method will test each objects inside the given node with its own independent boundingBox. If false, all objects inside the given nodes will form a larger boundingBox from the union of each children object boundingBox. A typical example is, if the given node to test contains far away objects, like points. In the case of neither of those sub objects is inside the frustum, but the union of their boundingBox is in the frustum, this option will determine if the method returns true or false. Default is false (test with the union of all children bboxes). |
traversechildren? | boolean | Whether this method should traverse the given object's children or not. If true, the method will traverse the given object and every children objects recursively. If false, the method will only test the given objects and ignore any children object/mesh. Default is true (recommended, as most Toolkit objects visuals are nested.) |