Navigation
API > API/Runtime > API/Runtime/Landscape
Inheritance Hierarchy
- UObject
- ULandscapeEditLayerBase
- ULandscapeEditLayerPersistent
- ULandscapeEditLayer
- ULandscapeEditLayerSplines
- ULandscapeEditLayerProcedural
References
| Module | Landscape |
| Header | /Engine/Source/Runtime/Landscape/Classes/LandscapeEditLayer.h |
| Include | #include "LandscapeEditLayer.h" |
Syntax
UCLASS (MinimalAPI, Abstract)
class ULandscapeEditLayerBase : public UObject
Remarks
Base class for all landscape edit layers. By implementing the various virtual functions, we are able to customize the behavior of the edit layer wrt the landscape tools in a generic way (e.g. does it support sculpting tools? painting tools? can it be collapsed?, etc.)
Variables
| Type | Name | Description | |
|---|---|---|---|
| TWeakObjectPtr< ALandscape > | OwningLandscape | TODO: This might be removed once more things are moved from FLandscapeLayer to ULandscapeLayer. |
Functions
| Type | Name | Description | |
|---|---|---|---|
| TArray< FEditLayerAction > | GetActions () |
||
| FString | |||
| TArray< UE::Landscape::EditLayers::FEditLayerRendererState > | GetEditLayerRendererStates
(
const ULandscapeInfo* InLandscapeInfo, |
By default this does nothing in a landscape edit layer, but subclasses can override it if they would like to provide additional renderers. | |
| const FLandscapeLayer * | TODO [jonathan.bard] remove this dependency to FLandscapeLayer ASAP (once all data from there has moved to the ULandscapeEditLayer class) : | ||
| void | GetRenderDependencies
(
TSet< UObject* >& OutDependencies |
||
| bool | |||
| void | OnLayerCreated
(
FLandscapeLayer& Layer |
TODO [jonathan.bard] : Remove : temporary method to give the edit layer an opportunity to change some settings on the old struct (FLandscapeLayer) upon creation. | |
| void | Called by landscape after removing this layer from its list so that the layer can do any cleanup that it might need to do. | ||
| void | PostLoad () |
UObject. | |
| void | SetBackPointer
(
ALandscape* Landscape |
TODO: This might be removed once the guid is stored here and subclasses have a way to request landscape updates. | |
| bool | |||
| bool | |||
| bool | |||
| bool | |||
| bool | SupportsTargetType
(
ELandscapeToolTargetType InType |
Classes
| Type | Name | Description | |
|---|---|---|---|
| FEditLayerAction | Little wrapper class to let edit layers expose some actions generically : |