feat: expand editor scripting asset and viewport flow
This commit is contained in:
@@ -3,8 +3,11 @@
|
||||
#include "EditorRuntimeMode.h"
|
||||
#include "SceneSnapshot.h"
|
||||
|
||||
#include "Core/EditorEvents.h"
|
||||
|
||||
#include <XCEngine/Scene/RuntimeLoop.h>
|
||||
|
||||
#include <cstddef>
|
||||
#include <cstdint>
|
||||
|
||||
namespace XCEngine {
|
||||
@@ -26,12 +29,19 @@ public:
|
||||
bool StepPlay(IEditorContext& context);
|
||||
|
||||
private:
|
||||
void ResetRuntimeInputBridge();
|
||||
void ApplyGameViewInputFrame(float deltaTime);
|
||||
|
||||
uint64_t m_playStartRequestedHandlerId = 0;
|
||||
uint64_t m_playStopRequestedHandlerId = 0;
|
||||
uint64_t m_playPauseRequestedHandlerId = 0;
|
||||
uint64_t m_playResumeRequestedHandlerId = 0;
|
||||
uint64_t m_playStepRequestedHandlerId = 0;
|
||||
uint64_t m_gameViewInputFrameHandlerId = 0;
|
||||
SceneSnapshot m_editorSnapshot = {};
|
||||
GameViewInputFrameEvent m_pendingGameViewInput = {};
|
||||
GameViewInputFrameEvent m_appliedGameViewInput = {};
|
||||
bool m_hasPendingGameViewInput = false;
|
||||
XCEngine::Components::RuntimeLoop m_runtimeLoop;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user