Open 3D Engine Terrain Gem 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.
Terrain::TerrainRaycastContext Class Reference

Inherits AzFramework::RenderGeometry::IntersectorBus::Handler.

Public Member Functions

 TerrainRaycastContext (TerrainSystem &terrainSystem)
 
 AZ_DISABLE_COPY_MOVE (TerrainRaycastContext)
 
 ~TerrainRaycastContext ()
 Destructor.
 
AzFramework::EntityContextId GetEntityContextId () const
 
AzFramework::RenderGeometry::RayResult RayIntersect (const AzFramework::RenderGeometry::RayRequest &ray) override
 AzFramework::RenderGeometry::RayIntersect
 

Protected Member Functions

void OnEntityConnected (AZ::EntityId) override
 
void OnEntityDisconnected (AZ::EntityId) override
 
void OnGeometryChanged (AZ::EntityId) override
 

Constructor & Destructor Documentation

◆ TerrainRaycastContext()

Terrain::TerrainRaycastContext::TerrainRaycastContext ( TerrainSystem terrainSystem)

Constructor

Parameters
[in]terrainSystemThe terrain system that owns this terrain raycast context

Member Function Documentation

◆ GetEntityContextId()

AzFramework::EntityContextId Terrain::TerrainRaycastContext::GetEntityContextId ( ) const
inline

Access to the terrain raycast context's entity context id

Returns
The terrain raycast context's entity context id

◆ OnEntityConnected()

void Terrain::TerrainRaycastContext::OnEntityConnected ( AZ::EntityId  )
inlineoverrideprotected

Unused pure virtual override


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