Jolt Physics
A multi core friendly Game Physics Engine
|
Allows objects from a specific layer only. More...
#include <ObjectLayer.h>
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 |
Allows objects from a specific layer only.
|
inlineexplicit |
Constructor.
|
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.