Jolt Physics
A multi core friendly Game Physics Engine
Loading...
Searching...
No Matches
AnyHitCollisionCollector< CollectorType > Class Template Reference

Simple implementation that collects any hit. More...

#include <CollisionCollectorImpl.h>

Inheritance diagram for AnyHitCollisionCollector< CollectorType >:

Public Types

using ResultType = typename CollectorType::ResultType
 Redeclare ResultType. More...
 

Public Member Functions

virtual void Reset () override
 
virtual void AddHit (const ResultType &inResult) override
 
bool HadHit () const
 Check if this collector has had a hit. More...
 

Public Attributes

ResultType mHit
 

Detailed Description

template<class CollectorType>
class AnyHitCollisionCollector< CollectorType >

Simple implementation that collects any hit.

Member Typedef Documentation

◆ ResultType

template<class CollectorType >
using AnyHitCollisionCollector< CollectorType >::ResultType = typename CollectorType::ResultType

Redeclare ResultType.

Member Function Documentation

◆ AddHit()

template<class CollectorType >
virtual void AnyHitCollisionCollector< CollectorType >::AddHit ( const ResultType inResult)
inlineoverridevirtual

◆ HadHit()

template<class CollectorType >
bool AnyHitCollisionCollector< CollectorType >::HadHit ( ) const
inline

Check if this collector has had a hit.

◆ Reset()

template<class CollectorType >
virtual void AnyHitCollisionCollector< CollectorType >::Reset ( )
inlineoverridevirtual

Member Data Documentation

◆ mHit

template<class CollectorType >
ResultType AnyHitCollisionCollector< CollectorType >::mHit

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