#include <EditorOnlyEntityComponent.h>
Inherits AzToolsFramework::Components::EditorComponentBase, and EditorOnlyEntityComponentRequestBus::Handler.
Public Member Functions | |
| AZ_EDITOR_COMPONENT (EditorOnlyEntityComponent, "{22A16F1D-6D49-422D-AAE9-91AE45B5D3E7}") | |
| bool | IsEditorOnlyEntity () override |
| void | SetIsEditorOnlyEntity (bool isEditorOnly) override |
Public Member Functions inherited from AzToolsFramework::Components::EditorComponentBase | |
| AZ_RTTI (EditorComponentBase, "{D5346BD4-7F20-444E-B370-327ACD03D4A0}", AZ::Component) | |
| EditorComponentBase () | |
| void | SetDirty () |
| void | OnAfterEntitySet () override final |
| void | SetSerializedIdentifier (AZStd::string serializedIdentifier) override final |
| AZStd::string | GetSerializedIdentifier () const override final |
| AZ::TransformInterface * | GetTransform () const |
| AZ::Transform | GetWorldTM () const |
| AZ::Transform | GetLocalTM () const |
| bool | IsSelected () const |
| void | InvalidatePropertyDisplay (AzToolsFramework::PropertyModificationRefreshLevel refreshFlags) |
| virtual void | BuildGameEntity (AZ::Entity *) |
| virtual void | SetPrimaryAsset (const AZ::Data::AssetId &) |
| virtual void | AddContextMenuActions (QMenu *) |
Static Public Member Functions | |
| static void | Reflect (AZ::ReflectContext *context) |
| static void | GetProvidedServices (AZ::ComponentDescriptor::DependencyArrayType &services) |
| static void | GetIncompatibleServices (AZ::ComponentDescriptor::DependencyArrayType &services) |
Static Public Member Functions inherited from AzToolsFramework::Components::EditorComponentBase | |
| static void | Reflect (AZ::ReflectContext *context) |
Acts as storage for the "editor-only" flag on entities, and offers an API for getting/setting the value.