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.
AzPhysics::SceneQueryRequest Struct Reference

#include <PhysicsSceneQueries.h>

Inherited by AzPhysics::OverlapRequest, AzPhysics::RayCastRequest, and AzPhysics::ShapeCastRequest.

Public Types

enum class  RequestType : AZ::u8 { Undefined = 0 , Raycast , Shapecast , Overlap }
 

Public Member Functions

 AZ_RTTI (SceneQueryRequest, "{76ECAB7D-42BA-461F-82E6-DCED8E1BDCB9}")
 
 SceneQueryRequest (RequestType requestType)
 

Static Public Member Functions

static void Reflect (AZ::ReflectContext *context)
 

Public Attributes

 AZ_CLASS_ALLOCATOR_DECL
 
RequestType m_requestType = RequestType::Undefined
 
AZ::u32 m_maxResults = 32
 The Maximum results for this request to return, this is limited by the value set in the SceneConfiguration.
 
CollisionGroup m_collisionGroup = CollisionGroup::All
 Collision filter for the query.
 
SceneQuery::QueryType m_queryType = SceneQuery::QueryType::StaticAndDynamic
 Object types to include in the query.
 

Detailed Description

Base Scene Query request. Not valid to be used with Scene::QueryScene functions


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