The SenseGlove Console Commands
The SenseGlove Unreal Engine Plugin offers a variety of utility console commands to enhance your development experience.
important
To ensure the SenseGlove console commands are registered and recognized by
Unreal Engine, set the default Game Instance class to SGGameInstance
or a
subclass of it. This can be done through:
Project Settings > Project > Maps & Modes > Game Instance > Game Instance Class
.
Failing to do so will result in the error: Command not recognized: SG_*
in
the logs. For more details, refer to
SGGameInstance
.
SGGameUserSettings Console Commands
caution
Before running any of the following console commands, ensure that the default
Game User Settings class is set to SGGameUserSettings
or a subclass of it.
This can be configured via:
Project Settings > Engine > General Settings > Default Classes > Advanced > Game User Settings Class
.
Failure to set this correctly will cause your simulation or editor to crash
upon calling any of the following console commands. For more information,
refer to
SGGameUserSettings
.
SG_GetEngineScalabilitySettings
This console command prints the current Engine Scalability Settings to the logs.
SG_SetEngineScalabilitySettings
This console command sets the Engine Scalability Settings for both the current game and the editor. It accepts a Scalability
parameter with the following valid values:
Low
Medium
High
Epic
Cinematic
Auto
note
The Auto
option is used for benchmarking purposes. It will adjust the engine
scalability settings to one of the other levels based on the benchmarking
results.