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