#include <EntityDebugDisplayComponent.h>
Inherits AZ::Component, AZ::TransformNotificationBus::Handler, and AzFramework::EntityDebugDisplayEventBus::Handler.
Inherited by LmbrCentral::AxisAlignedBoxShapeDebugDisplayComponent, LmbrCentral::BoxShapeDebugDisplayComponent, LmbrCentral::CapsuleShapeDebugDisplayComponent, LmbrCentral::CylinderShapeDebugDisplayComponent, LmbrCentral::DiskShapeDebugDisplayComponent, LmbrCentral::PolygonPrismShapeDebugDisplayComponent, LmbrCentral::QuadShapeDebugDisplayComponent, LmbrCentral::SphereShapeDebugDisplayComponent, and LmbrCentral::TubeShapeDebugDisplayComponent.
Public Member Functions | |
AZ_CLASS_ALLOCATOR (EntityDebugDisplayComponent, AZ::SystemAllocator) | |
AZ_RTTI (EntityDebugDisplayComponent, "{091EA609-13E9-4553-83BA-36878CBAB950}", AZ::Component) | |
void | Activate () override |
void | Deactivate () override |
Static Public Member Functions | |
static void | Reflect (AZ::ReflectContext *context) |
Protected Member Functions | |
void | OnTransformChanged (const AZ::Transform &local, const AZ::Transform &world) override |
virtual void | Draw (AzFramework::DebugDisplayRequests &debugDisplay)=0 |
const AZ::Transform & | GetCurrentTransform () const |
Static Protected Member Functions | |
static void | GetRequiredServices (AZ::ComponentDescriptor::DependencyArrayType &required) |
Base type to be used to do custom component debug drawing.
|
protectedpure virtual |
Interface to draw using DebugDisplayRequests API.
Implemented in LmbrCentral::AxisAlignedBoxShapeDebugDisplayComponent, LmbrCentral::BoxShapeDebugDisplayComponent, LmbrCentral::CapsuleShapeDebugDisplayComponent, LmbrCentral::CylinderShapeDebugDisplayComponent, LmbrCentral::DiskShapeDebugDisplayComponent, LmbrCentral::PolygonPrismShapeDebugDisplayComponent, LmbrCentral::QuadShapeDebugDisplayComponent, LmbrCentral::SphereShapeDebugDisplayComponent, and LmbrCentral::TubeShapeDebugDisplayComponent.