ELandscapeLayerUpdateMode

Choose your operating system:

Windows

macOS

Linux

References

Module

Landscape

Header

/Engine/Source/Runtime/Landscape/Classes/LandscapeComponent.h

Include

#include "LandscapeComponent.h"

Syntax

enum ELandscapeLayerUpdateMode
{
    Update_None                             = 0,
    Update_Heightmap_All                    = 1 << 0,
    Update_Heightmap_Editing                = 1 << 1,
    Update_Heightmap_Editing_NoCollision    = 1 << 2,
    Update_Weightmap_All                    = 1 << 3,
    Update_Weightmap_Editing                = 1 << 4,
    Update_Weightmap_Editing_NoCollision    = 1 << 5,
    Update_All                              = Update_Weightmap_All | Update_Heightmap_All,
    Update_All_Editing                      = Update_Weightmap_Editing | Update_Heightmap_Editing,
    Update_All_Editing_NoCollision          = Update_Weightmap_Editing_NoCollision | Update_Heightmap_Editing_NoCollision,
    Update_Client_Deferred                  = 1 << 6,
    Update_Client_Editing                   = 1 << 7,
}

Values

Name

Description

Update_None

No Update.

Update_Heightmap_All

Update types.

Update_Heightmap_Editing

Update_Heightmap_Editing_NoCollision

Update_Weightmap_All

Update_Weightmap_Editing

Update_Weightmap_Editing_NoCollision

Update_All

Combinations.

Update_All_Editing

Update_All_Editing_NoCollision

Update_Client_Deferred

In cases where we couldn't update the clients right away this flag will be set in RegenerateLayersContent.

Update_Client_Editing

Update landscape component clients while editing.