Class to communicate with the PhysX Visual Debugger. More...
#include <PxVisualDebugger.h>
Public Member Functions | |
virtual void | disconnect ()=0 |
virtual void | checkConnection ()=0 |
virtual physx::debugger::comm::PvdConnection * | getPvdConnection ()=0 |
virtual physx::debugger::comm::PvdDataStream * | getPvdDataStream (const PxScene &scene)=0 |
PX_DEPRECATED void PX_INLINE | setVisualizeConstraints (bool inViz) |
PX_DEPRECATED bool PX_INLINE | isVisualizingConstraints () |
virtual void | setVisualDebuggerFlag (PxVisualDebuggerFlag::Enum flag, bool value)=0 |
virtual void | setVisualDebuggerFlags (PxVisualDebuggerFlags flags)=0 |
virtual PxU32 | getVisualDebuggerFlags ()=0 |
virtual void | updateCamera (const char *name, const PxVec3 &origin, const PxVec3 &up, const PxVec3 &target)=0 |
virtual void | sendErrorMessage (PxErrorCode::Enum code, const char *message, const char *file, PxU32 line)=0 |
send an error message to pvd. More... | |
Protected Member Functions | |
virtual | ~PxVisualDebugger () |
Class to communicate with the PhysX Visual Debugger.
|
inlineprotectedvirtual |
|
pure virtual |
Checks if the connect state is paused. If it is, then this method will not return until the connection state changes or pvd disconnects.
|
pure virtual |
Disconnects the SDK from the PhysX Visual Debugger application. If we are still connected, this will kill the entire debugger connection.
|
pure virtual |
returns the PVD connection that was passed to the SDK. returns NULL if no connection is present.
|
pure virtual |
scene | The scene of which the PVD data stream should be returned. returns the PVD data stream of a given scene. returns NULL if no data stream is present. |
|
pure virtual |
Retrieves the PVD flags. See PxVisualDebuggerFlags.
|
inline |
References PxVisualDebuggerFlag::eTRANSMIT_CONSTRAINTS.
|
pure virtual |
send an error message to pvd.
code | Error code, see PxErrorCode |
message | Message to display. |
file | File error occured in. |
line | Line number error occured on. |
|
pure virtual |
Sets the PVD flag. See PxVisualDebuggerFlags.
flag | Flag to set. |
value | value the flag gets set to. |
|
pure virtual |
Sets the PVD flags. See PxVisualDebuggerFlags.
flags | Flags to set. |
|
inline |
inViz | true if visualizations info is sent to PVD. |
References PxVisualDebuggerFlag::eTRANSMIT_CONSTRAINTS.
|
pure virtual |
Updates the pose of a PVD camera.
name | Name of camera to update. |
origin | The origin of the camera. |
up | The up vector of the camera. It should be the up vector of the game camera for PVD to update the view that matches the game. The default up vector is the world up vector for a fixed PVD camera view. |
target | The target vector of the camera. |