UInterpTrackVisibility::GetClosestSnapPosition

Gets the position of the closest key with snapping incorporated.

Windows
MacOS
Linux

Override Hierarchy

UInterpTrack::GetClosestSnapPosition()

UInterpTrackVisibility::GetClosestSnapPosition()

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Matinee/InterpTrackVisibility.h

Include

#include "Matinee/InterpTrackVisibility.h"

Source

/Engine/Source/Runtime/Engine/Private/Interpolation.cpp

Syntax

virtual bool GetClosestSnapPosition
(
    float InPosition,
    TArray< int32 > & IgnoreKeys,
    float & OutPosition
)

Remarks

Gets the position of the closest key with snapping incorporated.

Returns

true if a keyframe was found; false if no keyframe was found.

Parameters

Parameter

Description

InPosition

The current position in the timeline.

IgnoreKeys

The set of keys to ignore when searching for the closest key.

OutPosition

The position of the closest key with respect to snapping and ignoring the given set of keys.

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