Navigation
API > API/Runtime > API/Runtime/Landscape
| Name | FLandscapeEditDataInterface |
| Type | struct |
| Header File | /Engine/Source/Runtime/Landscape/Public/LandscapeEdit.h |
| Include Path | #include "LandscapeEdit.h" |
Syntax
struct FLandscapeEditDataInterface : public FLandscapeTextureDataInterface
Inheritance Hierarchy
- FLandscapeTextureDataInterface → FLandscapeEditDataInterface
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FLandscapeEditDataInterface
(
ULandscapeInfo* InLandscape, |
This constructor will build an interface that works in the current edit layer (uses the ALandscape PrivateEditingLayer state) | LandscapeEdit.h | |
FLandscapeEditDataInterface
(
ULandscapeInfo* InLandscape, |
This constructor will build an interface that works in the specified edit layer : InEditLayerGUID | LandscapeEdit.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bUseSharedLandscapeEditLayer | bool | If true, we use the LandscapeActor->PrivateEditingLayer, otherwise we use the LocalEditLayerGUID specified below | LandscapeEdit.h | |
| ComponentNumSubsections | int32 | LandscapeEdit.h | ||
| ComponentSizeQuads | int32 | LandscapeEdit.h | ||
| DrawScale | FVector | LandscapeEdit.h | ||
| LandscapeInfo | ULandscapeInfo * | LandscapeEdit.h | ||
| LocalEditLayerGUID | FGuid | LandscapeEdit.h | ||
| SubsectionSizeQuads | int32 | LandscapeEdit.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool CanHaveLandscapeLayersContent() |
LandscapeEdit.h | ||
void DeleteLayer
(
ULandscapeLayerInfoObject* LayerInfo |
Delete a layer and re-normalize other layers. | LandscapeEdit.h | |
void FillEmptyLayers
(
ULandscapeLayerInfoObject* LayerInfo |
Fill all empty layers and re-normalize layers. | LandscapeEdit.h | |
void FillLayer
(
ULandscapeLayerInfoObject* LayerInfo |
Fill a layer and re-normalize other layers. | LandscapeEdit.h | |
bool GetComponentsInRegion
(
int32 X1, |
Misc. | LandscapeEdit.h | |
void GetDirtyData
(
const int32 X1, |
LandscapeEdit.h | ||
void GetDirtyData
(
const int32 X1, |
LandscapeEdit.h | ||
void GetDirtyDataTempl
(
const int32 X1, |
LandscapeEdit.h | ||
FGuid GetEditLayer() |
Returns the current layer this interface is working in | LandscapeEdit.h | |
void GetEditToolTextureData
(
const int32 X1, |
LandscapeEdit.h | ||
void GetHeightAlphaBlendData
(
int32& X1, |
LandscapeEdit.h | ||
void GetHeightAlphaBlendDataTempl
(
int32& X1, |
LandscapeEdit.h | ||
void GetHeightAlphaBlendDataTempl
(
int32& ValidX1, |
|||
void GetHeightData
(
int32& X1, |
Implementation for sparse array. | LandscapeEdit.h | |
void GetHeightData
(
int32& X1, |
Implementation for fixed array. | LandscapeEdit.h | |
void GetHeightDataFast
(
const int32 X1, |
LandscapeEdit.h | ||
void GetHeightDataFast
(
const int32 X1, |
LandscapeEdit.h | ||
void GetHeightDataInternal
(
int32& ValidX1, |
|||
void GetHeightDataTempl
(
int32& ValidX1, |
|||
void GetHeightDataTempl
(
int32& X1, |
Generic. | LandscapeEdit.h | |
void GetHeightDataTemplFast
(
const int32 X1, |
Without data interpolation, able to get normal data. | LandscapeEdit.h | |
void GetHeightFlagsData
(
int32& X1, |
LandscapeEdit.h | ||
void GetHeightFlagsDataTempl
(
int32& ValidX1, |
|||
void GetHeightFlagsDataTempl
(
int32& X1, |
LandscapeEdit.h | ||
uint16 GetHeightMapAlphaBlendData
(
const ULandscapeComponent* Component, |
Helper accessor. | LandscapeEdit.h | |
uint16 GetHeightMapData
(
const ULandscapeComponent* Component, |
Helper accessor. | LandscapeEdit.h | |
uint8 GetHeightMapFlagsData
(
const ULandscapeComponent* Component, |
Helper accessor. | LandscapeEdit.h | |
void GetLayerContributionData
(
const int32 X1, |
LandscapeEdit.h | ||
void GetLayerContributionData
(
const int32 X1, |
LandscapeEdit.h | ||
void GetLayerContributionDataTempl
(
const int32 X1, |
LandscapeEdit.h | ||
void GetSelectData
(
const int32 X1, |
LandscapeEdit.h | ||
void GetSelectData
(
const int32 X1, |
LandscapeEdit.h | ||
void GetSelectDataTempl
(
const int32 X1, |
Without data interpolation, Select Data. | LandscapeEdit.h | |
const ALandscape * GetTargetLandscape() |
LandscapeEdit.h | ||
void GetWeightData
(
ULandscapeLayerInfoObject* LayerInfo, |
Implementation for fixed array. | LandscapeEdit.h | |
void GetWeightData
(
ULandscapeLayerInfoObject* LayerInfo, |
Implementation for sparse array. | LandscapeEdit.h | |
void GetWeightDataFast
(
ULandscapeLayerInfoObject* LayerInfo, |
LandscapeEdit.h | ||
void GetWeightDataFast
(
ULandscapeLayerInfoObject* LayerInfo, |
Void GetWeightData(FName LayerName, int32& X1, int32& Y1, int32& X2, int32& Y2, TArray |
LandscapeEdit.h | |
void GetWeightDataFast
(
ULandscapeLayerInfoObject* LayerInfo, |
LandscapeEdit.h | ||
void GetWeightDataFast
(
ULandscapeLayerInfoObject* LayerInfo, |
Void GetWeightData(FName LayerName, int32& X1, int32& Y1, int32& X2, int32& Y2, TMap |
LandscapeEdit.h | |
void GetWeightDataTempl
(
ULandscapeLayerInfoObject* LayerInfo, |
LandscapeEdit.h | ||
void GetWeightDataTemplFast
(
ULandscapeLayerInfoObject* LayerInfo, |
Without data interpolation. | LandscapeEdit.h | |
uint8 GetWeightMapData
(
const ULandscapeComponent* Component, |
Weightmap accessHelper accessor | LandscapeEdit.h | |
void GetXYOffsetData
(
int32& X1, |
LandscapeEdit.h | ||
void GetXYOffsetData
(
int32& X1, |
LandscapeEdit.h | ||
void GetXYOffsetData
(
int32& X1, |
LandscapeEdit.h | ||
void GetXYOffsetData
(
int32& X1, |
LandscapeEdit.h | ||
void GetXYOffsetDataFast
(
const int32 X1, |
LandscapeEdit.h | ||
void GetXYOffsetDataFast
(
const int32 X1, |
LandscapeEdit.h | ||
void GetXYOffsetDataFast
(
const int32 X1, |
Without data interpolation, able to get normal data | LandscapeEdit.h | |
void GetXYOffsetDataFast
(
const int32 X1, |
LandscapeEdit.h | ||
FVector2D GetXYOffsetmapData
(
const ULandscapeComponent* Component, |
Helper accessor | LandscapeEdit.h | |
bool HasLandscapeLayersContent() |
LandscapeEdit.h | ||
void RecalculateNormals() |
LandscapeEdit.h | ||
void ReplaceLayer
(
ULandscapeLayerInfoObject* FromLayerInfo, |
Replace/merge a layer (across all edit layers and the main runtime layer) | LandscapeEdit.h | |
void SetAlphaData
(
ULandscapeLayerInfoObject* LayerInfo, |
LandscapeEdit.h | ||
void SetAlphaData
(
const TSet< ULandscapeLayerInfoObject* >& DirtyLayerInfos, |
Updates weightmaps for all layers. Data points to packed data for all layers in the landscape info. | LandscapeEdit.h | |
void SetAlphaData
(
ULandscapeLayerInfoObject* LayerInfo, |
Updates weightmap for LayerInfo. | LandscapeEdit.h | |
void SetDirtyData
(
const int32 X1, |
LandscapeEdit.h | ||
void SetEditLayer
(
const FGuid& InEditLayerGUID |
Switch the layer this interface works in | LandscapeEdit.h | |
void SetEditToolTextureData
(
int32 X1, |
LandscapeEdit.h | ||
void SetHeightData
(
int32 X1, |
Heightmap access | LandscapeEdit.h | |
void SetLayerContributionData
(
const int32 X1, |
LandscapeEdit.h | ||
void SetSelectData
(
const int32 X1, |
LandscapeEdit.h | ||
void SetXYOffsetData
(
int32 X1, |
LandscapeEdit.h | ||
void SetXYOffsetData
(
int32 X1, |
LandscapeEdit.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static void ShrinkData
(
TArray< T >& Data, |
LandscapeEdit.h |