|
|
| xiiSpatialSystem_RegularGrid (xiiUInt32 uiCellSize=128) |
| |
|
xiiResult | GetCellBoxForSpatialData (const xiiSpatialDataHandle &hData, xiiBoundingBox &out_boundingBox) const |
| | Returns the bounding box of the cell associated with the given spatial data. Useful for debug visualizations.
|
| |
|
void | GetAllCellBoxes (xiiDynamicArray< xiiBoundingBox > &out_boundingBoxes, xiiSpatialData::Category filterCategory=xiiInvalidSpatialDataCategory) const |
| | Returns bounding boxes of all existing cells.
|
| |
|
template<typename Functor> |
| XII_FORCE_INLINE void | ForEachGrid (const Data &data, const xiiSpatialDataHandle &hData, Functor func) const |
| |
|
virtual void | FindObjectsInSphere (const xiiBoundingSphere &sphere, const QueryParams &queryParams, xiiDynamicArray< xiiGameObject * > &out_objects) const |
| |
|
virtual void | FindObjectsInBox (const xiiBoundingBox &box, const QueryParams &queryParams, xiiDynamicArray< xiiGameObject * > &out_objects) const |
| |
|
virtual const xiiRTTI * | GetDynamicRTTI () const |
| |
|
bool | IsInstanceOf (const xiiRTTI *pType) const |
| | Returns whether the type of this instance is of the given type or derived from it.
|
| |
|
template<typename T> |
| XII_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 xiiSpatialSystem.
◆ StartNewFrame()
| void xiiSpatialSystem_RegularGrid::StartNewFrame |
( |
| ) |
|
|
overrideprivatevirtual |
◆ UpdateSpatialDataBounds()
◆ UpdateSpatialDataObject()
The documentation for this class was generated from the following files:
- /home/runner/work/XII/XII/Source/Engine/Core/World/SpatialSystem_RegularGrid.h
- /home/runner/work/XII/XII/Source/Engine/Core/World/Implementation/SpatialSystem_RegularGrid.cpp