MirrorFilter is a callback interface implemented by the application to confirm which actors and shapes are, or are not, replicated into the mirrored scene. More...
#include <MirrorScene.h>
Public Member Functions | |
virtual bool | shouldMirror (const PxActor &actor)=0 |
The application returns true if this actor should be mirrored into the secondary mirrored scene. | |
virtual bool | shouldMirror (const PxShape &shape)=0 |
The application returns true if this shape should be mirrored into the secondary mirrored scene. | |
virtual void | reviseMirrorShape (physx::PxShape &shape)=0 |
Affords the application with an opportunity to modify the contents/state of the shape before is placed into the mirrored scene. | |
virtual void | reviseMirrorActor (physx::PxActor &actor)=0 |
Affords the application with an opportunity to modify the contents/state of the actor before is placed into the mirrored scene. |
Detailed Description
MirrorFilter is a callback interface implemented by the application to confirm which actors and shapes are, or are not, replicated into the mirrored scene.
Member Function Documentation
virtual void nvidia::apex::MirrorScene::MirrorFilter::reviseMirrorActor | ( | physx::PxActor & | actor | ) | [pure virtual] |
Affords the application with an opportunity to modify the contents/state of the actor before is placed into the mirrored scene.
- Parameters:
-
[in] actor A reference to the actor that is about to be placed into the mirrored scene
virtual void nvidia::apex::MirrorScene::MirrorFilter::reviseMirrorShape | ( | physx::PxShape & | shape | ) | [pure virtual] |
Affords the application with an opportunity to modify the contents/state of the shape before is placed into the mirrored scene.
- Parameters:
-
[in] shape A reference to the shape that is about to be placed into the mirrored scene.
virtual bool nvidia::apex::MirrorScene::MirrorFilter::shouldMirror | ( | const PxActor & | actor | ) | [pure virtual] |
The application returns true if this actor should be mirrored into the secondary mirrored scene.
- Parameters:
-
[in] actor A const reference to the actor in the primary scene to be considered mirrored into the secondary scene.
virtual bool nvidia::apex::MirrorScene::MirrorFilter::shouldMirror | ( | const PxShape & | shape | ) | [pure virtual] |
The application returns true if this shape should be mirrored into the secondary mirrored scene.
- Parameters:
-
[in] shape A const reference to the shape in the primary scene to be considered mirrored into the secondary scene.
The documentation for this class was generated from the following file:
Generated on Fri Dec 15 2017 13:58:39
Copyright © 2012-2017 NVIDIA Corporation, 2701 San Tomas Expressway, Santa Clara, CA 95050 U.S.A. All rights reserved.