Jolt Physics
A multi core friendly Game Physics Engine
Loading...
Searching...
No Matches
BroadPhaseLayerFilter Class Reference

Filter class for broadphase layers. More...

#include <BroadPhaseLayer.h>

Inheritance diagram for BroadPhaseLayerFilter:
NonCopyable DefaultBroadPhaseLayerFilter SpecifiedBroadPhaseLayerFilter

Public Member Functions

virtual ~BroadPhaseLayerFilter ()=default
 Destructor.
 
virtual bool ShouldCollide (BroadPhaseLayer inLayer) const
 Function to filter out broadphase layers when doing collision query test (return true to allow testing against objects with this layer)
 
- Public Member Functions inherited from NonCopyable
 NonCopyable ()=default
 
 NonCopyable (const NonCopyable &)=delete
 
void operator= (const NonCopyable &)=delete
 

Detailed Description

Filter class for broadphase layers.

Constructor & Destructor Documentation

◆ ~BroadPhaseLayerFilter()

virtual BroadPhaseLayerFilter::~BroadPhaseLayerFilter ( )
virtualdefault

Destructor.

Member Function Documentation

◆ ShouldCollide()

virtual bool BroadPhaseLayerFilter::ShouldCollide ( BroadPhaseLayer  inLayer) const
inlinevirtual

Function to filter out broadphase layers when doing collision query test (return true to allow testing against objects with this layer)

Reimplemented in DefaultBroadPhaseLayerFilter, and SpecifiedBroadPhaseLayerFilter.


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