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

Inherits LmbrCentral::EditorBaseShapeComponent, CompoundShapeComponentRequestsBus::Handler, and CompoundShapeComponentHierarchyRequestsBus::Handler.

Public Member Functions

 AZ_EDITOR_COMPONENT (EditorCompoundShapeComponent, EditorCompoundShapeComponentTypeId, EditorBaseShapeComponent)
 
void Init () override
 
void Activate () override
 
void Deactivate () override
 
void BuildGameEntity (AZ::Entity *gameEntity) override
 
AZ::u32 ConfigurationChanged ()
 
- Public Member Functions inherited from LmbrCentral::EditorBaseShapeComponent
 AZ_RTTI (EditorBaseShapeComponent, "{32B9D7E9-6743-427B-BAFD-1C42CFBE4879}", AzToolsFramework::Components::EditorComponentBase)
 
void Activate () override
 
void Deactivate () override
 
void OnTransformChanged (const AZ::Transform &, const AZ::Transform &) override
 
void SetShapeColor (const AZ::Color &solidColor) override
 
void SetShapeWireframeColor (const AZ::Color &wireColor) override
 
void SetVisibleInEditor (bool visible) override
 
void SetVisibleInGame (bool visible) override
 
void SetShapeColorIsEditable (bool editable) override
 
bool GetShapeColorIsEditable () override
 
AZ::Aabb GetWorldBounds () override
 
AZ::Aabb GetLocalBounds () override
 
void OnShapeChanged (ShapeChangeReasons changeReason) override
 
bool CanDraw () const
 Should shape be rendered all the time, even when not selected.
 
void SetShapeComponentConfig (ShapeComponentConfig *shapeConfig)
 

Static Public Member Functions

static void Reflect (AZ::ReflectContext *context)
 
static void GetProvidedServices (AZ::ComponentDescriptor::DependencyArrayType &provided)
 
static void GetIncompatibleServices (AZ::ComponentDescriptor::DependencyArrayType &incompatible)
 
- Static Public Member Functions inherited from LmbrCentral::EditorBaseShapeComponent
static void Reflect (AZ::SerializeContext &context)
 

Additional Inherited Members

- Protected Member Functions inherited from LmbrCentral::EditorBaseShapeComponent
AZ::Aabb GetEditorSelectionBoundsViewport (const AzFramework::ViewportInfo &viewportInfo) override
 
bool EditorSelectionIntersectRayViewport (const AzFramework::ViewportInfo &viewportInfo, const AZ::Vector3 &src, const AZ::Vector3 &dir, float &distance) override
 
bool SupportsEditorRayIntersect () override
 
bool SupportsEditorRayIntersectViewport (const AzFramework::ViewportInfo &viewportInfo) override
 
void OnAccentTypeChanged (AzToolsFramework::EntityAccentType accent) override
 
- Static Protected Member Functions inherited from LmbrCentral::EditorBaseShapeComponent
static void GetProvidedServices (AZ::ComponentDescriptor::DependencyArrayType &provided)
 
static void GetIncompatibleServices (AZ::ComponentDescriptor::DependencyArrayType &incompatible)
 
static void GetRequiredServices (AZ::ComponentDescriptor::DependencyArrayType &required)
 
- Protected Attributes inherited from LmbrCentral::EditorBaseShapeComponent
AZ::Color m_shapeColor = AzFramework::ViewportColors::DeselectedColor
 
AZ::Color m_shapeWireColor = AzFramework::ViewportColors::WireColor
 
AZ::Color m_shapeColorSaved = AzFramework::ViewportColors::DeselectedColor
 
bool m_shapeColorIsEditable = true
 
bool m_visibleInEditor = true
 
bool m_visibleInGameView = false
 
bool m_displayFilled = true
 
ShapeComponentConfigm_shapeConfig = nullptr
 

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