OGRE  14.2
Object-Oriented Graphics Rendering Engine
Ogre::Bullet::RayResultCallback Struct Referenceabstract

#include <OgreBullet.h>

Public Member Functions

virtual ~RayResultCallback ()
 
virtual void addSingleResult (const MovableObject *other, float distance)=0
 Called for each object hit by the ray. More...
 

Constructor & Destructor Documentation

◆ ~RayResultCallback()

virtual Ogre::Bullet::RayResultCallback::~RayResultCallback ( )
inlinevirtual

Member Function Documentation

◆ addSingleResult()

virtual void Ogre::Bullet::RayResultCallback::addSingleResult ( const MovableObject other,
float  distance 
)
pure virtual

Called for each object hit by the ray.

Parameters
otherthe other object
distancethe distance from ray origin to hit point

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