ULandscapeComponent::EditorGetPaintLayerWeightAtLocation

Gets the landscape paint layer weight value at the given position using LandscapeLayerInfo .

Windows
MacOS
Linux

References

Module

Landscape

Header

/Engine/Source/Runtime/Landscape/Classes/LandscapeComponent.h

Include

#include "LandscapeComponent.h"

Source

/Engine/Source/Runtime/Landscape/Private/LandscapeBlueprintSupport.cpp

Syntax

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.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss