You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
#preflight 6355d4940313c24974b2107b #rb none [CL 22783162 by henrik karlsson in ue5-main branch]
35 lines
1.1 KiB
C++
35 lines
1.1 KiB
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
/*=============================================================================
|
|
TextureLightProfile.cpp: Implementation of UTextureLightProfile.
|
|
=============================================================================*/
|
|
|
|
#include "Engine/TextureLightProfile.h"
|
|
#include "EngineLogs.h"
|
|
|
|
#include UE_INLINE_GENERATED_CPP_BY_NAME(TextureLightProfile)
|
|
|
|
|
|
/*-----------------------------------------------------------------------------
|
|
UTextureLightProfile
|
|
-----------------------------------------------------------------------------*/
|
|
UTextureLightProfile::UTextureLightProfile(const FObjectInitializer& ObjectInitializer)
|
|
: Super(ObjectInitializer)
|
|
{
|
|
NeverStream = true;
|
|
Brightness = -1;
|
|
}
|
|
|
|
#if WITH_EDITOR
|
|
void UTextureLightProfile::PostEditChangeProperty(FPropertyChangedEvent& PropertyChangedEvent)
|
|
{
|
|
if (VirtualTextureStreaming)
|
|
{
|
|
UE_LOG(LogTexture, Warning, TEXT("VirtualTextureStreaming not supported for IES textures"));
|
|
VirtualTextureStreaming = false;
|
|
}
|
|
Super::PostEditChangeProperty(PropertyChangedEvent);
|
|
}
|
|
#endif // WITH_EDITOR
|
|
|