Navigation
API > API/Runtime > API/Runtime/Landscape
| Name | ULandscapeSettings |
| Type | class |
| Header File | /Engine/Source/Runtime/Landscape/Public/LandscapeSettings.h |
| Include Path | #include "LandscapeSettings.h" |
Syntax
UCLASS (Config=Engine, defaultconfig, Meta=(DisplayName="Landscape"), MinimalAPI)
class ULandscapeSettings : public UDeveloperSettings
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UDeveloperSettings → ULandscapeSettings
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bDisablePaintingStartupSlowdown | bool | LandscapeSettings.h |
|
|
| bShowDialogForAutomaticLayerCreation | When automatic edit layer creation pops up a dialog where the new layer can be reordered relative to other layers bool | LandscapeSettings.h |
|
|
| LandscapeDirtyingMode | ELandscapeDirtyingMode | Defines when the engine requires the landscape actors to be resaved | LandscapeSettings.h |
|
| MaxComponents | int32 | LandscapeSettings.h |
|
|
| MaxImageImportCacheSizeMegaBytes | uint32 | LandscapeSettings.h |
|
|
| MaxNumberOfLayers | int32 | LandscapeSettings.h |
|
|
| PaintStrengthGamma | float | LandscapeSettings.h |
|
|
| true | When | LandscapeSettings.h |
|
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| DisplayTargetLayerThumbnailsBeforeUndo | TOptional< bool > | LandscapeSettings.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool AreBlueprintToolsAllowed() |
Returns true if blueprint landscape tools usage is allowed | LandscapeSettings.h | |
float GetBrushSizeClampMax() |
LandscapeSettings.h | ||
float GetBrushSizeUIMax() |
LandscapeSettings.h | ||
TSoftObjectPtr< UMaterialInterface > GetDefaultLandscapeMaterial() |
Returns the default landscape material that should be used when creating a new landscape. | LandscapeSettings.h | |
TSoftObjectPtr< ULandscapeLayerInfoObject > GetDefaultLayerInfoObject() |
Returns the default landscape layer info object that will be assigned to unset layers when creating a new landscape. | LandscapeSettings.h | |
int32 GetHLODMaxTextureSize() |
LandscapeSettings.h | ||
bool GetShouldUpdateEditLayersDuringInteractiveChanges() |
LandscapeSettings.h | ||
int32 GetSideResolutionLimit() |
LandscapeSettings.h | ||
float GetSplineIconScale() |
LandscapeSettings.h | ||
float GetSplineIconWorldZOffset() |
LandscapeSettings.h | ||
ELandscapeTargetLayerBlendMethod GetTargetLayerDefaultBlendMethod() |
LandscapeSettings.h | ||
int32 GetTotalResolutionLimit() |
Returns the current landscape resolution limit. | LandscapeSettings.h | |
bool InRestrictiveMode() |
LandscapeSettings.h | ||
bool IsLandscapeResolutionRestricted() |
Returns true if landscape resolution should be constrained. | LandscapeSettings.h | |
virtual void PostEditUndo() |
LandscapeSettings.h | ||
virtual void PreEditUndo() |
LandscapeSettings.h | ||
void SetRestrictiveMode
(
bool bEnabled |
LandscapeSettings.h | ||
bool ShouldDisableTemporalAntiAliasingInLandscapeMode() |
LandscapeSettings.h | ||
bool ShouldDisplayTargetLayerThumbnails() |
LandscapeSettings.h |
Overridden from UDeveloperSettings
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
LandscapeSettings.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
When each target layer will have a representative thumbnail in landscape mode the thumbnail system can be slow certain landscape materials
(
e.g. using RVT |
LandscapeSettings.h |