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

Default filter class that uses the pair filter in combination with a specified layer to filter layers. More...

#include <BroadPhaseLayer.h>

Inheritance diagram for DefaultBroadPhaseLayerFilter:
BroadPhaseLayerFilter NonCopyable

Public Member Functions

 DefaultBroadPhaseLayerFilter (const ObjectVsBroadPhaseLayerFilter &inObjectVsBroadPhaseLayerFilter, ObjectLayer inLayer)
 Constructor.
 
virtual bool ShouldCollide (BroadPhaseLayer inLayer) const override
 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 BroadPhaseLayerFilter
virtual ~BroadPhaseLayerFilter ()=default
 Destructor.
 
- Public Member Functions inherited from NonCopyable
 NonCopyable ()=default
 
 NonCopyable (const NonCopyable &)=delete
 
void operator= (const NonCopyable &)=delete
 

Detailed Description

Default filter class that uses the pair filter in combination with a specified layer to filter layers.

Constructor & Destructor Documentation

◆ DefaultBroadPhaseLayerFilter()

DefaultBroadPhaseLayerFilter::DefaultBroadPhaseLayerFilter ( const ObjectVsBroadPhaseLayerFilter inObjectVsBroadPhaseLayerFilter,
ObjectLayer  inLayer 
)
inline

Constructor.

Member Function Documentation

◆ ShouldCollide()

virtual bool DefaultBroadPhaseLayerFilter::ShouldCollide ( BroadPhaseLayer  inLayer) const
inlineoverridevirtual

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

Reimplemented from BroadPhaseLayerFilter.


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