Editor representation of a tube shape. More...
#include <EditorTubeShapeComponent.h>
Inherits LmbrCentral::EditorBaseShapeComponent, AzFramework::EntityDebugDisplayEventBus::Handler, SplineComponentNotificationBus::Handler, SplineAttributeNotificationBus::Handler, and EditorTubeShapeComponentRequestBus::Handler.
Public Member Functions | |
AZ_EDITOR_COMPONENT (EditorTubeShapeComponent, EditorTubeShapeComponentTypeId, EditorBaseShapeComponent) | |
void | Init () override |
void | Activate () override |
void | Deactivate () override |
void | BuildGameEntity (AZ::Entity *gameEntity) override |
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 Public Member Functions inherited from LmbrCentral::EditorBaseShapeComponent | |
static void | Reflect (AZ::SerializeContext &context) |
Static Protected Member Functions | |
static void | GetProvidedServices (AZ::ComponentDescriptor::DependencyArrayType &provided) |
static void | GetRequiredServices (AZ::ComponentDescriptor::DependencyArrayType &required) |
static void | GetIncompatibleServices (AZ::ComponentDescriptor::DependencyArrayType &incompatible) |
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) |
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 |
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 |
ShapeComponentConfig * | m_shapeConfig = nullptr |
Editor representation of a tube shape.