MxEngine
Public Member Functions | List of all members
MxEngine::RuntimeEditor Class Reference

Public Member Functions

 RuntimeEditor (const RuntimeEditor &)=delete
 
 RuntimeEditor (RuntimeEditor &&)=default
 
void Log (const MxString &message)
 
void ClearLog ()
 
void PrintHistory ()
 
void OnRender ()
 
void SetSize (const Vector2 &size)
 
void Toggle (bool isVisible=true)
 
void AddKeyBinding (KeyCode openKey)
 
ScriptEngine & GetEngine ()
 
Vector2 GetSize () const
 
bool IsToggled () const
 
void ExecuteScript (const MxString &code)
 
bool HasErrorsInExecution () const
 
const MxString & GetLastErrorMessage () const
 
template<typename T >
void RegisterComponentEditor (const char *name, std::function< void(T &)> callback)
 
template<typename Func >
void RegisterComponentEditor (const char *name, Func &&callback)
 

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