UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
GeometryBase.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
5#include "CoreTypes.h" // required for GEOMETRYCORE_API macro
6#include "Logging/LogMacros.h"
7
8//
9// The following are convenience macros that can be used to predeclare types in the UE::Geometry::
10// namespace as one-liners.
11//
12
14#define PREDECLARE_GEOMETRY(TypeName) namespace UE { namespace Geometry { TypeName; }}
15
17#define PREDECLARE_USE_GEOMETRY_CLASS(ClassName) namespace UE { namespace Geometry { class ClassName; }} using UE::Geometry::ClassName;
18
20#define PREDECLARE_USE_GEOMETRY_STRUCT(StructName) namespace UE { namespace Geometry { struct StructName; }} using UE::Geometry::StructName;
21
22
23// The above macros will not work if no other header that defines the UE::Geometry:: namespace has been #included,
24// this declaraction resolves that problem.
25namespace UE
26{
27 namespace Geometry
28 {
30 {
31 int a;
32 };
33 }
34}
35
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
#define DECLARE_LOG_CATEGORY_EXTERN(CategoryName, DefaultVerbosity, CompileTimeVerbosity)
Definition LogMacros.h:361
Definition AdvancedWidgetsModule.cpp:13
int a
Definition GeometryBase.h:31