@ -536,13 +536,13 @@ namespace PhysXDebug
}
}
}
}
static void physx_ EnableWireFrame ( [[maybe_unused]] const AZ : : ConsoleCommandContainer & arguments )
static void physx_ CullingBox ( [[maybe_unused]] const AZ : : ConsoleCommandContainer & arguments )
{
{
PhysXDebug : : PhysXDebugRequestBus : : Broadcast ( & PhysXDebug : : PhysXDebugRequestBus : : Events : : ToggleCullingWireFrame ) ;
PhysXDebug : : PhysXDebugRequestBus : : Broadcast ( & PhysXDebug : : PhysXDebugRequestBus : : Events : : ToggleCullingWireFrame ) ;
}
}
AZ_CONSOLEFREEFUNC ( physx_ EnableWireFrame , AZ : : ConsoleFunctorFlags : : DontReplicate , " Enables physx wireframe view " ) ;
AZ_CONSOLEFREEFUNC ( physx_ CullingBox , AZ : : ConsoleFunctorFlags : : DontReplicate , " Enables physx wireframe view " ) ;
static void physx_ ConnectToPvd ( [[maybe_unused]] const AZ : : ConsoleCommandContainer & arguments )
static void physx_ Pvd Connect( [[maybe_unused]] const AZ : : ConsoleCommandContainer & arguments )
{
{
auto * debug = AZ : : Interface < PhysX : : Debug : : PhysXDebugInterface > : : Get ( ) ;
auto * debug = AZ : : Interface < PhysX : : Debug : : PhysXDebugInterface > : : Get ( ) ;
if ( debug )
if ( debug )
@ -550,9 +550,9 @@ namespace PhysXDebug
debug - > ConnectToPvd ( ) ;
debug - > ConnectToPvd ( ) ;
}
}
}
}
AZ_CONSOLEFREEFUNC ( physx_ ConnectToPvd , AZ : : ConsoleFunctorFlags : : DontReplicate , " Connects to the physx visual debugger " ) ;
AZ_CONSOLEFREEFUNC ( physx_ Pvd Connect, AZ : : ConsoleFunctorFlags : : DontReplicate , " Connects to the physx visual debugger " ) ;
static void physx_ DisconnectFromPvd ( [[maybe_unused]] const AZ : : ConsoleCommandContainer & arguments )
static void physx_ Pvd Disconnect( [[maybe_unused]] const AZ : : ConsoleCommandContainer & arguments )
{
{
auto * debug = AZ : : Interface < PhysX : : Debug : : PhysXDebugInterface > : : Get ( ) ;
auto * debug = AZ : : Interface < PhysX : : Debug : : PhysXDebugInterface > : : Get ( ) ;
if ( debug )
if ( debug )
@ -560,9 +560,9 @@ namespace PhysXDebug
debug - > DisconnectFromPvd ( ) ;
debug - > DisconnectFromPvd ( ) ;
}
}
}
}
AZ_CONSOLEFREEFUNC ( physx_ DisconnectFromPvd , AZ : : ConsoleFunctorFlags : : DontReplicate , " Disconnects from the physx visual debugger " ) ;
AZ_CONSOLEFREEFUNC ( physx_ Pvd Disconnect, AZ : : ConsoleFunctorFlags : : DontReplicate , " Disconnects from the physx visual debugger " ) ;
static void physx_ SetPhysXDebug CullingBoxSize( [[maybe_unused]] const AZ : : ConsoleCommandContainer & arguments )
static void physx_ CullingBoxSize( [[maybe_unused]] const AZ : : ConsoleCommandContainer & arguments )
{
{
const int argumentCount = arguments . size ( ) ;
const int argumentCount = arguments . size ( ) ;
if ( argumentCount = = 2 )
if ( argumentCount = = 2 )
@ -576,9 +576,9 @@ namespace PhysXDebug
" Please use physx_SetDebugCullingBoxSize <boxSize> e.g. physx_SetDebugCullingBoxSize 100. " ) ;
" Please use physx_SetDebugCullingBoxSize <boxSize> e.g. physx_SetDebugCullingBoxSize 100. " ) ;
}
}
}
}
AZ_CONSOLEFREEFUNC ( physx_ SetPhysXDebug CullingBoxSize, AZ : : ConsoleFunctorFlags : : DontReplicate , " Sets physx debug culling box size " ) ;
AZ_CONSOLEFREEFUNC ( physx_ CullingBoxSize, AZ : : ConsoleFunctorFlags : : DontReplicate , " Sets physx debug culling box size " ) ;
static void physx_ TogglePhysX DebugVisualization ( [[maybe_unused]] const AZ : : ConsoleCommandContainer & arguments )
static void physx_ Debug( [[maybe_unused]] const AZ : : ConsoleCommandContainer & arguments )
{
{
using namespace CryStringUtils ;
using namespace CryStringUtils ;
@ -612,7 +612,7 @@ namespace PhysXDebug
AZ_Warning ( " PhysXDebug " , false , " Invalid physx_Debug Arguments. Please use physx_Debug 1 to enable, physx_Debug 0 to disable or physx_Debug 2 to enable all configuration settings. " ) ;
AZ_Warning ( " PhysXDebug " , false , " Invalid physx_Debug Arguments. Please use physx_Debug 1 to enable, physx_Debug 0 to disable or physx_Debug 2 to enable all configuration settings. " ) ;
}
}
}
}
AZ_CONSOLEFREEFUNC ( physx_ TogglePhysX DebugVisualization , AZ : : ConsoleFunctorFlags : : DontReplicate , " Toggles physx debug visualization " ) ;
AZ_CONSOLEFREEFUNC ( physx_ Debug, AZ : : ConsoleFunctorFlags : : DontReplicate , " Toggles physx debug visualization " ) ;
void SystemComponent : : ConfigurePhysXVisualizationParameters ( )
void SystemComponent : : ConfigurePhysXVisualizationParameters ( )
{
{