Open 3D Engine LandscapeCanvas Gem 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.
LandscapeCanvas::LandscapeCanvasSystemComponent Class Reference

Inherits AZ::Component, AzToolsFramework::EditorEvents::Bus::Handler, LandscapeCanvasNodeFactoryRequestBus::Handler, LandscapeCanvasSerializationRequestBus::Handler, and AzToolsFramework::ActionManagerRegistrationNotificationBus::Handler.

Public Member Functions

 AZ_COMPONENT (LandscapeCanvasSystemComponent, "{891CA15A-725A-430F-B395-BCA005CFF606}")
 
void NotifyRegisterViews () override
 
void OnActionContextRegistrationHook () override
 

Static Public Member Functions

static void Reflect (AZ::ReflectContext *context)
 
static void GetProvidedServices (AZ::ComponentDescriptor::DependencyArrayType &provided)
 
static void GetIncompatibleServices (AZ::ComponentDescriptor::DependencyArrayType &incompatible)
 
static void GetRequiredServices (AZ::ComponentDescriptor::DependencyArrayType &required)
 
static void GetDependentServices (AZ::ComponentDescriptor::DependencyArrayType &dependent)
 

Protected Types

using NodeFactoryFunction = AZStd::function< BaseNode::BaseNodePtr(GraphModel::GraphPtr)>
 

Protected Member Functions

void Init () override
 
void Activate () override
 
void Deactivate () override
 
BaseNode::BaseNodePtr CreateNodeForType (GraphModel::GraphPtr graph, const AZ::TypeId &typeId) override
 
GraphModel::NodePtr CreateNodeForTypeName (GraphModel::GraphPtr graph, AZStd::string_view nodeName) override
 
const AZ::TypeId GetComponentTypeId (const AZ::TypeId &nodeTypeId) override
 
int GetNodeRegisteredIndex (const AZ::TypeId &nodeTypeId) const override
 
const LandscapeCanvasSerializationGetSerializedMappings () override
 
void SetDeserializedEntities (const AZStd::unordered_map< AZ::EntityId, AZ::EntityId > &entities) override
 
template<typename NodeType >
void RegisterFactoryMethod (const AZ::TypeId &typeId)
 

Protected Attributes

AZ::SerializeContext * m_serializeContext = nullptr
 
AZStd::unordered_map< AZ::TypeId, NodeFactoryFunction > m_nodeFactory
 
AZStd::unordered_map< AZ::TypeId, AZStd::pair< AZ::TypeId, AZ::u32 > > m_nodeComponentTypeIds
 
LandscapeCanvasSerialization m_serialization
 

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