Module |
|
Header |
/Engine/Source/Runtime/Landscape/Classes/LandscapeComponent.h |
Include |
#include "LandscapeComponent.h" |
Source |
/Engine/Source/Runtime/Landscape/Private/LandscapeBlueprintSupport.cpp |
float EditorGetPaintLayerWeightAtLocation
(
const FVector & InLocation,
ULandscapeLayerInfoObject * PaintLayer
)
Gets the landscape paint layer weight value at the given position using LandscapeLayerInfo . Returns 0 in case it fails.