Main Page Class List Class Members

# Nv::Blast::ExtPxListener Class Reference

`#include <NvBlastExtPxListener.h>`

Inheritance diagram for Nv::Blast::ExtPxListener:

List of all members.

## Public Member Functions
virtual void | onActorCreated (ExtPxFamily &family, ExtPxActor &actor)=0
virtual void | onActorDestroyed (ExtPxFamily &family, ExtPxActor &actor)=0

## Detailed Description

Physics Listener Interface.

Actor create/destroy events listener.

## Member Function Documentation

virtual void Nv::Blast::ExtPxListener::onActorCreated | ( | ExtPxFamily & | family,
|  | ExtPxActor & | actor |
| ) |  |  | `[pure virtual]`

Interface to be implemented by the user. Will be called when ExtPxFamily creates new actor.

Parameters:

  `[in]` | family | Corresponding ExtPxFamily with new actor.
  `[in]` | actor | The new actor.

Implemented in Nv::Blast::final.

virtual void Nv::Blast::ExtPxListener::onActorDestroyed | ( | ExtPxFamily & | family,
|  | ExtPxActor & | actor |
| ) |  |  | `[pure virtual]`

Interface to be implemented by the user. Will be called when ExtPxFamily destroy an actor.

Parameters:

  `[in]` | family | Corresponding ExtPxFamily.
  `[in]` | actor | The actor to be destroyed.

Implemented in Nv::Blast::final.

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

- sdk/extensions/physx/include/NvBlastExtPxListener.h