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

Public Member Functions

 __init__ (const BulletClosestHitRayResult)
 
LPoint3 getFromPos ()
 
float getHitFraction ()
 
LVector3 getHitNormal ()
 
LPoint3 getHitPos ()
 
PandaNode getNode ()
 
int getShapePart ()
 
LPoint3 getToPos ()
 
int getTriangleIndex ()
 
bool hasHit ()
 

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

LPoint3 from_pos
 
float hit_fraction
 
LVector3 hit_normal
 
LPoint3 hit_pos
 
PandaNode node
 
int shape_part
 
LPoint3 to_pos
 
int triangle_index
 

Member Function Documentation

◆ __init__()

__init__ ( const  BulletClosestHitRayResult)

◆ empty()

static BulletClosestHitRayResult 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 ( )

◆ getShapePart()

int getShapePart ( )

◆ getToPos()

LPoint3 getToPos ( )

◆ getTriangleIndex()

int getTriangleIndex ( )

◆ 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

◆ shape_part

int shape_part

◆ to_pos

LPoint3 to_pos

◆ triangle_index

int triangle_index