UCurveLinearColor

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Curves/CurveLinearColor.h

Include

#include "Curves/CurveLinearColor.h"

Syntax

class UCurveLinearColor : public UCurveBase

Variables

Name Description

Public variable

float

 

AdjustBrightness

Public variable

float

 

AdjustBrightnessCurve

Public variable

float

 

AdjustHue

Properties for adjusting the color of the gradient.

Public variable

float

 

AdjustMaxAlpha

Public variable

float

 

AdjustMinAlpha

Public variable

float

 

AdjustSaturation

Public variable

float

 

AdjustVibrance

Public variable

FRichCurve [4]

 

FloatCurves

Keyframe data, one curve for red, green, blue, and alpha

Constructors

Name Description

Public function

UCurveLinearColor

(
    const FObjectInitializer & ObjectIn...
)

Functions

Name Description

Public function

void

 

DrawThumbnail

(
    FCanvas * Canvas,
    FVector2D StartXY,
    FVector2D SizeXY
)

Public function Const

FLinearColor

 

GetUnadjustedLinearColorValue

(
    float InTime
)

Public function

void

 

PushToSourceData

(
    TArray < FFloat16Color >& SrcData,
    int32 StartXY,
    FVector2D SizeXY
)

Protected function

void

 

WritePixel

(
    uint8 * Pixel,
    const FLinearColor & Color
)

Overridden from UObject

Name Description

Public function Virtual

void

 

PostEditChangeProperty

(
    FPropertyChangedEvent & PropertyCha...
)

Called when a property on this object has been modified externally

Public function Virtual

void

 

PostLoad()

Do any object-specific cleanup required immediately after loading an object.

Public function Virtual

void

 

Serialize

(
    FArchive & Ar
)

Handles reading, writing, and reference collecting using FArchive .

Overridden from FCurveOwnerInterface

Name Description

Public function Virtual Const

FLinearColor

 

GetClampedLinearColorValue

(
    float InTime
)

Evaluate this color curve at the specified time

Public function Virtual Const

TArray < FRic ...

 

GetCurves()

Returns set of curves to edit. Must not release the curves while being edited.

Public function Virtual

TArray < FRic ...

 

GetCurves()

Returns set of curves to query. Must not release the curves while being edited.

Public function Virtual Const

FLinearColor

 

GetLinearColorValue

(
    float InTime
)

Evaluate this color curve at the specified time

Public function Virtual Const

bool

 

HasAnyAlphaKeys()

Public function Virtual Const

bool

 

IsLinearColorCurve()

Whether the curve represents a linear color

Public function Virtual

bool

 

IsValidCurve

(
    FRichCurveEditInfo CurveInfo
)

Validates that a previously retrieved curve is still valid for editing.

Public function Virtual

void

 

OnCurveChanged

(
    const TArray < FRichCurveEditInfo > ...
)

Called when any of the curves have been changed

Operators

Name Description

Public function Const

bool

 

operator==

(
    const UCurveLinearColor & Curve
)

Determine if Curve is the same

Deprecated Variables

Name Description

Public variable

FOnUpdateGradie ...

 

OnUpdateGradient

OnUpdateGradient is deprecated. Please use [UCurveBase::OnUpdateCurve](API\Runtime\Engine\Curves\UCurveBase\OnUpdateCurve) instead

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback