Open 3D Engine AzToolsFramework API Reference 23.10.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
AzToolsFramework::PropertyEditorToolsSystemInterface::HandlerData Struct Reference

#include <PropertyEditorToolsSystemInterface.h>

Public Attributes

AZStd::string_view m_name
 The name of the handler, used for determining which set of handlers to match against.
 
PropertyHandlerInstanceFactory m_factory
 A factory functor that constructs an instance of this handler.
 
AZStd::function< bool(const AZ::TypeId &)> m_shouldHandleType
 
bool m_isDefaultHandler
 

Detailed Description

Metadata used to determine the handler to instantiate for a given DPE node. This is typically automatically generated by the templated RegisterHandler.

Member Data Documentation

◆ m_isDefaultHandler

bool AzToolsFramework::PropertyEditorToolsSystemInterface::HandlerData::m_isDefaultHandler

Determines whether this handler should be in the "default" pool and match against editors with no "Type" attribute explicitly specified. The first default handler that returns true from m_shouldHandleType will be selected (if any). Care should be taken to not provide overly general handlers as default handlers.

◆ m_shouldHandleType

AZStd::function<bool(const AZ::TypeId&)> AzToolsFramework::PropertyEditorToolsSystemInterface::HandlerData::m_shouldHandleType

A functor that returns true if this handler should be created for a given type. The first registered handler that returns true for this will be provided when calling GetPropertyHandlerForNode.


The documentation for this struct was generated from the following file: