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

 

bHasAnyDirtyTextures

Public variable

uint32: 1

 

bIsDirty

Public variable

uint32: 1

 

bShowDebugColorsForNullGradients

Public variable

TArray< UCurveL...

 

GradientCurves

Public variable

uint32

 

GradientPixelSize

Protected variable

FVector2D

 

SizeXY

Public variable

TArray< FFloat1...

 

SrcData

Public variable

uint32

 

TextureSize

Constructors

Name Description

Public function

UCurveLinearColorAtlas

(
    const FObjectInitializer& ObjectIn...
)

Functions

Name Description

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

 

UpdateGradientSlot

(
    UCurveLinearColor* Gradient
)

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

Public function

void

 

UpdateTextures()

Re-render all texture groups.

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.

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