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

Objects of this class are returned by the 'overlap shape' methods, for example overlapSphereShapes. More...

#include "physxOverlapReport.h"

Inheritance diagram for PhysxOverlapReport:
PhysxUserEntityReport

Public Member Functions

PhysxShapeget_first_overlap ()
 
PhysxShapeget_next_overlap ()
 
unsigned int get_num_overlaps () const
 
PhysxShapeget_overlap (unsigned int idx)
 
virtual bool onEvent (NxU32 nbEntities, NxShape **entities)
 

Public Attributes

 get_num_overlaps
 
 get_overlap
 

Detailed Description

Objects of this class are returned by the 'overlap shape' methods, for example overlapSphereShapes.

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

Definition at line 33 of file physxOverlapReport.h.

Constructor & Destructor Documentation

◆ PhysxOverlapReport()

PhysxOverlapReport::PhysxOverlapReport ( )
inline

Definition at line 17 of file physxOverlapReport.I.

◆ ~PhysxOverlapReport()

PhysxOverlapReport::~PhysxOverlapReport ( )
inline

Definition at line 25 of file physxOverlapReport.I.

Member Function Documentation

◆ get_first_overlap()

PhysxShape * PhysxOverlapReport::get_first_overlap ( )

Definition at line 43 of file physxOverlapReport.cxx.

◆ get_next_overlap()

PhysxShape * PhysxOverlapReport::get_next_overlap ( )

Definition at line 53 of file physxOverlapReport.cxx.

◆ onEvent()

bool PhysxOverlapReport::onEvent ( NxU32 nbEntities,
NxShape ** entities )
virtual

Definition at line 20 of file physxOverlapReport.cxx.

Member Data Documentation

◆ get_num_overlaps

unsigned int PhysxOverlapReport::get_num_overlaps

Definition at line 40 of file physxOverlapReport.h.

◆ get_overlap

PhysxShape * PhysxOverlapReport::get_overlap

Definition at line 40 of file physxOverlapReport.h.


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