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

#include <RuntimeComponent.h>

Inherits AZ::Component, and AZ::EntityBus::Handler.

Public Member Functions

 AZ_COMPONENT (RuntimeComponent, "{95BFD916-E832-4956-837D-525DE8384282}", AZ::Component)
 
void TakeRuntimeDataOverrides (RuntimeDataOverrides &&overrideData)
 

Static Public Member Functions

static void Reflect (AZ::ReflectContext *context)
 

Protected Member Functions

void Activate () override
 
void Deactivate () override
 
void OnEntityActivated (const AZ::EntityId &entityId) override
 
void OnEntityDeactivated (const AZ::EntityId &) override
 

Static Protected Member Functions

static void GetProvidedServices (AZ::ComponentDescriptor::DependencyArrayType &provided)
 

Detailed Description

Runtime Component responsible for loading and executing the compiled ScriptCanvas graph from a runtime asset. It connects the execution of the graph to the EntityBus and the Entity/Component framework Component Activate: Connect to EntityBus, initialize runtime graph OnEntityActivated: Begin (and optionally complete) runtime graph execution OnEntityDeactivated or RuntimeComponent::Destruction: (optionally) halt runtime graph execution


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