Open 3D Engine GraphCanvas 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.
GraphCanvas::SceneNotifications Class Reference

#include <SceneBus.h>

Inherits AZ::EBusTraits.

Public Types

using BusIdType = AZ::EntityId
 

Public Member Functions

virtual void OnNodeAdded (const AZ::EntityId &, bool)
 A node has been added to the scene.
 
virtual void OnNodeRemoved (const AZ::EntityId &)
 A node has been removed from the scene.
 
virtual void OnNodeSelected (const AZ::EntityId &, bool)
 A node in the scene has been selected.
 
virtual void OnNodePositionChanged (const AZ::EntityId &, const AZ::Vector2 &)
 A node in the scene has been moved.
 
virtual void OnNodeIsBeingEdited (bool)
 A node in the scene is being edited.
 
virtual void OnSceneMemberAdded (const AZ::EntityId &)
 A Scene Member was added to the scene.
 
virtual void OnSceneMemberRemoved (const AZ::EntityId &)
 A Scene Member was removed from the scene.
 
virtual void OnSceneMemberSelected (const AZ::EntityId &)
 A Scene Member was selected.
 
virtual void OnSceneMemberPositionChanged (const AZ::EntityId &, const AZ::Vector2 &)
 A Scene Member in the scene has been moved.
 
virtual void OnSceneMemberDragBegin ()
 A Scene Member in the scene has begun being dragged.
 
virtual void OnSceneMemberDragComplete ()
 A Scene Member in the scene is finished being dragged.
 
virtual void OnPreNodeDeleted (const AZ::EntityId &)
 A node in the scene has been deleted.
 
virtual void OnConnectionAdded (const AZ::EntityId &)
 A connection has been added to the scene.
 
virtual void OnConnectionRemoved (const AZ::EntityId &)
 A connection has been removed from the scene.
 
virtual void OnConnectionSelected (const AZ::EntityId &, bool)
 A connection in the scene has been selected.
 
virtual void OnPreConnectionDeleted (const AZ::EntityId &)
 A connection in the scene has been deleted.
 
virtual void OnEntitiesSerialized (GraphSerialization &)
 Selected nodes, connections and groups have been serialized to the target serialization.
 
virtual void OnEntitiesDeserialized (const GraphSerialization &)
 GraphCanvas nodes, connections and groups have been pasted from the clipboard The userData map contains any custom data serialized in from a copy operation.
 
virtual void OnEntitiesDeserializationComplete (const GraphSerialization &)
 Signalled once everything that was deserialized in a batch is complete.
 
virtual void OnUnknownPaste (const QPointF &)
 Signalled when a paste event is received, and it does not contain the CopyMimeType.
 
virtual void OnDuplicateBegin ()
 Sent when a duplicate command begins.
 
virtual void OnDuplicateEnd ()
 Sent when a duplicate command ends.
 
virtual void OnPasteBegin ()
 Sent When a paste command begins.
 
virtual void OnPasteEnd ()
 Sent when a paste command finishes.
 
virtual void OnCopyBegin ()
 Sent when a copy branch begins.
 
virtual void OnCopyEnd ()
 Sent after a scene has complete a copy branch.
 
virtual void PostDeletionEvent ()
 Sent after a scene has completed a deletion batch.
 
virtual void PostCreationEvent ()
 Sent after the scene has successfully handled a creation event.
 
virtual void OnStylesChanged ()
 The scene's stylesheet was changed.
 
virtual void OnSelectionChanged ()
 The selection in the scene has changed.
 
virtual void OnKeyPressed (QKeyEvent *)
 A key was pressed in the scene.
 
virtual void OnKeyReleased (QKeyEvent *)
 A key was released in the scene.
 
virtual void OnDragSelectStart ()
 Signals that a drag selection began.
 
virtual void OnDragSelectEnd ()
 Signals that a drag selection has ended.
 
virtual void OnConnectionDragBegin ()
 Signals that a connection drag has begun.
 
virtual void OnConnectionDragEnd ()
 Signals that a conneciton drag has ended.
 
virtual void OnViewRegistered ()
 Signals that the scene registered a graphics view.
 
virtual void OnGraphLoadBegin ()
 
virtual void OnGraphLoadComplete ()
 
virtual void PostOnGraphLoadComplete ()
 

Static Public Attributes

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

Detailed Description

SceneNotifications Notifications about changes to the state of scenes.


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