Plasma Engine  2.0
Loading...
Searching...
No Matches
plScriptExtensionClass_Debug Class Reference

Helper class to expose debug rendering to scripting. More...

#include <DebugRenderer.h>

Static Public Member Functions

static void DrawCross (const plWorld *pWorld, const plVec3 &vPosition, float fSize, const plColor &color, const plTransform &transform)
 
static void DrawLineBox (const plWorld *pWorld, const plVec3 &vPosition, const plVec3 &vHalfExtents, const plColor &color, const plTransform &transform)
 
static void DrawLineSphere (const plWorld *pWorld, const plVec3 &vPosition, float fRadius, const plColor &color, const plTransform &transform)
 
static void DrawSolidBox (const plWorld *pWorld, const plVec3 &vPosition, const plVec3 &vHalfExtents, const plColor &color, const plTransform &transform)
 
static void Draw2DText (const plWorld *pWorld, plStringView sText, const plVec3 &vPositionInPixel, const plColor &color, plUInt32 uiSizeInPixel, plEnum< plDebugTextHAlign > horizontalAlignment)
 
static void Draw3DText (const plWorld *pWorld, plStringView sText, const plVec3 &vPosition, const plColor &color, plUInt32 uiSizeInPixel)
 
static void DrawInfoText (const plWorld *pWorld, plStringView sText, plEnum< plDebugTextPlacement > placement, plStringView sGroupName, const plColor &color)
 
static void AddPersistentCross (const plWorld *pWorld, const plVec3 &vPosition, float fSize, const plColor &color, const plTransform &transform, plTime duration)
 
static void AddPersistentLineBox (const plWorld *pWorld, const plVec3 &vPosition, const plVec3 &vHalfExtents, const plColor &color, const plTransform &transform, plTime duration)
 
static void AddPersistentLineSphere (const plWorld *pWorld, const plVec3 &vPosition, float fRadius, const plColor &color, const plTransform &transform, plTime duration)
 

Detailed Description

Helper class to expose debug rendering to scripting.


The documentation for this class was generated from the following files: