ULandscapeSplinesComponent::GetStreamingSplinesComponentByLocation

Returns a suitable [ULandscapeSplinesComponent](API\Runtime\Landscape\ULandscapeSplinesComponent) to place streaming meshes into, given a location falls back to "this" if it can't find another suitable, so never returns nullptr

Windows
MacOS
Linux

References

Module

Landscape

Header

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

Include

#include "LandscapeSplinesComponent.h"

Source

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

Syntax

ULandscapeSplinesComponent * GetStreamingSplinesComponentByLocation
(
    const FVector & LocalLocation,
    bool bCreate
)

Remarks

Returns a suitable ULandscapeSplinesComponent to place streaming meshes into, given a location falls back to "this" if it can't find another suitable, so never returns nullptr

Parameters

Parameter

Description

bCreate

whether to create a component if a suitable actor is found but it has no splines component yet

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