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

Class to test if an object can collide with a broadphase layer. Used while finding collision pairs. More...

#include <BroadPhaseLayer.h>

Inheritance diagram for ObjectVsBroadPhaseLayerFilter:
NonCopyable ObjectVsBroadPhaseLayerFilterMask ObjectVsBroadPhaseLayerFilterTable

Public Member Functions

virtual ~ObjectVsBroadPhaseLayerFilter ()=default
 Destructor.
 
virtual bool ShouldCollide (ObjectLayer inLayer1, BroadPhaseLayer inLayer2) const
 Returns true if an object layer should collide with a broadphase layer.
 
- Public Member Functions inherited from NonCopyable
 NonCopyable ()=default
 
 NonCopyable (const NonCopyable &)=delete
 
void operator= (const NonCopyable &)=delete
 

Detailed Description

Class to test if an object can collide with a broadphase layer. Used while finding collision pairs.

Constructor & Destructor Documentation

◆ ~ObjectVsBroadPhaseLayerFilter()

virtual ObjectVsBroadPhaseLayerFilter::~ObjectVsBroadPhaseLayerFilter ( )
virtualdefault

Destructor.

Member Function Documentation

◆ ShouldCollide()

virtual bool ObjectVsBroadPhaseLayerFilter::ShouldCollide ( ObjectLayer  inLayer1,
BroadPhaseLayer  inLayer2 
) const
inlinevirtual

Returns true if an object layer should collide with a broadphase layer.

Reimplemented in ObjectVsBroadPhaseLayerFilterMask, and ObjectVsBroadPhaseLayerFilterTable.


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