Navigation
API > API/Editor > API/Editor/CurveEditor
Extended attributes that the curve editor understands
| Name | FKeyAttributes |
| Type | struct |
| Header File | /Engine/Source/Editor/CurveEditor/Public/CurveDataAbstraction.h |
| Include Path | #include "CurveDataAbstraction.h" |
Syntax
USTRUCT ()
struct FKeyAttributes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FKeyAttributes() |
CurveDataAbstraction.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ArriveTangent | float | This key's entry tangent, if bHasArriveTangent | CurveDataAbstraction.h | |
| ArriveTangentWeight | float | This key's entry tangent weight, if bHasArriveTangentWeight | CurveDataAbstraction.h | |
| bHasArriveTangent | uint8 | True if this key supports entry tangents | CurveDataAbstraction.h | |
| bHasArriveTangentWeight | uint8 | True if this key supports entry tangents weights | CurveDataAbstraction.h | |
| bHasInterpMode | uint8 | True if this key supports interpolation modes | CurveDataAbstraction.h | |
| bHasLeaveTangent | uint8 | True if this key supports exit tangents | CurveDataAbstraction.h | |
| bHasLeaveTangentWeight | uint8 | True if this key supports exit tangents weights | CurveDataAbstraction.h | |
| bHasTangentMode | uint8 | True if this key supports tangent modes | CurveDataAbstraction.h | |
| bHasTangentWeightMode | uint8 | True if this key supports tangent modes | CurveDataAbstraction.h | |
| InterpMode | TEnumAsByte< ERichCurveInterpMode > | This key's interpolation mode, if bHasInterpMode | CurveDataAbstraction.h | |
| LeaveTangent | float | This key's exit tangent, if bHasLeaveTangent | CurveDataAbstraction.h | |
| LeaveTangentWeight | float | This key's exit tangent weight, if bHasLeaveTangentWeight | CurveDataAbstraction.h | |
| TangentMode | TEnumAsByte< ERichCurveTangentMode > | This key's tangent mode, if bHasTangentMode | CurveDataAbstraction.h | |
| TangentWeightMode | TEnumAsByte< ERichCurveTangentWeightMode > | This key's tangent weight mode, if bHasTangentWeightMode | CurveDataAbstraction.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
float GetArriveTangent() |
Retrieve specific attributes for this key. Must check such attributes exist. | CurveDataAbstraction.h | |
float GetArriveTangentWeight() |
CurveDataAbstraction.h | ||
ERichCurveInterpMode GetInterpMode() |
CurveDataAbstraction.h | ||
float GetLeaveTangent() |
CurveDataAbstraction.h | ||
float GetLeaveTangentWeight() |
CurveDataAbstraction.h | ||
ERichCurveTangentMode GetTangentMode() |
CurveDataAbstraction.h | ||
ERichCurveTangentWeightMode GetTangentWeightMode() |
CurveDataAbstraction.h | ||
bool HasArriveTangent() |
Check whether this key has the specified attributes | CurveDataAbstraction.h | |
bool HasArriveTangentWeight() |
CurveDataAbstraction.h | ||
bool HasInterpMode() |
CurveDataAbstraction.h | ||
bool HasLeaveTangent() |
CurveDataAbstraction.h | ||
bool HasLeaveTangentWeight() |
CurveDataAbstraction.h | ||
bool HasTangentMode() |
CurveDataAbstraction.h | ||
bool HasTangentWeightMode() |
CurveDataAbstraction.h | ||
FKeyAttributes & SetArriveTangent
(
float InArriveTangent |
Set the attributes for this key | CurveDataAbstraction.h | |
FKeyAttributes & SetArriveTangentWeight
(
float InArriveTangentWeight |
CurveDataAbstraction.h | ||
FKeyAttributes & SetInterpMode
(
ERichCurveInterpMode InInterpMode |
CurveDataAbstraction.h | ||
FKeyAttributes & SetLeaveTangent
(
float InLeaveTangent |
CurveDataAbstraction.h | ||
FKeyAttributes & SetLeaveTangentWeight
(
float InLeaveTangentWeight |
CurveDataAbstraction.h | ||
FKeyAttributes & SetTangentMode
(
ERichCurveTangentMode InTangentMode |
CurveDataAbstraction.h | ||
FKeyAttributes & SetTangentWeightMode
(
ERichCurveTangentWeightMode InTangentWeightMode |
CurveDataAbstraction.h | ||
void UnsetArriveTangent() |
Reset specific attributes of this key, implying such attributes are not supported | CurveDataAbstraction.h | |
void UnsetArriveTangentWeight() |
CurveDataAbstraction.h | ||
void UnsetInterpMode() |
CurveDataAbstraction.h | ||
void UnsetLeaveTangent() |
CurveDataAbstraction.h | ||
void UnsetLeaveTangentWeight() |
CurveDataAbstraction.h | ||
void UnsetTangentMode() |
CurveDataAbstraction.h | ||
void UnsetTangentWeightMode() |
CurveDataAbstraction.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static FKeyAttributes MaskCommon
(
const FKeyAttributes& A, |
Generate a new set of attributes that contains only those attributes common to both A and B | CurveDataAbstraction.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool operator!=
(
const FKeyAttributes& Other |
CurveDataAbstraction.h | ||
bool operator==
(
const FKeyAttributes& Other |
CurveDataAbstraction.h |