nvidia::apex::MirrorScene Class Reference
MirrorScene is used to create a selected mirrored copy of a primary scene. Works only with PhysX 3.x. More...
#include <MirrorScene.h>
Classes | |
class | MirrorFilter |
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... | |
Public Member Functions | |
virtual void | synchronizePrimaryScene (const PxVec3 &cameraPos)=0 |
SynchronizePrimaryScene updates the positions of the objects around the camera relative to the static and dynamic distances specified These objects are then put in a thread safe queue to be processed when the mirror scene synchronize is called. | |
virtual void | synchronizeMirrorScene (void)=0 |
Processes the updates to get this mirrored scene to reflect the subset of the primary scene that is being mirrored. Completely thread safe, assumes that the primary scene and mirrored scene are most likely being run be completely separate threads. | |
virtual void | release (void)=0 |
Releases the MirrorScene class and all associated mirrored objects; it is important to not that this does *not* release the actual APEX scnee; simply the MirrorScene helper class. |
Detailed Description
MirrorScene is used to create a selected mirrored copy of a primary scene. Works only with PhysX 3.x.
Member Function Documentation
virtual void nvidia::apex::MirrorScene::synchronizePrimaryScene | ( | const PxVec3 & | cameraPos | ) | [pure virtual] |
SynchronizePrimaryScene updates the positions of the objects around the camera relative to the static and dynamic distances specified These objects are then put in a thread safe queue to be processed when the mirror scene synchronize is called.
- Parameters:
-
[in] cameraPos The current position of the camera relative to where objects are being mirrored
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.