UZoneGraphSubsystem::FindNearestLocationOnLane

Find nearest location on a specific lane.

Choose your operating system:

Windows

macOS

Linux

References

Module

ZoneGraph

Header

/Engine/Plugins/Runtime/ZoneGraph/Source/ZoneGraph/Public/ZoneGraphSubsystem.h

Include

#include "ZoneGraphSubsystem.h"

Source

/Engine/Plugins/Runtime/ZoneGraph/Source/ZoneGraph/Private/ZoneGraphSubsystem.cpp

Syntax

bool FindNearestLocationOnLane
(
    const FZoneGraphLaneHandle LaneHandle,
    const FVector & Center,
    const float Range,
    FZoneGraphLaneLocation & OutLaneLocation,
    float & OutDistanceSqr
) const

Remarks

Find nearest location on a specific lane.