Inherits LmbrCentral::EditorBaseShapeComponent, AzFramework::EntityDebugDisplayEventBus::Handler, AzToolsFramework::CapsuleManipulatorRequestBus::Handler, AzToolsFramework::RadiusManipulatorRequestBus::Handler, and AzToolsFramework::ShapeManipulatorRequestBus::Handler.
|
| AZ_EDITOR_COMPONENT (EditorCapsuleShapeComponent, EditorCapsuleShapeComponentTypeId, EditorBaseShapeComponent) |
|
void | Init () override |
|
void | Activate () override |
|
void | Deactivate () override |
|
| 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 void | Reflect (AZ::ReflectContext *context) |
|
static void | Reflect (AZ::SerializeContext &context) |
|
|
void | BuildGameEntity (AZ::Entity *gameEntity) override |
|
void | OnTransformChanged (const AZ::Transform &local, const AZ::Transform &world) override |
|
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 void | GetProvidedServices (AZ::ComponentDescriptor::DependencyArrayType &provided) |
|
static void | GetIncompatibleServices (AZ::ComponentDescriptor::DependencyArrayType &incompatible) |
|
static void | GetProvidedServices (AZ::ComponentDescriptor::DependencyArrayType &provided) |
|
static void | GetIncompatibleServices (AZ::ComponentDescriptor::DependencyArrayType &incompatible) |
|
static void | GetRequiredServices (AZ::ComponentDescriptor::DependencyArrayType &required) |
|
|
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 |
|
The documentation for this class was generated from the following file:
- Gems/LmbrCentral/Code/Source/Shape/EditorCapsuleShapeComponent.h