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. |
MirrorScene is used to create a selected mirrored copy of a primary scene. Works only with PhysX 3.x.
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.
[in] | cameraPos | The current position of the camera relative to where objects are being mirrored |