Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Curves
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UCurveBase
- UCurveLinearColor
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/Curves/CurveLinearColor.h |
| Include | #include "Curves/CurveLinearColor.h" |
Syntax
UCLASS (BlueprintType, CollapseCategories, HideCategories=(FilePath), MinimalAPI)
class UCurveLinearColor : public UCurveBase
Variables
| Type | Name | Description | |
|---|---|---|---|
| float | AdjustBrightness | ||
| float | AdjustBrightnessCurve | ||
| float | AdjustHue | Properties for adjusting the color of the gradient. | |
| float | AdjustMaxAlpha | ||
| float | AdjustMinAlpha | ||
| float | AdjustSaturation | ||
| float | AdjustVibrance | ||
| FRichCurve[4] | FloatCurves | Keyframe data, one curve for red, green, blue, and alpha | |
| FOnUpdateGradient | OnUpdateGradient |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UCurveLinearColor
(
const FObjectInitializer& ObjectInitializer |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | DrawThumbnail
(
FCanvas* Canvas, |
||
| FLinearColor | GetUnadjustedLinearColorValue
(
float InTime |
||
| void | PushToSourceData
(
TArray< FFloat16Color >& SrcData, |
||
| void | PushUnadjustedToSourceData
(
TArray< FFloat16Color >& SrcData, |
Overridden from UObject
| Type | Name | Description | |
|---|---|---|---|
| void | PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
Called when a property on this object has been modified externally | |
| void | PostLoad () |
Do any object-specific cleanup required immediately after loading an object. | |
| void | Handles reading, writing, and reference collecting using FArchive. |
Overridden from FCurveOwnerInterface
| Type | Name | Description | |
|---|---|---|---|
| FLinearColor | GetClampedLinearColorValue
(
float InTime |
Evaluate this color curve at the specified time | |
| TArray< FRichCurveEditInfoConst > | GetCurves () |
Returns set of curves to edit. Must not release the curves while being edited. | |
| TArray< FRichCurveEditInfo > | GetCurves () |
Returns set of curves to query. Must not release the curves while being edited. | |
| FLinearColor | GetLinearColorValue
(
float InTime |
Evaluate this color curve at the specified time | |
| bool | |||
| bool | Whether the curve represents a linear color | ||
| bool | IsValidCurve
(
FRichCurveEditInfo CurveInfo |
Validates that a previously retrieved curve is still valid for editing. | |
| void | OnCurveChanged
(
const TArray< FRichCurveEditInfo >& ChangedCurveEditInfos |
Called when any of the curves have been changed |
Operators
| Type | Name | Description | |
|---|---|---|---|
| bool | operator==
(
const UCurveLinearColor& Curve |
Determine if Curve is the same |