UCurveLinearColorAtlas

Manages gradient LUT textures for registered actors and assigns them to the corresponding materials on the actor

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

Engine

Header

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

Include

#include "Curves/CurveLinearColorAtlas.h"

Syntax

class UCurveLinearColorAtlas : public UTexture2D

Remarks

Manages gradient LUT textures for registered actors and assigns them to the corresponding materials on the actor

Variables

Name Description

Public variable

uint32: 1

 

bDisableAllAdjustments

Disable all color adjustments to preserve negative values in curves.

Public variable

uint32: 1

 

bHasAnyDirtyTextures

Public variable

uint32: 1

 

bHasCachedColorAdjustments

Public variable

uint32: 1

 

bIsDirty

Public variable

uint32: 1

 

bShowDebugColorsForNullGradients

Public variable

uint32: 1

 

bSquareResolution

Set texture height equal to texture width.

Public variable

FCurveAtlasColo...

 

CachedColorAdjustments

Public variable

TArray< UCurveL...

 

GradientCurves

Protected variable

FVector2D

 

SizeXY

Public variable

TArray< FFloat1...

 

SrcData

Public variable

uint32

 

TextureHeight

Public variable

uint32

 

TextureSize

Constructors

Name Description

Public function

UCurveLinearColorAtlas

(
    const FObjectInitializer& ObjectIn...
)

Functions

Name Description

Protected function

void

 

CacheAndResetColorAdjustments()

Public function

bool

 

GetCurveIndex

(
    UCurveLinearColor* InCurve,
    int32& Index
)

Public function

bool

 

GetCurvePosition

(
    UCurveLinearColor* InCurve,
    float& Position
)

Public function

uint32

 

MaxSlotsPerTexture()

How many slots are available per texture.

Public function

void

 

OnCurveUpdated

(
    UCurveBase* Curve,
    EPropertyChangeType::Type ChangeTyp...
)

Immediately render a new material to the specified slot index(SlotIndex must be within this section's range)

Protected function

void

 

RestoreCachedColorAdjustments()

Public function

void

 

UpdateTextures()

Re-render all texture groups.

Overridden from UObject

Name Description

Public function Virtual Const

bool

 

CanEditChange

(
    const FProperty* InProperty
)

Called by the editor to query whether a property of this object is allowed to be modified.

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.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss