![]() |
Blamite Game Engine - blam!
00453.06.08.26.0624.blamite
The core library for the Blamite Game Engine.
|
Namespace for version 1 of the Blamite Game Engine API. More...
Namespaces | |
| Console | |
| Namespace containing functions for interacting with console commands. | |
| Globals | |
| Namespace containing functions for interacting with engine globals. | |
| Hooking | |
| Namespace containing functions for external engine hooking. | |
| HS | |
| Namespace containing functions available via the standard scripting engine. | |
| Input | |
| Logger | |
| Namespace containing functions used for diagnostic logging. | |
| Project | |
| Scripts | |
| Tags | |
| Namespace containing functions used for interacting with tags and tag classes. | |
| World | |
Functions | |
| BLAM_EXT_API void | ExecuteConsoleCommand (const char *command) |
| Runs a command through the engine's console. More... | |
| BLAM_EXT_API void | ResizeViewport (int width, int height) |
| Resizes the engine's viewport resolution. More... | |
| BLAM_EXT_API BlamVector3 | GetDirectorPosition () |
| Retrieves the current position of the debug director. More... | |
| BLAM_EXT_API BlamVector3 | GetDirectorRotation () |
| Retrieves the current rotation of the debug director. More... | |
| BLAM_EXT_API float | GetDirectorSpeed () |
| Retrieves the current speed of the debug director. More... | |
| BLAM_EXT_API void | SetDirectorPosition (BlamVector3 position) |
| Sets the current position of the debug director. More... | |
| BLAM_EXT_API void | SetDirectorRotation (BlamVector3 rotation) |
| Sets the current rotation of the debug director. More... | |
| BLAM_EXT_API void | SetDirectorSpeed (float speed) |
| Sets the current speed of the debug director. More... | |
| BLAM_EXT_API BlamVector2 | GetMousePosition2D () |
| Retrieves the 2D position of the mouse pointer. More... | |
| BLAM_EXT_API BlamVector3 | GetMousePosition3D () |
| Retrieves the 3D position of the mouse pointer. More... | |
| BLAM_EXT_API void | SetEngineViewportActive (bool viewport_active) |
| API wrapper around ImGui_ImplSDL2_SetActiveWindowOverride. More... | |
| BLAM_EXT_API bool | IsMouseCapturedByDirector () |
| Checks if the mouse is currently captured by the debug director. More... | |
| BLAM_EXT_API BlamVector2 | GetGameResolution () |
| Retrieves the current render resolution for the engine. More... | |
Namespace for version 1 of the Blamite Game Engine API.
| void Blam::API::v1::ExecuteConsoleCommand | ( | const char * | command | ) |
Runs a command through the engine's console.
| command | - The command line input to execute. |
Here is the call graph for this function:| BlamVector3 Blam::API::v1::GetDirectorPosition | ( | ) |
Retrieves the current position of the debug director.
Here is the call graph for this function:| BlamVector3 Blam::API::v1::GetDirectorRotation | ( | ) |
Retrieves the current rotation of the debug director.
Here is the call graph for this function:| float Blam::API::v1::GetDirectorSpeed | ( | ) |
Retrieves the current speed of the debug director.
Here is the call graph for this function:| BlamVector2 Blam::API::v1::GetGameResolution | ( | ) |
Retrieves the current render resolution for the engine.
Here is the call graph for this function:| BlamVector2 Blam::API::v1::GetMousePosition2D | ( | ) |
Retrieves the 2D position of the mouse pointer.
Here is the call graph for this function:| BlamVector3 Blam::API::v1::GetMousePosition3D | ( | ) |
Retrieves the 3D position of the mouse pointer.
Here is the call graph for this function:| bool Blam::API::v1::IsMouseCapturedByDirector | ( | ) |
Checks if the mouse is currently captured by the debug director.
true if the mouse is captured, otherwise returns false.
Here is the call graph for this function:| void Blam::API::v1::ResizeViewport | ( | int | width, |
| int | height | ||
| ) |
Resizes the engine's viewport resolution.
| width | - The width of the viewport. |
| height | - The height of the viewport. |
Here is the call graph for this function:| void Blam::API::v1::SetDirectorPosition | ( | BlamVector3 | position | ) |
Sets the current position of the debug director.
| position | - The desired 3D position of the debug director. |
Here is the call graph for this function:| void Blam::API::v1::SetDirectorRotation | ( | BlamVector3 | rotation | ) |
Sets the current rotation of the debug director.
| rotation | - The desired 3D rotation of the debug director. |
Here is the call graph for this function:| void Blam::API::v1::SetDirectorSpeed | ( | float | speed | ) |
Sets the current speed of the debug director.
| speed | - The desired speed multiplier of the debug director. |
Here is the call graph for this function:| void Blam::API::v1::SetEngineViewportActive | ( | bool | viewport_active | ) |
API wrapper around ImGui_ImplSDL2_SetActiveWindowOverride.
Used to set the focused state of the engine viewport for capturing input. See the function listed above for details.
| viewport_active | - Whether or not the engine viewport is active. |
Here is the call graph for this function: