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

Filter class for object layers. More...

#include <ObjectLayer.h>

Inheritance diagram for ObjectLayerFilter:
NonCopyable DefaultObjectLayerFilter SpecifiedObjectLayerFilter

Public Member Functions

virtual ~ObjectLayerFilter ()=default
 Destructor.
 
virtual bool ShouldCollide (ObjectLayer inLayer) const
 Function to filter out object 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 object layers.

Constructor & Destructor Documentation

◆ ~ObjectLayerFilter()

virtual ObjectLayerFilter::~ObjectLayerFilter ( )
virtualdefault

Destructor.

Member Function Documentation

◆ ShouldCollide()

virtual bool ObjectLayerFilter::ShouldCollide ( ObjectLayer  inLayer) const
inlinevirtual

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

Reimplemented in DefaultObjectLayerFilter, and SpecifiedObjectLayerFilter.


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