![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include "HAL/Platform.h"Go to the source code of this file.
| #define ENABLE_VISUAL_LOG (PLATFORM_DESKTOP && !NO_LOGGING && UE_ENABLE_DEBUG_DRAWING) |
| #define NUM_ATMOSPHERE_LIGHTS 2 |
| #define NUM_INDIRECT_LIGHTING_SH_COEFFICIENTS 9 |
| #define SDPG_NumBits 3 |
bits needed to store DPG value
| #define UE_DOUBLE_HUGE_DISTANCE 562949953421312.0 /* Maximum distance representable by a double whilst maintaining precision of at least 0.0625 units (1/16th of a cm) - Precision issues may occur for positions/distances represented by double types that exceed this value */ |
| #define UE_ENABLE_DEBUG_DRAWING (!(UE_BUILD_SHIPPING || UE_BUILD_TEST) || WITH_EDITOR) |
| #define UE_FLOAT_HUGE_DISTANCE 1048576.0 /* Maximum distance representable by a float whilst maintaining precision of at least 0.0625 units (1/16th of a cm) - Precision issues may occur for positions/distances represented by float types that exceed this value */ |
| #define UE_LARGE_HALF_WORLD_MAX (UE_LARGE_WORLD_MAX * 0.5) /* LWC half maximum world size */ |
| #define UE_LARGE_HALF_WORLD_MAX1 (UE_LARGE_HALF_WORLD_MAX - 1) /* LWC half maximum world size minus one */ |
| #define UE_LARGE_WORLD_MAX 8796093022208.0 /* LWC maximum world size, Approx 87,960,930.2 km across, or 43,980,465.1 km from the origin */ |
| #define UE_OLD_HALF_WORLD_MAX (UE_OLD_WORLD_MAX * 0.5) /* UE4 half maximum world size */ |
| #define UE_OLD_HALF_WORLD_MAX1 (UE_OLD_HALF_WORLD_MAX - 1) /* UE4 half maximum world size minus one */ |
| #define UE_USE_UE4_WORLD_MAX 0 |
| #define WITH_STATE_STREAM_ACTOR 0 |
| #define WORLD_MAX (UE_LARGE_WORLD_MAX) |