72 void Begin()
override;
75 void Update(
float deltaTime)
override;
83 bool bEnableFixedUpdate;
SceneBase(const std::string &name)
void SetFixedUpdateEnabled(bool enabled)
void Begin() override
Activates every owned object; runs once after Initialize().
void OnDeactivate() override
Override for logic that should run when the scene stops being active.
void FixedUpdate(float fixedDeltaTime) override
Advances all active, root-level objects on the fixed timestep.
void OnLoad() override
Override to load scene-specific assets; called once from Load().
bool IsFixedUpdateEnabled() const
Scene(const std::string &name)
void Update(float deltaTime) override
Advances all active, root-level objects by deltaTime, then steps lighting and physics.
void OnUnload() override
Override to release scene-specific assets; called from Unload().
~Scene() override=default
void OnActivate() override
Override for logic that should run when the scene becomes active.
bool Initialize() override
Runs once before the scene's first Begin()/Update().
void LateUpdate(float deltaTime) override
Advances all active, root-level objects after the main Update pass.
Root namespace for everything the engine exposes.