Navigation
API > API/Runtime > API/Runtime/Landscape > API/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 |
UFUNCTION (BlueprintCallable, Category="Landscape|Editor")
float EditorGetPaintLayerWeightAtLocation
(
const FVector & InLocation,
ULandscapeLayerInfoObject * PaintLayer
)
Remarks
Gets the landscape paint layer weight value at the given position using LandscapeLayerInfo . Returns 0 in case it fails.