bLevelEditorJoystickControls
bLevelEditorJoystickControls
#Overview
name: bLevelEditorJoystickControls
The value of this variable can be defined or overridden in .ini config files. 1
.ini config file referencing this setting variable.
It is referenced in 2
C++ source files.
#Summary
#Setting Variables
#References In INI files
Location: <Workspace>/Engine/Config/BaseEditorPerProjectUserSettings.ini:354, section: [/Script/UnrealEd.LevelEditorViewportSettings]
- INI Section:
/Script/UnrealEd.LevelEditorViewportSettings
- Raw value:
True
- Is Array:
False
#References in C++ code
#Callsites
This variable is referenced in the following C++ source code:
#Loc: <Workspace>/Engine/Source/Editor/UnrealEd/Classes/Settings/LevelEditorViewportSettings.h:383
Scope (from outer to inner):
file
class class ULevelEditorViewportSettings : public UObject
Source code excerpt:
/** Enables joystick-based camera movement in 3D level editing viewports */
UPROPERTY(EditAnywhere, config, Category=Controls, meta=(DisplayName="Level Editor Joystick Controls" ) )
bool bLevelEditorJoystickControls;
/** If enabled, scale the perspective camera speed based on the distance between the camera and its look-at position */
UPROPERTY(EditAnywhere, config, Category = Controls, meta = (DisplayName = "Use distance-scaled camera speed"), AdvancedDisplay)
bool bUseDistanceScaledCameraSpeed;
/** If enabled, the camera will orbit around the current selection in the viewport */
#Loc: <Workspace>/Engine/Source/Editor/UnrealEd/Private/EditorViewportClient.cpp:1959
Scope (from outer to inner):
file
function void FEditorViewportClient::UpdateCameraMovement
Source code excerpt:
}
if( GetDefault<ULevelEditorViewportSettings>()->bLevelEditorJoystickControls )
{
//Now update for cached joystick info (relative movement first)
UpdateCameraMovementFromJoystick(true, CameraController->GetConfig());
//Now update for cached joystick info (absolute movement second)
UpdateCameraMovementFromJoystick(false, CameraController->GetConfig());