Inherits AZ::DocumentPropertyEditor::ComponentAdapter.
|
| void | SetComponent (AZ::Component *componentInstance) override |
| | Sets the component, connects the appropriate Bus Handlers and sets the reflect data for this instance.
|
| |
|
void | CreateLabel (AZ::DocumentPropertyEditor::AdapterBuilder *adapterBuilder, AZStd::string_view labelText, AZStd::string_view serializedPath) override |
| |
|
AZ::Dom::Value | HandleMessage (const AZ::DocumentPropertyEditor::AdapterMessage &message) override |
| |
| void | UpdateDomContents (const PropertyChangeInfo &propertyChangeInfo) override |
| |
|
| ComponentAdapter () |
| | Creates an uninitialized (empty) ComponentAdapter.
|
| |
|
| ComponentAdapter (AZ::Component *componentInstance) |
| | Creates a ComponentAdapter with a specific component instance, see SetComponent.
|
| |
|
void | OnEntityComponentPropertyChanged (AZ::ComponentId componentId) override |
| |
|
void | InvalidatePropertyDisplay (AzToolsFramework::PropertyModificationRefreshLevel level) override |
| |
|
void | InvalidatePropertyDisplayForComponent (AZ::EntityComponentIdPair entityComponentIdPair, AzToolsFramework::PropertyModificationRefreshLevel level) override |
| |
|
void | RequestRefresh (AzToolsFramework::PropertyModificationRefreshLevel level) override |
| |
|
Dom::Value | HandleMessage (const AdapterMessage &message) override |
| |
| void | CreateLabel (AdapterBuilder *adapterBuilder, AZStd::string_view labelText, AZStd::string_view serializedPath) override |
| |
|
void | OnEntityDestruction (const AZ::EntityId &) override |
| | Gets notification from the EntitySystemBus before destroying an entity.
|
| |
|
|
AZ::EntityId | m_entityId |
| |
|
AZ::ComponentId | m_componentId = AZ::InvalidComponentId |
| |
|
AzToolsFramework::UndoSystem::URSequencePoint * | m_currentUndoBatch = nullptr |
| |
| enum AzToolsFramework::PropertyModificationRefreshLevel | m_queuedRefreshLevel |
| |
|
QObject | m_stillAlive |
| | object, used in conjunction with a QPointer, to track if this component is still alive
|
| |
◆ SetComponent()
| void AzToolsFramework::Prefab::PrefabComponentAdapter::SetComponent |
( |
AZ::Component * |
componentInstance | ) |
|
|
overridevirtual |
◆ UpdateDomContents()
| void AzToolsFramework::Prefab::PrefabComponentAdapter::UpdateDomContents |
( |
const PropertyChangeInfo & |
propertyChangeInfo | ) |
|
|
override |
Updates the DPE DOM using the property change information provided. If the property is owned by the focused prefab, the change is applied as direct template edit. If the property is owned by descendant of the focused prefab, it is applied as an override from the focused prefab.
- Parameters
-
| propertyChangeInfo | The object containing information about the property change. |
The documentation for this class was generated from the following file:
- Code/Framework/AzToolsFramework/AzToolsFramework/Prefab/DocumentPropertyEditor/PrefabComponentAdapter.h