Navigation
Unreal Engine C++ API Reference > Runtime > Landscape > ULandscapeComponent
References
Module | Landscape |
Header | /Engine/Source/Runtime/Landscape/Classes/LandscapeComponent.h |
Include | #include "LandscapeComponent.h" |
Source | /Engine/Source/Runtime/Landscape/Private/LandscapeBlueprintSupport.cpp |
float EditorGetPaintLayerWeightAtLocation
&40;
const FVector & InLocation,
ULandscapeLayerInfoObject &42; PaintLayer
&41;
Remarks
Gets the landscape paint layer weight value at the given position using LandscapeLayerInfo . Returns 0 in case it fails.