FCurveModel::AddKeys

Add keys to this curve

Unreal Engine C++ API Reference > Editor > CurveEditor > FCurveModel

  • FCurveModel::AddKeys()

References

   
Module CurveEditor
Header /Engine/Source/Editor/CurveEditor/Public/CurveModel.h
Include #include "CurveModel.h"
void AddKeys
(
    [TArrayView](API\Runtime\Core\Containers\TArrayView)< const [FKeyPosition](API\Editor\CurveEditor\FKeyPosition) > InPositions,
    [TArrayView](API\Runtime\Core\Containers\TArrayView)< const [FKeyAttributes](API\Editor\CurveEditor\FKeyAttributes) > InAttributes,
    [TArrayView](API\Runtime\Core\Containers\TArrayView)< [TOptional](API\Runtime\Core\IO\TOptional)< [FKeyHandle](API\Runtime\Engine\Curves\FKeyHandle) >> * OutKeyHandles
)

Remarks

Add keys to this curve

Parameters

Name Description
InPositions Key positions for the new keys
InAttributes Key attributes for the new keys, one per key position
OutKeyHandles (Optional) Pointer to an array view of size InPositions.Num() that should be populated with newly added key handles

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library