FCurveModel::GetKeys

Retrieve all keys that lie in the specified time and value range

Choose your operating system:

Windows

macOS

Linux

Override Hierarchy

References

Module

CurveEditor

Header

/Engine/Source/Editor/CurveEditor/Public/CurveModel.h

Include

#include "CurveModel.h"

Syntax

void GetKeys
(
    const FCurveEditor & CurveEditor,
    double MinTime,
    double MaxTime,
    double MinValue,
    double MaxValue,
    TArray< FKeyHandle > & OutKeyHandles
) const

Remarks

Retrieve all keys that lie in the specified time and value range

Parameters

Parameter

Description

CurveEditor

Reference to the curve editor that is retrieving keys.

MinTime

Minimum key time to return in seconds

MaxTime

Maximum key time to return in seconds

MinValue

Minimum key value to return

MaxValue

Maximum key value to return

OutKeyHandles

Array to populate with key handles that reside within the specified ranges