Open 3D Engine DebugDraw Gem API Reference  24.09
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
DebugDraw::DebugDrawTextElement Class Reference

Public Types

enum class  DrawMode { OnScreen , InWorld }
 

Public Member Functions

 AZ_CLASS_ALLOCATOR (DebugDrawTextElement, AZ::SystemAllocator)
 
 AZ_TYPE_INFO (DebugDrawTextElement, "{A49413DB-0AFC-4D38-BD4B-EDC8FA83B640}")
 

Static Public Member Functions

static void Reflect (AZ::ReflectContext *context)
 

Public Attributes

DrawMode m_drawMode = DrawMode::OnScreen
 
float m_duration = 0.0f
 
float m_size = 1.4f
 
AZStd::string m_text = ""
 
bool m_centered = false
 
AZ::ScriptTimePoint m_activateTime
 
AZ::Color m_color = AZ::Color(1.0f, 1.0f, 1.0f, 1.0f)
 
AZ::EntityId m_targetEntityId
 
AZ::Vector3 m_worldLocation = AZ::Vector3::CreateZero()
 
AZ::ComponentId m_owningEditorComponent = AZ::InvalidComponentId
 
float m_fontScale = 1.0f
 
bool m_useOnScreenCoordinates = false
 
bool m_bCenter = false
 

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