UInterpTrackAnimControl::GetClosestSnapPosition

Gets the position of the closest key with snapping incorporated.

Windows
MacOS
Linux

Override Hierarchy

References

Module

Engine

Header

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

Include

#include "Matinee/InterpTrackAnimControl.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.

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback