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

Public Member Functions

 __init__ (const BulletClosestHitSweepResult)
 
LPoint3 getFromPos ()
 
float getHitFraction ()
 
LVector3 getHitNormal ()
 
LPoint3 getHitPos ()
 
PandaNode getNode ()
 
LPoint3 getToPos ()
 
bool hasHit ()
 

Static Public Member Functions

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

Public Attributes

LPoint3 from_pos
 
float hit_fraction
 
LVector3 hit_normal
 
LPoint3 hit_pos
 
PandaNode node
 
LPoint3 to_pos
 

Member Function Documentation

◆ __init__()

__init__ ( const  BulletClosestHitSweepResult)

◆ empty()

static BulletClosestHitSweepResult empty ( )
static

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

◆ getFromPos()

LPoint3 getFromPos ( )

◆ getHitFraction()

float getHitFraction ( )

◆ getHitNormal()

LVector3 getHitNormal ( )

◆ getHitPos()

LPoint3 getHitPos ( )

◆ getNode()

PandaNode getNode ( )

◆ getToPos()

LPoint3 getToPos ( )

◆ hasHit()

bool hasHit ( )

Member Data Documentation

◆ from_pos

LPoint3 from_pos

◆ hit_fraction

float hit_fraction

◆ hit_normal

LVector3 hit_normal

◆ hit_pos

LPoint3 hit_pos

◆ node

PandaNode node

◆ to_pos

LPoint3 to_pos