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

Class function to filter out bodies for debug rendering, returns true if body should be rendered. More...

#include <BodyFilter.h>

Inheritance diagram for BodyDrawFilter:
NonCopyable

Public Member Functions

virtual ~BodyDrawFilter ()=default
 Destructor.
 
virtual bool ShouldDraw (const Body &inBody) const
 Filter function. Returns true if inBody should be rendered.
 
- Public Member Functions inherited from NonCopyable
 NonCopyable ()=default
 
 NonCopyable (const NonCopyable &)=delete
 
void operator= (const NonCopyable &)=delete
 

Detailed Description

Class function to filter out bodies for debug rendering, returns true if body should be rendered.

Constructor & Destructor Documentation

◆ ~BodyDrawFilter()

virtual BodyDrawFilter::~BodyDrawFilter ( )
virtualdefault

Destructor.

Member Function Documentation

◆ ShouldDraw()

virtual bool BodyDrawFilter::ShouldDraw ( const Body inBody) const
inlinevirtual

Filter function. Returns true if inBody should be rendered.


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