|
Open 3D Engine DebugDraw Gem API Reference
23.05.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
|
Inherits Component, MultiHandler, Handler, Handler, Handler, and Handler.
Public Member Functions | |
| AZ_COMPONENT (DebugDrawSystemComponent,"{48D54C3C-F284-43A5-B070-106F2CEB7154}") | |
Protected Member Functions | |
| void | DrawAabb (const AZ::Aabb &aabb, const AZ::Color &color, float duration) override |
| void | DrawAabbOnEntity (const AZ::EntityId &targetEntity, const AZ::Aabb &aabb, const AZ::Color &color, float duration) override |
| void | DrawLineBatchLocationToLocation (const AZStd::vector< DebugDraw::DebugDrawLineElement > &lineBatch) override |
| void | DrawLineLocationToLocation (const AZ::Vector3 &startLocation, const AZ::Vector3 &endLocation, const AZ::Color &color, float duration) override |
| void | DrawLineEntityToLocation (const AZ::EntityId &startEntity, const AZ::Vector3 &endLocation, const AZ::Color &color, float duration) override |
| void | DrawLineEntityToEntity (const AZ::EntityId &startEntity, const AZ::EntityId &endEntity, const AZ::Color &color, float duration) override |
| void | DrawObb (const AZ::Obb &obb, const AZ::Color &color, float duration) override |
| void | DrawObbOnEntity (const AZ::EntityId &targetEntity, const AZ::Obb &obb, const AZ::Color &color, float duration) override |
| void | DrawRayLocationToDirection (const AZ::Vector3 &worldLocation, const AZ::Vector3 &worldDirection, const AZ::Color &color, float duration) override |
| void | DrawRayEntityToDirection (const AZ::EntityId &startEntity, const AZ::Vector3 &worldDirection, const AZ::Color &color, float duration) override |
| void | DrawRayEntityToEntity (const AZ::EntityId &startEntity, const AZ::EntityId &endEntity, const AZ::Color &color, float duration) override |
| void | DrawSphereAtLocation (const AZ::Vector3 &worldLocation, float radius, const AZ::Color &color, float duration) override |
| void | DrawSphereOnEntity (const AZ::EntityId &targetEntity, float radius, const AZ::Color &color, float duration) override |
| void | DrawTextAtLocation (const AZ::Vector3 &worldLocation, const AZStd::string &text, const AZ::Color &color, float duration) override |
| void | DrawTextOnEntity (const AZ::EntityId &targetEntity, const AZStd::string &text, const AZ::Color &color, float duration) override |
| void | DrawTextOnScreen (const AZStd::string &text, const AZ::Color &color, float duration) override |
| void | RegisterDebugDrawComponent (AZ::Component *component) override |
| void | UnregisterDebugDrawComponent (AZ::Component *component) override |
| void | Init () override |
| void | Activate () override |
| void | Deactivate () override |
| void | OnBeginPrepareRender () override |
| void | OnBootstrapSceneReady (AZ::RPI::Scene *scene) override |
| void | OnEntityDeactivated (const AZ::EntityId &entityId) override |
| void | OnTickAabbs (AzFramework::DebugDisplayRequests &debugDisplay) |
| void | OnTickLines (AzFramework::DebugDisplayRequests &debugDisplay) |
| void | OnTickObbs (AzFramework::DebugDisplayRequests &debugDisplay) |
| void | OnTickRays (AzFramework::DebugDisplayRequests &debugDisplay) |
| void | OnTickSpheres (AzFramework::DebugDisplayRequests &debugDisplay) |
| void | OnTickText (AzFramework::DebugDisplayRequests &debugDisplay) |
| void | CreateAabbEntryForComponent (const AZ::EntityId &componentEntityId, const DebugDrawAabbElement &element) |
| void | CreateLineEntryForComponent (const AZ::EntityId &componentEntityId, const DebugDrawLineElement &element) |
| void | CreateObbEntryForComponent (const AZ::EntityId &componentEntityId, const DebugDrawObbElement &element) |
| void | CreateRayEntryForComponent (const AZ::EntityId &componentEntityId, const DebugDrawRayElement &element) |
| void | CreateSphereEntryForComponent (const AZ::EntityId &componentEntityId, const DebugDrawSphereElement &element) |
| void | CreateTextEntryForComponent (const AZ::EntityId &componentEntityId, const DebugDrawTextElement &element) |
| template<typename F > | |
| void | removeExpiredDebugElementsFromVector (AZStd::vector< F > &vectorToExpire) |
Protected Attributes | |
|
AZStd::vector < DebugDrawAabbElement > | m_activeAabbs |
| AZStd::mutex | m_activeAabbsMutex |
|
AZStd::vector < DebugDrawLineElement > | m_activeLines |
| AZStd::mutex | m_activeLinesMutex |
|
AZStd::vector < DebugDrawObbElement > | m_activeObbs |
| AZStd::mutex | m_activeObbsMutex |
|
AZStd::vector < DebugDrawRayElement > | m_activeRays |
| AZStd::mutex | m_activeRaysMutex |
|
AZStd::vector < DebugDrawSphereElement > | m_activeSpheres |
| AZStd::mutex | m_activeSpheresMutex |
|
AZStd::vector < DebugDrawTextElement > | m_activeTexts |
| AZStd::mutex | m_activeTextsMutex |
| double | m_currentTime |
| AZStd::vector< AZ::Vector3 > | m_batchPoints |
| AZStd::vector< AZ::Color > | m_batchColors |