Elaztek Developer Hub
Blamite Game Engine - Keystone  00368.02.12.23.1347.blamite
A library that enables the use of Qt in Blamite's editing tools.
BlamKeystone::Engine Namespace Reference

Namespace containing functions for initializing and shutting down the game engine. More...

Functions

KEYSTONE int StartEngine ()
 Initializes the game engine and starts the main loop thread. More...
 
KEYSTONE void ShutdownEngine ()
 Shuts down the engine. More...
 
KEYSTONE BlamEngineViewportWidgetGetViewportWidget ()
 Retrieves the engine viewport widget. More...
 
KEYSTONE void SetEngineFocusState (bool focused)
 Sets whether or not the engine viewport is focused. More...
 
KEYSTONE bool GetEngineActiveState ()
 Checks whether or not the engine is currently running. More...
 

Detailed Description

Namespace containing functions for initializing and shutting down the game engine.

Function Documentation

◆ GetEngineActiveState()

bool BlamKeystone::Engine::GetEngineActiveState ( )

Checks whether or not the engine is currently running.

Returns
true if the engine is running, otherwise returns false.

◆ GetViewportWidget()

BlamEngineViewportWidget * BlamKeystone::Engine::GetViewportWidget ( )

Retrieves the engine viewport widget.

Returns
Pointer to the engine viewport widget.

◆ SetEngineFocusState()

void BlamKeystone::Engine::SetEngineFocusState ( bool  focused)

Sets whether or not the engine viewport is focused.

Parameters
focused- Whether or not the viewport is focused.

◆ ShutdownEngine()

void BlamKeystone::Engine::ShutdownEngine ( )

Shuts down the engine.

◆ StartEngine()

int BlamKeystone::Engine::StartEngine ( )

Initializes the game engine and starts the main loop thread.

Returns
The return code of the engine initialization. Returns 0 if the engine started without error, otherwise returns an error code.