Navigation
API > API/Runtime > API/Runtime/Engine
Structure allowing external curve data to express extended attributes
| Name | FCurveAttributes |
| Type | struct |
| Header File | /Engine/Source/Runtime/Engine/Classes/Curves/RealCurve.h |
| Include Path | #include "Curves/RealCurve.h" |
Syntax
struct FCurveAttributes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FCurveAttributes() |
Curves/RealCurve.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bHasPostExtrapolation | uint8 | True if the curve can express post-extrapolation modes | Curves/RealCurve.h | |
| bHasPreExtrapolation | uint8 | True if the curve can express pre-extrapolation modes | Curves/RealCurve.h | |
| PostExtrapolation | ERichCurveExtrapolation | This curve's post-extrapolation mode. Only valid to read if bHasPostExtrapolation is true | Curves/RealCurve.h | |
| PreExtrapolation | ERichCurveExtrapolation | This curve's pre-extrapolation mode. Only valid to read if bHasPreExtrapolation is true | Curves/RealCurve.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
ERichCurveExtrapolation GetPostExtrapolation() |
Curves/RealCurve.h | ||
| Access the extended properties of this curve. | Curves/RealCurve.h | ||
bool HasPostExtrapolation() |
Curves/RealCurve.h | ||
bool HasPreExtrapolation() |
Check whether this curve has the specified properties | Curves/RealCurve.h | |
FCurveAttributes & SetPostExtrapolation
(
ERichCurveExtrapolation InPostExtrapolation |
Curves/RealCurve.h | ||
FCurveAttributes & SetPreExtrapolation
(
ERichCurveExtrapolation InPreExtrapolation |
Set the extended properties of this curve | Curves/RealCurve.h | |
void UnsetPostExtrapolation() |
Curves/RealCurve.h | ||
void UnsetPreExtrapolation() |
Reset the extended properties of this curve, implying it does not support such properties | Curves/RealCurve.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static FCurveAttributes MaskCommon
(
const FCurveAttributes& A, |
Generate a new set of attributes that contains only those attributes common to both A and B | Curves/RealCurve.h |