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

Public Member Functions

virtual btScalar addSingleResult (btCollisionWorld::LocalRayResult &rayResult, bool normalInWorldSpace)
 Override default implementation. More...
 
LPoint3 get_from_pos () const
 
PN_stdfloat get_hit_fraction () const
 
LVector3 get_hit_normal () const
 
LPoint3 get_hit_pos () const
 
PandaNodeget_node () const
 
int get_shape_part () const
 
LPoint3 get_to_pos () const
 
int get_triangle_index () const
 
bool has_hit () const
 
virtual bool needsCollision (btBroadphaseProxy *proxy0) const
 Override default implementation. More...
 

Static Public Member Functions

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

Public Attributes

 get_from_pos
 
 get_hit_fraction
 
 get_hit_normal
 
 get_hit_pos
 
 get_node
 
 get_shape_part
 
 get_to_pos
 
 get_triangle_index
 

Friends

class BulletWorld
 

Detailed Description

Definition at line 29 of file bulletClosestHitRayResult.h.

Member Function Documentation

◆ addSingleResult()

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

Override default implementation.

Definition at line 44 of file bulletClosestHitRayResult.cxx.

◆ empty()

BulletClosestHitRayResult BulletClosestHitRayResult::empty ( )
inlinestatic

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

Definition at line 19 of file bulletClosestHitRayResult.I.

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

◆ needsCollision()

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

Override default implementation.

Definition at line 31 of file bulletClosestHitRayResult.cxx.


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