FindLowKeyIndex

Utility function to find the key before the specified search value.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/AnimEncoding.h

Include

#include "AnimEncoding.h"

Syntax

template<typename TABLE_TYPE>
int32 FindLowKeyIndex
(
    const TABLE_TYPE * FrameTable,
    int32 NumKeys,
    int32 SearchFrame,
    int32 KeyEstimate
)

Remarks

Utility function to find the key before the specified search value.

Returns

The index of the first key immediately below the specified search frame.

Parameters

Parameter

Description

FrameTable

The frame table, containing on frame index value per key.

NumKeys

The total number of keys in the table.

SearchFrame

The Frame we are attempting to find.

KeyEstimate

An estimate of the best location to search from in the KeyTable.

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