How to add a class derived from ALandScape class

Look here emaer.

Houdini technology system base line (C): UE4 Landscape Component of the next multi-selection support (titanwolf.org)

They use stuff like SetHeightData search for it in their CPP.

Now on to :slight_smile: FLandscapeEditDataInterface::SetHeightData | Unreal Engine Documentation

As you can see it’s a function that is part of the landscape class

So they are using the landscape data inside their Cpp file.
You see they some how got access to the Landscape module but it links to landscapeedit.h
Maybe landscapedit is not minimal api ? just a thought.

Look what it says in the docs page.
Remarks
Heightmap access
Exactly what I need with my png file. :crossed_fingers:

I don’t understand this module, it has many classes, landscapeedit.h class is part of the main landscape.h class ?

It’s include is.
include “LandscapeEdit.h”

The docs page
FLandscapeEditDataInterface::SetHeightData | Unreal Engine Documentation

| — | — |
|Header|/Engine/Source/Runtime/Landscape/Public/LandscapeEdit.h|
|Include|#include “LandscapeEdit.h”|
|Source|/Engine/Source/Runtime/Landscape/Private/LandscapeEditInterface.cpp|

Syntax

void SetHeightData
(
int32 X1,
int32 Y1,
int32 X2,
int32 Y2,
const uint16 * InData,
int32 InStride,
bool InCalcNormals,
const uint16 * InNormalData,
const uint16 * InHeightAlphaBlendData,
const uint8 * InHeightRaiseLowerData,
bool InCreateComponents,
UTexture2D * InHeightmap,
UTexture2D * InXYOffsetmapTexture,
bool InUpdateBounds,
bool InUpdateCollision,
bool InGenerateMips
)

Remarks

Heightmap access