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

Allows objects from a specific broad phase layer only. More...

#include <BroadPhaseLayer.h>

Inheritance diagram for SpecifiedBroadPhaseLayerFilter:
BroadPhaseLayerFilter NonCopyable

Public Member Functions

 SpecifiedBroadPhaseLayerFilter (BroadPhaseLayer inLayer)
 Constructor. More...
 
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) More...
 
- Public Member Functions inherited from BroadPhaseLayerFilter
virtual ~BroadPhaseLayerFilter ()=default
 Destructor. More...
 
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) More...
 
- Public Member Functions inherited from NonCopyable
 NonCopyable ()=default
 
 NonCopyable (const NonCopyable &)=delete
 
void operator= (const NonCopyable &)=delete
 

Detailed Description

Allows objects from a specific broad phase layer only.

Constructor & Destructor Documentation

◆ SpecifiedBroadPhaseLayerFilter()

SpecifiedBroadPhaseLayerFilter::SpecifiedBroadPhaseLayerFilter ( BroadPhaseLayer  inLayer)
inlineexplicit

Constructor.

Member Function Documentation

◆ ShouldCollide()

virtual bool SpecifiedBroadPhaseLayerFilter::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: