You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
fixes zoom getting very slow as it gets larger #rb alexander.suvorov #preflight 636968d6d0174259ccea87f5 [CL 23062635 by charles bloom in ue5-main branch]
19 lines
569 B
C
19 lines
569 B
C
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#pragma once
|
|
|
|
#include "CoreMinimal.h"
|
|
|
|
// MaxZoom and MinZoom should both be powers of two
|
|
const double MaxZoom = 16.0;
|
|
const double MinZoom = 1.0/64;
|
|
// ZoomFactor is multiplicative such that an integer number of steps will give a power of two zoom (50% or 200%)
|
|
const int ZoomFactorLogSteps = 8;
|
|
const double ZoomFactor = pow(2.0,1.0/ZoomFactorLogSteps);
|
|
|
|
// Specifies the maximum allowed exposure bias.
|
|
const int32 MaxExposure = 10;
|
|
|
|
// Specifies the minimum allowed exposure bias.
|
|
const int32 MinExposure = -10;
|