Pow2GridIntervals
Pow2GridIntervals
#Overview
name: Pow2GridIntervals
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:390, section: [/Script/UnrealEd.LevelEditorViewportSettings]
- INI Section:
/Script/UnrealEd.LevelEditorViewportSettings
- Raw value:
8
- 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:413
Scope (from outer to inner):
file
class class ULevelEditorViewportSettings : public UObject
Source code excerpt:
/** The number of lines between each major line interval for pow2 grids */
UPROPERTY(EditAnywhere, config, AdvancedDisplay, Category=GridSnapping)
TArray<float> Pow2GridIntervals;
/** User defined grid intervals for rotations */
UPROPERTY(EditAnywhere, config, AdvancedDisplay, Category=GridSnapping)
TArray<float> CommonRotGridSizes;
/** Preset grid intervals for rotations */
#Loc: <Workspace>/Engine/Source/Editor/UnrealEd/Private/EditorConstraints.cpp:70
Scope (from outer to inner):
file
function const TArray<float>& UEditorEngine::GetCurrentIntervalGridArray
Source code excerpt:
return (ViewportSettings->bUsePowerOf2SnapSize ?
ViewportSettings->Pow2GridIntervals :
ViewportSettings->DecimalGridIntervals);
}
FRotator UEditorEngine::GetRotGridSize()
{
const TArray<float> RotGridSizes = GetCurrentRotationGridArray();