Panda3D
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
PhysxRaycastReport Class Reference

Objects of this class are returned by the 'raycast all' methods. More...

#include "physxRaycastReport.h"

Inheritance diagram for PhysxRaycastReport:

Public Member Functions

PhysxRaycastHit get_first_hit ()
 
PhysxRaycastHit get_hit (unsigned int idx)
 
PhysxRaycastHit get_next_hit ()
 
unsigned int get_num_hits () const
 
virtual bool onHit (const NxRaycastHit &hit)
 

Public Attributes

 get_hit
 
 get_num_hits
 

Detailed Description

Objects of this class are returned by the 'raycast all' methods.

They contain an iterable list of all hits that the raycast query produced.

Definition at line 28 of file physxRaycastReport.h.

Constructor & Destructor Documentation

◆ PhysxRaycastReport()

PhysxRaycastReport::PhysxRaycastReport ( )
inline

Definition at line 17 of file physxRaycastReport.I.

◆ ~PhysxRaycastReport()

PhysxRaycastReport::~PhysxRaycastReport ( )
inline

Definition at line 25 of file physxRaycastReport.I.

Member Function Documentation

◆ get_first_hit()

PhysxRaycastHit PhysxRaycastReport::get_first_hit ( )

Definition at line 39 of file physxRaycastReport.cxx.

◆ get_next_hit()

PhysxRaycastHit PhysxRaycastReport::get_next_hit ( )

Definition at line 49 of file physxRaycastReport.cxx.

◆ onHit()

bool PhysxRaycastReport::onHit ( const NxRaycastHit & hit)
virtual

Definition at line 20 of file physxRaycastReport.cxx.

Member Data Documentation

◆ get_hit

PhysxRaycastHit PhysxRaycastReport::get_hit

Definition at line 35 of file physxRaycastReport.h.

◆ get_num_hits

unsigned int PhysxRaycastReport::get_num_hits

Definition at line 35 of file physxRaycastReport.h.


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