Open 3D Engine GraphModel 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.
|
#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 ([[maybe_unused]] GraphModel::NodePtr wrapperNode, [[maybe_unused]] 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 |
GraphControllerNotifications Notifications about changes to the state of scene graphs.
|
inlinevirtual |
Something in the graph has been modified
node | The node that was modified in the graph. If this is nullptr, some metadata on the graph itself was modified |
|
inlinevirtual |
Sent whenever a graph model slot value changes
slot | The slot that was modified in the graph. |