PxPvdSceneClient#
Defined in include/pvd/PxPvdSceneClient.h
-
class PxPvdSceneClient#
Special client for PxScene.
It provides access to the PxPvdSceneFlag. It also provides simple user debug services that associated scene position such as immediate rendering and camera updates.
Public Functions
-
virtual void setScenePvdFlag(PxPvdSceneFlag::Enum flag, bool value) = 0#
Sets the PVD flag.
See PxPvdSceneFlag.
- Parameters:
flag – Flag to set.
value – value the flag gets set to.
-
virtual void setScenePvdFlags(PxPvdSceneFlags flags) = 0#
Sets the PVD flags.
See PxPvdSceneFlags.
- Parameters:
flags – Flags to set.
-
virtual PxPvdSceneFlags getScenePvdFlags() const = 0#
Retrieves the PVD flags.
See PxPvdSceneFlags.
- virtual void updateCamera( ) = 0#
update camera on PVD application’s render window
- virtual void drawPoints(
- const physx::PxDebugPoint *points,
- PxU32 count,
draw points on PVD application’s render window
- virtual void drawLines(
- const physx::PxDebugLine *lines,
- PxU32 count,
draw lines on PVD application’s render window
- virtual void drawTriangles(
- const physx::PxDebugTriangle *triangles,
- PxU32 count,
draw triangles on PVD application’s render window
-
virtual void drawText(const physx::PxDebugText &text) = 0#
draw text on PVD application’s render window
-
virtual physx::pvdsdk::PvdClient *getClientInternal() = 0#
get the underlying client, for advanced users
Protected Functions
-
inline virtual ~PxPvdSceneClient()#
-
virtual void setScenePvdFlag(PxPvdSceneFlag::Enum flag, bool value) = 0#