|
| ezSpatialSystem_RegularGrid (ezUInt32 uiCellSize=128) |
|
ezResult | GetCellBoxForSpatialData (const ezSpatialDataHandle &hData, ezBoundingBox &out_boundingBox) const |
| Returns the bounding box of the cell associated with the given spatial data. Useful for debug visualizations.
|
|
void | GetAllCellBoxes (ezDynamicArray< ezBoundingBox > &out_boundingBoxes, ezSpatialData::Category filterCategory=ezInvalidSpatialDataCategory) const |
| Returns bounding boxes of all existing cells.
|
|
template<typename Functor > |
EZ_FORCE_INLINE void | ForEachGrid (const Data &data, const ezSpatialDataHandle &hData, Functor func) const |
|
virtual void | FindObjectsInSphere (const ezBoundingSphere &sphere, const QueryParams &queryParams, ezDynamicArray< ezGameObject * > &out_objects) const |
|
virtual void | FindObjectsInBox (const ezBoundingBox &box, const QueryParams &queryParams, ezDynamicArray< ezGameObject * > &out_objects) const |
|
virtual const ezRTTI * | GetDynamicRTTI () const |
|
bool | IsInstanceOf (const ezRTTI *pType) const |
| Returns whether the type of this instance is of the given type or derived from it.
|
|
template<typename T > |
EZ_ALWAYS_INLINE bool | IsInstanceOf () const |
| Returns whether the type of this instance is of the given type or derived from it.
|
|
◆ CreateSpatialData()
◆ CreateSpatialDataAlwaysVisible()
◆ DeleteSpatialData()
◆ FindObjectsInBox()
◆ FindObjectsInSphere()
◆ FindVisibleObjects()
◆ GetVisibilityState()
Retrieves a state describing how visible the object is.
An object may be invisible, fully visible, or indirectly visible (through shadows or reflections).
- Parameters
-
uiNumFramesBeforeInvisible | Used to treat an object that was visible and just became invisible as visible for a few more frames. |
Implements ezSpatialSystem.
◆ StartNewFrame()
void ezSpatialSystem_RegularGrid::StartNewFrame |
( |
| ) |
|
|
overrideprivatevirtual |
◆ UpdateSpatialDataBounds()
◆ UpdateSpatialDataObject()
The documentation for this class was generated from the following files:
- /home/runner/work/ezEngine/ezEngine/Code/Engine/Core/World/SpatialSystem_RegularGrid.h
- /home/runner/work/ezEngine/ezEngine/Code/Engine/Core/World/Implementation/SpatialSystem_RegularGrid.cpp