Engine
Cache
Cache single image
POST /api/engine/cache
Cache single image/texture
Request Body
{
"image": "C:\\Path\\To\\Image.jpg"
}
Response
None
Cache multiple images
POST /api/engine/cache
Cache multiple images/textures
Request Body
{
"images": [
"C:\\Path\\To\\Image1.jpg",
"C:\\Path\\To\\Image2.jpg",
]
}
Response
None
Clear Cache
GET /api/engine/cache/clear
Clears cache of texture subsystem
Console
Set values of Console(UE)
POST /api/engine/console/variables/set
Set values of Console (in UE) variables
Request Body
{
"r.AllowHDR": 0
}
Response
None
Get values of Console variables(UE)
POST /api/engine/console/variables/get
Get values of Console (in UE) variables
Request Body
{
"r.AllowHDR"
}
Response
{
"r.AllowHDR": 1
}
Execute Console Command
POST /api/engine/console/command
Execute Console command
Level
Get Map and Project
GET /api/engine/level
Get Map and project
Request Body
{
"path": "/Temp/Untitled_1",
"project": "/home/w/code/Studio-Next-5.1.0-release/UnrealPlugins/UnrealPlugins.uproject"
}
Load Level
POST /api/engine/level
Load level
Request Body
{
"path": "/Game/test/NewMap1"
}
Response
None
Render
Enable Rendering
GET /api/engine/render/show
Enable rendering (after if was disabled with /api/engine/render/hide
)
Disable Rendering
GET /api/engine/render/hide
Disable rendering
Get Snapshot of Viewport
GET api/engine/snapshot
Get snapshot of viewport