Open 3D Engine GraphModel 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.
GraphModelIntegration::GraphControllerNotifications Class Reference

#include <GraphModelBus.h>

Inherits AZ::EBusTraits.

Public Types

using BusIdType = AZ::EntityId
 

Public Member Functions

virtual void OnGraphModelNodeAdded (GraphModel::NodePtr)
 A node has been added to the scene.
 
virtual void OnGraphModelNodeRemoved (GraphModel::NodePtr)
 A node has been removed from the scene.
 
virtual void PreOnGraphModelNodeRemoved (GraphModel::NodePtr)
 Invoked prior to a node being removed from the scene.
 
virtual void OnGraphModelConnectionAdded (GraphModel::ConnectionPtr)
 A connection has been added to the scene.
 
virtual void OnGraphModelConnectionRemoved (GraphModel::ConnectionPtr)
 A connection has been removed from the scene.
 
virtual void PreOnGraphModelNodeWrapped (GraphModel::NodePtr wrapperNode, GraphModel::NodePtr node)
 The specified node is about to be wrapped (embedded) onto the wrapperNode.
 
virtual void OnGraphModelNodeWrapped (GraphModel::NodePtr, GraphModel::NodePtr)
 The specified node has been wrapped (embedded) onto the wrapperNode.
 
virtual void OnGraphModelNodeUnwrapped (GraphModel::NodePtr, GraphModel::NodePtr)
 The specified node has been unwrapped (removed) from the wrapperNode.
 
virtual void OnGraphModelSlotModified (GraphModel::SlotPtr slot)
 
virtual void OnGraphModelGraphModified (GraphModel::NodePtr node)
 
virtual void OnGraphModelRequestUndoPoint ()
 A request has been made to record data for an undoable operation.
 
virtual void OnGraphModelTriggerUndo ()
 A request has been made to perform an undo operation.
 
virtual void OnGraphModelTriggerRedo ()
 A request has been made to perform a redo operation.
 

Static Public Attributes

static const AZ::EBusAddressPolicy AddressPolicy = AZ::EBusAddressPolicy::ById
 

Detailed Description

GraphControllerNotifications Notifications about changes to the state of scene graphs.

Member Function Documentation

◆ OnGraphModelGraphModified()

virtual void GraphModelIntegration::GraphControllerNotifications::OnGraphModelGraphModified ( GraphModel::NodePtr  node)
inlinevirtual

Something in the graph has been modified

Parameters
nodeThe node that was modified in the graph. If this is nullptr, some metadata on the graph itself was modified

◆ OnGraphModelSlotModified()

virtual void GraphModelIntegration::GraphControllerNotifications::OnGraphModelSlotModified ( GraphModel::SlotPtr  slot)
inlinevirtual

Sent whenever a graph model slot value changes

Parameters
slotThe slot that was modified in the graph.

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