Navigation
API > API/Editor > API/Editor/CurveEditor > API/Editor/CurveEditor/FRichCurveEditorModel
Description
Gets the attributes set by the user. This specifically excludes auto-computed values. Use this version if you want the "true" state of the keys. You can pass the result of this to SetKeyAttributes. Useful e.g. for copy-pasting keys.
Typically, attributes reflect the settings that the user has manually configured for the keys, so certain attributes may remain unset. For instance, when TangentMode == RCTM_Auto, tangents and weights are automatically computed, meaning attributes like ArriveTangent are not explicitly set. Setting ArriveTangent would imply a user-defined value, which is incompatible with TangentMode == RCTM_Auto.
This function returns only user-set values.
Virtual Inheritance
- FCurveModel::GetKeyAttributesExcludingAutoComputed → FRichCurveEditorModel::GetKeyAttributesExcludingAutoComputed
| Name | GetKeyAttributesExcludingAutoComputed |
| Type | function |
| Header File | /Engine/Source/Editor/CurveEditor/Public/RichCurveEditorModel.h |
| Include Path | #include "RichCurveEditorModel.h" |
| Source | /Engine/Source/Editor/CurveEditor/Private/RichCurveEditorModel.cpp |
virtual void GetKeyAttributesExcludingAutoComputed
(
TArrayView < const FKeyHandle > InKeys,
TArrayView < FKeyAttributes > OutAttributes
) const
Parameters
| Name | Remarks |
|---|---|
| InKeys | Array of key handles to get attributes for |
| OutAttributes | Array to receive key attributes, one per index of InKeys |