A base class for editor components that need to wrap runtime components, use a configuration object, and respond to visibility toggling. More...
#include <EditorWrappedComponentBase.h>
Inherits AzToolsFramework::Components::EditorComponentBase, and AzToolsFramework::EditorVisibilityNotificationBus::Handler.
Public Types | |
| using | WrappedComponentType = TComponent |
| using | WrappedConfigType = TConfiguration |
Public Member Functions | |
| AZ_RTTI ((EditorWrappedComponentBase, "{059BC2AF-B086-4D5E-8F6C-2827AB69ED16}", TComponent, TConfiguration), EditorComponentBase) | |
| void | Init () override |
| void | Activate () override |
| void | Deactivate () override |
| void | BuildGameEntity (AZ::Entity *gameEntity) override |
| void | OnEntityVisibilityChanged (bool visibility) override |
Protected Member Functions | |
| virtual AZ::u32 | ConfigurationChanged () |
Protected Attributes | |
| TComponent | m_component |
| TConfiguration | m_configuration |
| bool | m_visible = true |
| bool | m_runtimeComponentActive = false |
A base class for editor components that need to wrap runtime components, use a configuration object, and respond to visibility toggling.