Open 3D Engine AzFramework API Reference 23.10.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
AzFramework::VisibleGeometryRequests Class Referenceabstract

Interface for components to provide generic geometric data, potentially for occlusion culling and other systems. More...

#include <VisibleGeometryBus.h>

Inherits AZ::ComponentBus.

Public Member Functions

virtual void GetVisibleGeometry (const AZ::Aabb &bounds, VisibleGeometryContainer &geometryContainer) const =0
 

Static Public Member Functions

static void Reflect (AZ::ReflectContext *context)
 

Detailed Description

Interface for components to provide generic geometric data, potentially for occlusion culling and other systems.

Member Function Documentation

◆ GetVisibleGeometry()

virtual void AzFramework::VisibleGeometryRequests::GetVisibleGeometry ( const AZ::Aabb &  bounds,
VisibleGeometryContainer &  geometryContainer 
) const
pure virtual

This function should be implemented by components to add VisibleGeometry items to the VisibleGeometryContainer.

Parameters
boundsis a bounding volume in world space used for sampling geometric data. If bounds is invalid it should be ignored.
geometryContaineris a container of all of the geometry added by the connected entity. It is passed by reference to give multiple components on an entity an opportunity to add their geometry. It is the caller's responsibility to manage and clear the container between calls. The container should not be cleared within the function, which might destroy a prior components contribution.

The documentation for this class was generated from the following file: