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

Public Member Functions

float getClosestHitFraction ()
 
LPoint3 getFromPos ()
 
const BulletRayHit getHit (int idx)
 
list getHits ()
 
int getNumHits ()
 
LPoint3 getToPos ()
 
bool hasHits ()
 

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

float closest_hit_fraction
 
LPoint3 from_pos
 
BulletRayHit hits []
 
LPoint3 to_pos
 

Member Function Documentation

◆ empty()

static BulletAllHitsRayResult empty ( )
static

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

◆ getClosestHitFraction()

float getClosestHitFraction ( )

◆ getFromPos()

LPoint3 getFromPos ( )

◆ getHit()

const BulletRayHit getHit ( int  idx)

◆ getHits()

list getHits ( )

◆ getNumHits()

int getNumHits ( )

◆ getToPos()

LPoint3 getToPos ( )

◆ hasHits()

bool hasHits ( )

Member Data Documentation

◆ closest_hit_fraction

float closest_hit_fraction

◆ from_pos

LPoint3 from_pos

◆ hits

BulletRayHit hits[]

◆ to_pos

LPoint3 to_pos