Open 3D Engine ScriptCanvas 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.
ScriptCanvas::SystemRequests Class Referenceabstract

Inherits AZ::EBusTraits.

Public Types

using MutexType = AZStd::recursive_mutex
 

Public Member Functions

virtual bool IsScriptUnitTestingInProgress ()=0
 
virtual void MarkScriptUnitTestBegin ()=0
 
virtual void MarkScriptUnitTestEnd ()=0
 
virtual void CreateEngineComponentsOnEntity (AZ::Entity *entity)=0
 Create all the components that entity requires to execute the Script Canvas engine.
 
virtual GraphCreateGraphOnEntity (AZ::Entity *)=0
 Create a graph and attach it to the supplied Entity.
 
virtual ScriptCanvas::GraphMakeGraph ()=0
 
virtual ScriptCanvasId FindScriptCanvasId (AZ::Entity *)
 
virtual ScriptCanvas::NodeGetNode (const AZ::EntityId &, const AZ::Uuid &)=0
 
virtual NodeCreateNodeOnEntity (const AZ::EntityId &entityId, ScriptCanvasId scriptCanvasId, const AZ::Uuid &nodeType)=0
 Given the ClassData for a type create a Script Canvas Node Component on the supplied entity.
 
template<typename NodeType >
NodeType * GetNode (const AZ::EntityId &nodeId)
 
virtual void AddOwnedObjectReference (const void *object, BehaviorContextObject *behaviorContextObject)=0
 Adds a mapping of the raw address to an object created by the behavior context to the ScriptCanvas::BehaviorContextObject node that owns that object.
 
virtual BehaviorContextObjectFindOwnedObjectReference (const void *object)=0
 Looks up the supplied address returns the BehaviorContextObject if it is owned by one.
 
virtual void RemoveOwnedObjectReference (const void *object)=0
 Removes a mapping of the raw address of an object created by the behavior context to a BehaviorContextObject node.
 
virtual void SetInterpretedBuildConfiguration (BuildConfiguration config)=0
 
virtual SystemComponentConfiguration GetSystemComponentConfiguration ()=0
 

Static Public Attributes

static const AZ::EBusHandlerPolicy HandlerPolicy = AZ::EBusHandlerPolicy::Single
 
static const bool LocklessDispatch = true
 

Member Function Documentation

◆ MakeGraph()

virtual ScriptCanvas::Graph* ScriptCanvas::SystemRequests::MakeGraph ( )
pure virtual

Create a graph, a pointer to the graph/ The Init() function is not called on the graph to remapping of Entity Id's to still work


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