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.

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