Panda3D
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
BulletRayHit Struct Reference

Public Member Functions

 __init__ ()
 
 __init__ (const BulletRayHit)
 
float getHitFraction ()
 
LVector3 getHitNormal ()
 
LPoint3 getHitPos ()
 
PandaNode getNode ()
 
int getShapePart ()
 
int getTriangleIndex ()
 

Static Public Member Functions

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

Public Attributes

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

Member Function Documentation

◆ __init__() [1/2]

__init__ ( )

◆ __init__() [2/2]

__init__ ( const  BulletRayHit)

◆ empty()

static BulletRayHit empty ( )
static

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

◆ getHitFraction()

float getHitFraction ( )

◆ getHitNormal()

LVector3 getHitNormal ( )

◆ getHitPos()

LPoint3 getHitPos ( )

◆ getNode()

PandaNode getNode ( )

◆ getShapePart()

int getShapePart ( )

◆ getTriangleIndex()

int getTriangleIndex ( )

Member Data Documentation

◆ hit_fraction

float hit_fraction

◆ hit_normal

LVector3 hit_normal

◆ hit_pos

LPoint3 hit_pos

◆ node

PandaNode node

◆ shape_part

int shape_part

◆ triangle_index

int triangle_index