FKeyHandleLookupTable

Lookup table that maps key handles to indices in an external data structure Maintains a map of key handle to last known index, and an array of optional key handles that's used to validate map entries.

Windows
MacOS
Linux

Inheritance Hierarchy

FKeyHandleLookupTable

FMovieSceneKeyHandleMap

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Curves/KeyHandle.h

Include

#include "Curves/KeyHandle.h"

Syntax

struct FKeyHandleLookupTable

Remarks

Lookup table that maps key handles to indices in an external data structure Maintains a map of key handle to last known index, and an array of optional key handles that's used to validate map entries.

Functions

Name Description

Public function

FKeyHandle

 

AllocateHandle

(
    int32 Index
)

Allocate a new handle for the specified index

Public function

void

 

DeallocateHandle

(
    int32 Index
)

Deallocate the specified index

Public function

FKeyHandle

 

FindOrAddKeyHandle

(
    int32 Index
)

Attempt to find the handle for the specified index, or allocate a new one if it doesn't have one

Public function

int32

 

GetIndex

(
    FKeyHandle KeyHandle
)

Get the index that corresponds to the specified key handle

Public function

void

 

MoveHandle

(
    int32 OldIndex,
    int32 NewIndex
)

Move the specified handle from its previous index, to its new index

Public function

void

 

Reset()

Reset this lookup table, forgetting all key handles and indices

Public function

bool

 

Serialize

(
    FArchive& Ar
)

ICPPStructOps implementation

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