Navigation
API > API/Runtime > API/Runtime/Engine
Manages gradient LUT textures for registered actors and assigns them to the corresponding materials on the actor
| Name | UCurveLinearColorAtlas |
| Type | class |
| Header File | /Engine/Source/Runtime/Engine/Classes/Curves/CurveLinearColorAtlas.h |
| Include Path | #include "Curves/CurveLinearColorAtlas.h" |
Syntax
UCLASS (MinimalAPI)
class UCurveLinearColorAtlas : public UTexture2D
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UStreamableRenderAsset → UTexture → UTexture2D → UCurveLinearColorAtlas
Implements Interfaces
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UCurveLinearColorAtlas
(
const FObjectInitializer& ObjectInitializer |
Curves/CurveLinearColorAtlas.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bDisableAllAdjustments | uint32 | Disable all color adjustments to preserve negative values in curves. | Curves/CurveLinearColorAtlas.h |
|
| bHasAnyDirtyTextures | uint32 | Curves/CurveLinearColorAtlas.h | ||
| bHasCachedColorAdjustments | uint32 | Curves/CurveLinearColorAtlas.h |
|
|
| bIsDirty | uint32 | Curves/CurveLinearColorAtlas.h | ||
| bShowDebugColorsForNullGradients | uint32 | Curves/CurveLinearColorAtlas.h | ||
| bSquareResolution | uint32 | Set texture height equal to texture width. | Curves/CurveLinearColorAtlas.h |
|
| CachedColorAdjustments | FCurveAtlasColorAdjustments | Curves/CurveLinearColorAtlas.h |
|
|
| GradientCurves | TArray< TObjectPtr< UCurveLinearColor > > | Curves/CurveLinearColorAtlas.h |
|
|
| SrcData | TArray< FFloat16Color > | Curves/CurveLinearColorAtlas.h | ||
| TextureHeight | uint32 | Curves/CurveLinearColorAtlas.h |
|
|
| TextureSize | uint32 | Curves/CurveLinearColorAtlas.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool GetCurveIndex
(
UCurveLinearColor* InCurve, |
Curves/CurveLinearColorAtlas.h | ||
bool GetCurvePosition
(
UCurveLinearColor* InCurve, |
Curves/CurveLinearColorAtlas.h |
|
|
uint32 MaxSlotsPerTexture() |
How many slots are available per texture. | Curves/CurveLinearColorAtlas.h | |
void OnCurveUpdated
(
UCurveBase* Curve, |
Immediately render a new material to the specified slot index(SlotIndex must be within this section's range) | Curves/CurveLinearColorAtlas.h | |
void UpdateTextures() |
Re-render all texture groups. | Curves/CurveLinearColorAtlas.h |
Overridden from UObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool CanEditChange
(
const FProperty* InProperty |
Curves/CurveLinearColorAtlas.h | ||
virtual void PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
Curves/CurveLinearColorAtlas.h | ||
virtual void PostLoad() |
Curves/CurveLinearColorAtlas.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void CacheAndResetColorAdjustments() |
Curves/CurveLinearColorAtlas.h | ||
void RestoreCachedColorAdjustments() |
Curves/CurveLinearColorAtlas.h |