Panda3D
Public Member Functions | Static Public Member Functions | Public Attributes | Friends | List of all members
BulletAllHitsRayResult Struct Reference
Inheritance diagram for BulletAllHitsRayResult:

Public Member Functions

virtual btScalar addSingleResult (btCollisionWorld::LocalRayResult &rayResult, bool normalInWorldSpace)
 Override default implementation. More...
 
PN_stdfloat get_closest_hit_fraction () const
 
LPoint3 get_from_pos () const
 
const BulletRayHit get_hit (int idx) const
 
int get_num_hits () const
 
LPoint3 get_to_pos () const
 
bool has_hits () const
 
virtual bool needsCollision (btBroadphaseProxy *proxy0) const
 Override default implementation. More...
 

Static Public Member Functions

static BulletAllHitsRayResult empty ()
 Named constructor intended to be used for asserts with have to return a concrete value. More...
 

Public Attributes

 get_closest_hit_fraction
 
 get_from_pos
 
 get_hit
 
 get_num_hits
 
 get_to_pos
 

Friends

class BulletWorld
 

Detailed Description

Definition at line 64 of file bulletAllHitsRayResult.h.

Member Function Documentation

◆ addSingleResult()

btScalar BulletAllHitsRayResult::addSingleResult ( btCollisionWorld::LocalRayResult &  rayResult,
bool  normalInWorldSpace 
)
virtual

Override default implementation.

Definition at line 42 of file bulletAllHitsRayResult.cxx.

◆ empty()

BulletAllHitsRayResult BulletAllHitsRayResult::empty ( )
inlinestatic

Named constructor intended to be used for asserts with have to return a concrete value.

Definition at line 19 of file bulletAllHitsRayResult.I.

References BitMask< WType, nbits >::all_on().

◆ needsCollision()

bool BulletAllHitsRayResult::needsCollision ( btBroadphaseProxy *  proxy0) const
virtual

Override default implementation.

Definition at line 29 of file bulletAllHitsRayResult.cxx.


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