Open 3D Engine AudioSystem 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.
Audio::RaycastProcessor Class Reference

Public Member Functions

 RaycastProcessor (const TAudioObjectID objectId, const SATLWorldPosition &objectPosition)
 
void Update (float deltaMs)
 
void Reset ()
 
void SetType (ObstructionType calcType)
 
bool CanRun () const
 
void Run (const SATLWorldPosition &listenerPosition)
 
void CastRay (const AZ::Vector3 &origin, const AZ::Vector3 &dest, const AZ::u16 rayIndex)
 
float GetObstruction () const
 
float GetOcclusion () const
 
void SetupTestRay (AZ::u16 rayIndex)
 
void DrawObstructionRays (AzFramework::DebugDisplayRequests &debugDisplay) const
 

Static Public Attributes

static constexpr float s_epsilon = 1e-3f
 
static bool s_raycastsEnabled
 

Friends

class CATLAudioObject
 

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