Open 3D Engine GraphCanvas Gem API Reference  24.09
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
GraphCanvas::LayerControllerComponent Class Reference

Inherits AZ::Component, StateController::Notifications::Handler, RootGraphicsItemNotificationBus::Handler, LayerControllerRequestBus::Handler, SceneMemberNotificationBus::Handler, GraphCanvas::SceneNotificationBus::Handler, GroupableSceneMemberNotificationBus::MultiHandler, and AZ::SystemTickBus::Handler.

Inherited by GraphCanvas::BookmarkAnchorLayerControllerComponent, GraphCanvas::CommentLayerControllerComponent, GraphCanvas::ConnectionLayerControllerComponent, GraphCanvas::NodeGroupLayerControllerComponent, and GraphCanvas::NodeLayerControllerComponent.

Public Member Functions

 AZ_COMPONENT (LayerControllerComponent, "{A85BE3B4-18D5-45D4-91B2-B5529C999E3D}", AZ::Component)
 
void Init () override
 
void Activate () override
 
void Deactivate () override
 
void OnSystemTick () override
 
void OnSceneSet (const AZ::EntityId &sceneId) override
 
void OnStylesChanged () override
 
void OnSelectionChanged () override
 
void OnDisplayStateChanged (RootGraphicsItemDisplayState oldState, RootGraphicsItemDisplayState newState) override
 
void OnStateChanged (const AZStd::string &state) override
 
StateController< AZStd::string > * GetLayerModifierController () override
 
int GetSelectionOffset () const override
 
int GetGroupLayerOffset () const override
 
void OnGroupChanged () override
 
int GetLayerOffset () const
 

Static Public Member Functions

static void Reflect (AZ::ReflectContext *context)
 

Protected Types

enum  LayerOffset {
  OffsetIndexForce = -1 , ConnectionOffset , NodeOffset , NodeGroupOffset ,
  CommentOffset , BookmarkAnchorOffset , OffsetCount
}
 

Protected Member Functions

 LayerControllerComponent (AZStd::string_view layeringElement, LayerOffset layerOffset)
 
void SetBaseModifier (AZStd::string_view baseModifier)
 
void SetGroupLayerOffset (int groupOffset)
 
void SetSelectionLayerOffset (int selectionOffset)
 

Friends

class LayerUtils
 

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