|
Open 3D Engine AzFramework API Reference
2305.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
|
Provides debug drawing for character physics configurations, such as colliders and joint limits. More...
#include <CharacterPhysicsDebugDraw.h>
Classes | |
| struct | ColorSettings |
| Color settings for character physics debug drawing, such as default and selected colors. More... | |
| struct | JointDebugDrawData |
| Location and visibility data etc required to debug draw a JointConfiguration. More... | |
| struct | JointLimitRenderBuffers |
| Buffers to store vertices, line colors etc for debug drawing a joint limit. More... | |
| struct | NodeDebugDrawData |
| Location and visibility data etc required to debug draw a CharacterColliderNodeConfiguration. More... | |
Public Types | |
| using | NodeDebugDrawDataFunction = AZStd::function< NodeDebugDrawData(const CharacterColliderNodeConfiguration &colliderNodeConfig)> |
| Function allowing callers to specify where and how to debug draw a CharacterColliderNodeConfiguration. | |
| using | JointDebugDrawDataFunction = AZStd::function< JointDebugDrawData(const RagdollNodeConfiguration &ragdollNodeConfig)> |
Public Member Functions | |
| void | RenderColliders (AzFramework::DebugDisplayRequests *debugDisplay, const Physics::CharacterColliderNodeConfiguration &nodeConfig, NodeDebugDrawDataFunction nodeDebugDrawDataFunction, const ColorSettings &colorSettings, uint32_t invalidShapeBitArray=0) |
| Debug draw all the colliders attached to a single CharacterColliderNodeConfiguration. | |
| void | RenderColliders (AzFramework::DebugDisplayRequests *debugDisplay, const Physics::CharacterColliderConfiguration *colliderConfig, NodeDebugDrawDataFunction nodeDebugDrawDataFunction, const ColorSettings &colorSettings) |
| Debug draw all the colliders for an entire CharacterColliderConfiguration. | |
| void | RenderRagdollColliders (AzFramework::DebugDisplayRequests *debugDisplay, const Physics::CharacterColliderConfiguration *colliderConfig, NodeDebugDrawDataFunction nodeDebugDrawDataFunction, const ParentIndices &parentIndices, const ColorSettings &colorSettings) |
| Debug draw all the colliders for an entire ragdoll. | |
| void | RenderJointFrame (AzFramework::DebugDisplayRequests *debugDisplay, const RagdollNodeConfiguration &ragdollNodeConfig, const JointDebugDrawData &jointDebugDrawData, const ColorSettings &colorSettings) |
| Debug draw the joint frame for a single RagdollNodeConfiguration. | |
| void | RenderJointLimit (AzFramework::DebugDisplayRequests *debugDisplay, const RagdollNodeConfiguration &ragdollNodeConfig, const JointDebugDrawData &jointDebugDrawData, const ColorSettings &colorSettings) |
| Debug draw the joint limit for a single RagdollNodeConfiguration. | |
| void | RenderJointLimits (AzFramework::DebugDisplayRequests *debugDisplay, const Physics::RagdollConfiguration &ragdollConfig, JointDebugDrawDataFunction jointDebugDrawDataFunction, const ColorSettings &colorSettings) |
| Debug draw the joint limits for an entire RagdollConfiguration. | |
Static Public Attributes | |
| static constexpr float | s_scale = 0.1f |
| static constexpr AZ::u32 | s_angularSubdivisions = 32 |
| static constexpr AZ::u32 | s_radialSubdivisions = 2 |
Provides debug drawing for character physics configurations, such as colliders and joint limits.