USplineComponent::FindInputKeyClosestToWorldLocation

Given a location, in world space, return the input key closest to that location.

Choose your operating system:

Windows

macOS

Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Components/SplineComponent.h

Include

#include "Components/SplineComponent.h"

Source

/Engine/Source/Runtime/Engine/Private/Components/SplineComponent.cpp

Syntax

float FindInputKeyClosestToWorldLocation
(
    const FVector & WorldLocation
) const

Remarks

Given a location, in world space, return the input key closest to that location.