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

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

#include <ObjectLayer.h>

Inheritance diagram for SpecifiedObjectLayerFilter:
ObjectLayerFilter NonCopyable

Public Member Functions

 SpecifiedObjectLayerFilter (ObjectLayer inLayer)
 Constructor. More...
 
virtual bool ShouldCollide (ObjectLayer inLayer) const override
 Function to filter out object layers when doing collision query test (return true to allow testing against objects with this layer) More...
 
- Public Member Functions inherited from ObjectLayerFilter
virtual ~ObjectLayerFilter ()=default
 Destructor. More...
 
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) 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 layer only.

Constructor & Destructor Documentation

◆ SpecifiedObjectLayerFilter()

SpecifiedObjectLayerFilter::SpecifiedObjectLayerFilter ( ObjectLayer  inLayer)
inlineexplicit

Constructor.

Member Function Documentation

◆ ShouldCollide()

virtual bool SpecifiedObjectLayerFilter::ShouldCollide ( ObjectLayer  inLayer) const
inlineoverridevirtual

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

Reimplemented from ObjectLayerFilter.


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