Files
UnrealEngineUWP/Engine/Source/Editor/TextureEditor/Private/TextureEditorClasses.cpp
alexander suvorov 19009f9807 Implement support for nearest-point texture sampling in the Texture Editor.
#rb charles.bloom
#preflight 6372ae329e3bea80790a2b3f

[CL 23126329 by alexander suvorov in ue5-main branch]
2022-11-14 16:26:21 -05:00

23 lines
665 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#include "Math/Color.h"
#include "TextureEditorSettings.h"
#include "UObject/Object.h"
class FObjectInitializer;
UTextureEditorSettings::UTextureEditorSettings( const FObjectInitializer& ObjectInitializer )
: Super(ObjectInitializer)
, Background(TextureEditorBackground_Checkered)
, Sampling(TextureEditorSampling_Default)
, BackgroundColor(FColor::FromHex("242424FF"))
, CheckerColorOne(FColor(128, 128, 128))
, CheckerColorTwo(FColor(64, 64, 64))
, CheckerSize(16)
, FitToViewport(true)
, ZoomMode(ETextureEditorZoomMode::Fit)
, TextureBorderColor(FColor::White)
, TextureBorderEnabled(true)
{ }