Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Curves
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Classes/Curves/KeyHandle.h |
Include | #include "Curves/KeyHandle.h" |
Syntax
struct FKeyHandleMap
Remarks
Represents a mapping of key handles to key index that may be serialized
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
|||
![]() |
FKeyHandleMap
(
const FKeyHandleMap& Other |
This struct is not copyable. This must be public or because derived classes are allowed to be copied. |
Functions
Type | Name | Description | |
---|---|---|---|
![]() |
void | Add
(
const FKeyHandle& InHandle, |
TMap functionality |
![]() ![]() |
TArray< FKeyHandle >::TConstIterator | ||
![]() |
void | Empty
(
int32 ExpectedNumElements |
|
![]() |
void | EnsureAllIndicesHaveHandles
(
int32 NumIndices |
Ensures that all indices have a valid handle and that there are no handles left to invalid indices. |
![]() |
void | EnsureIndexHasAHandle
(
int32 KeyIndex |
Ensures a handle exists for the specified Index. |
![]() ![]() |
const int32 * | Find
(
const FKeyHandle& InHandle |
|
![]() ![]() |
const FKeyHandle * | FindKey
(
int32 KeyIndex |
|
![]() ![]() |
const TMap< FKeyHandle, int32 > & | GetMap () |
|
![]() |
void | Initialize
(
TArrayView< const FKeyHandle > InKeyHandles |
Quickly initializes this map by clearing it and filling with KeyHandles in O(n) time, instead of O(n^2) if Add() was used in a loop. |
![]() ![]() |
int32 | Num () |
|
![]() |
void | Remove
(
const FKeyHandle& InHandle |
|
![]() |
void | Reserve
(
int32 NumElements |
|
![]() |
bool | ICPPStructOps implementation | |
![]() |
void | SetKeyHandles
(
int32 Num |
Operators
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
bool | operator!=
(
const FKeyHandleMap& Other |
|
![]() |
void | operator=
(
const FKeyHandleMap& Other |
|
![]() ![]() |
bool | operator==
(
const FKeyHandleMap& Other |