bScaleWorldFromFloor
bScaleWorldFromFloor
#Overview
name: bScaleWorldFromFloor
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/BaseEditorSettings.ini:57, section: [/Script/VREditor.VRModeSettings]
- INI Section:
/Script/VREditor.VRModeSettings
- Raw value:
False
- Is Array:
False
#References in C++ code
#Callsites
This variable is referenced in the following C++ source code:
#Loc: <Workspace>/Engine/Source/Editor/ViewportInteraction/Private/ViewportWorldInteraction.cpp:1827
Scope (from outer to inner):
file
function BEGIN_FUNCTION_BUILD_OPTIMIZATION void UViewportWorldInteraction::UpdateDragging
Source code excerpt:
bHasPivotLocation = true;
if ( DraggingMode == EViewportInteractionDraggingMode::World && GetDefault<UVISettings>()->bScaleWorldFromFloor)
{
PivotLocation.Z = 0.0f;
}
// @todo vreditor debug
if ( false )
#Loc: <Workspace>/Engine/Source/Editor/ViewportInteraction/Public/VISettings.h:25
Scope (from outer to inner):
file
class class UVISettings : public UObject
Source code excerpt:
/** Whether the world should scale relative to your tracking space floor instead of the center of your hand locations */
UPROPERTY(EditAnywhere, config, Category = "World Movement")
uint32 bScaleWorldFromFloor : 1;
/** Whether to compute a new center point for scaling relative from by looking at how far either controller moved relative to the last frame */
UPROPERTY(EditAnywhere, config, Category = "World Movement")
uint32 bScaleWorldWithDynamicPivot : 1;
/** When enabled, you can freely rotate and scale the world with two hands at the same time. Otherwise, we'll detect whether to rotate or scale depending on how much of either gesture you initially perform. */