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.
ScriptCanvasEditor::State< Traits > Class Template Reference

Base class for all states in the system, users must provide a state ID through StateTraits. More...

#include <GraphUpgrade.h>

Inherits ScriptCanvasEditor::IState.

Public Member Functions

 State (StateMachine *stateMachine)
 
template<typename T >
T * GetStateMachine ()
 
StateMachineGetStateMachine () override
 
int GetStateId () const override
 
void Enter () override
 
ExitStatus Exit () override
 
void Log (const char *format,...)
 

Static Public Member Functions

static int StateID ()
 

Additional Inherited Members

- Public Types inherited from ScriptCanvasEditor::IState
enum class  ExitStatus { Default , Skipped , Upgraded }
 
- Static Public Attributes inherited from ScriptCanvasEditor::IState
static constexpr int EXIT_STATE_ID = (-1)
 
- Protected Member Functions inherited from ScriptCanvasEditor::IState
virtual void OnEnter ()
 
virtual void Run ()
 
virtual ExitStatus OnExit ()
 
virtual int EvaluateTransition ()
 
virtual const char * GetName () const
 

Detailed Description

template<typename Traits>
class ScriptCanvasEditor::State< Traits >

Base class for all states in the system, users must provide a state ID through StateTraits.


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