Navigation
API > API/Runtime > API/Runtime/Landscape > API/Runtime/Landscape/ULandscapeComponent
Description
Gets the landscape paint layer weight value at the given position using layer name. Returns 0 in case it fails.
| Name | EditorGetPaintLayerWeightByNameAtLocation |
| Type | function |
| Header File | /Engine/Source/Runtime/Landscape/Classes/LandscapeComponent.h |
| Include Path | #include "LandscapeComponent.h" |
| Source | /Engine/Source/Runtime/Landscape/Private/LandscapeBlueprintSupport.cpp |
UFUNCTION (BlueprintCallable, Category="Landscape|Editor")
float EditorGetPaintLayerWeightByNameAtLocation
(
const FVector & InLocation,
const FName InPaintLayerName
)