UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
PrimitiveDrawingUtils.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
5#include "Containers/Array.h"
6#include "PrimitiveDrawInterface.h" // IWYU pragma: keep
7
10
12
13//
14// Primitive drawing utility functions.
15//
16
17// Solid shape drawing utility functions. Not really designed for speed - more for debugging.
18
19// 10x10 tessellated plane at x=-1..1 y=-1...1 z=0
20extern ENGINE_API void DrawPlane10x10(class FPrimitiveDrawInterface* PDI,const FMatrix& ObjectToWorld,float Radii,FVector2D UVMin, FVector2D UVMax,const FMaterialRenderProxy* MaterialRenderProxy,uint8 DepthPriority);
21
22// draw simple triangle with material
23extern ENGINE_API void DrawTriangle(class FPrimitiveDrawInterface* PDI, const FVector& A, const FVector& B, const FVector& C, const FMaterialRenderProxy* MaterialRenderProxy, uint8 DepthPriorityGroup);
24extern ENGINE_API void DrawBox(class FPrimitiveDrawInterface* PDI,const FMatrix& BoxToWorld,const FVector& Radii,const FMaterialRenderProxy* MaterialRenderProxy,uint8 DepthPriority);
25extern ENGINE_API void DrawSphere(class FPrimitiveDrawInterface* PDI,const FVector& Center,const FRotator& Orientation,const FVector& Radii,int32 NumSides,int32 NumRings,const FMaterialRenderProxy* MaterialRenderProxy,uint8 DepthPriority,bool bDisableBackfaceCulling=false);
26extern ENGINE_API void DrawCone(class FPrimitiveDrawInterface* PDI,const FMatrix& ConeToWorld, float Angle1, float Angle2, uint32 NumSides, bool bDrawSideLines, const FLinearColor& SideLineColor, const FMaterialRenderProxy* MaterialRenderProxy, uint8 DepthPriority);
27
28extern ENGINE_API void DrawCylinder(class FPrimitiveDrawInterface* PDI,const FVector& Base, const FVector& XAxis, const FVector& YAxis, const FVector& ZAxis,
29 double Radius, double HalfHeight, uint32 Sides, const FMaterialRenderProxy* MaterialInstance, uint8 DepthPriority);
30
31extern ENGINE_API void DrawCylinder(class FPrimitiveDrawInterface* PDI, const FMatrix& CylToWorld, const FVector& Base, const FVector& XAxis, const FVector& YAxis, const FVector& ZAxis,
32 double Radius, double HalfHeight, uint32 Sides, const FMaterialRenderProxy* MaterialInstance, uint8 DepthPriority);
33
34//Draws a cylinder along the axis from Start to End
35extern ENGINE_API void DrawCylinder(class FPrimitiveDrawInterface* PDI, const FVector& Start, const FVector& End, double Radius, int32 Sides, const FMaterialRenderProxy* MaterialInstance, uint8 DepthPriority);
36
37
38extern ENGINE_API void GetBoxMesh(const FMatrix& BoxToWorld, const FVector& Radii, const FMaterialRenderProxy* MaterialRenderProxy, uint8 DepthPriority, int32 ViewIndex, FMeshElementCollector& Collector, HHitProxy* HitProxy = nullptr);
39extern ENGINE_API void GetOrientedHalfSphereMesh(const FVector& Center, const FRotator& Orientation, const FVector& Radii, int32 NumSides, int32 NumRings, float StartAngle, float EndAngle, const FMaterialRenderProxy* MaterialRenderProxy, uint8 DepthPriority, bool bDisableBackfaceCulling,
40 int32 ViewIndex, FMeshElementCollector& Collector, bool bUseSelectionOutline = false, HHitProxy* HitProxy = nullptr);
41extern ENGINE_API void GetHalfSphereMesh(const FVector& Center, const FVector& Radii, int32 NumSides, int32 NumRings, float StartAngle, float EndAngle, const FMaterialRenderProxy* MaterialRenderProxy, uint8 DepthPriority, bool bDisableBackfaceCulling,
42 int32 ViewIndex, FMeshElementCollector& Collector, bool bUseSelectionOutline = false, HHitProxy* HitProxy = nullptr);
43extern ENGINE_API void GetSphereMesh(const FVector& Center, const FVector& Radii, int32 NumSides, int32 NumRings, const FMaterialRenderProxy* MaterialRenderProxy, uint8 DepthPriority,
44 bool bDisableBackfaceCulling, int32 ViewIndex, FMeshElementCollector& Collector);
45extern ENGINE_API void GetSphereMesh(const FVector& Center, const FVector& Radii, int32 NumSides, int32 NumRings, const FMaterialRenderProxy* MaterialRenderProxy, uint8 DepthPriority,
46 bool bDisableBackfaceCulling, int32 ViewIndex, FMeshElementCollector& Collector, bool bUseSelectionOutline, HHitProxy* HitProxy);
47
48extern ENGINE_API void GetDiscMesh(const FVector& Center, const FVector& XAxis, const FVector& YAxis, double Radius, int32 Sides, const FMaterialRenderProxy* MaterialRenderProxy, uint8 DepthPriority,
49 int32 ViewIndex, FMeshElementCollector& Collector, HHitProxy* HitProxy = nullptr);
50extern ENGINE_API void GetDiscMesh(const FMatrix& ToWorld, const FVector& Center, const FVector& XAxis, const FVector& YAxis, double Radius, int32 Sides, const FMaterialRenderProxy* MaterialRenderProxy, uint8 DepthPriority,
51 int32 ViewIndex, FMeshElementCollector& Collector, HHitProxy* HitProxy = nullptr);
52
53extern ENGINE_API void GetCylinderMesh(const FVector& Base, const FVector& XAxis, const FVector& YAxis, const FVector& ZAxis,
54 double Radius, double HalfHeight, int32 Sides, const FMaterialRenderProxy* MaterialInstance, uint8 DepthPriority, int32 ViewIndex, FMeshElementCollector& Collector, HHitProxy* HitProxy = nullptr);
55extern ENGINE_API void GetCylinderMesh(const FMatrix& CylToWorld, const FVector& Base, const FVector& XAxis, const FVector& YAxis, const FVector& ZAxis,
56 double Radius, double HalfHeight, uint32 Sides, const FMaterialRenderProxy* MaterialInstance, uint8 DepthPriority, int32 ViewIndex, FMeshElementCollector& Collector, HHitProxy* HitProxy = nullptr);
57//Draws a cylinder along the axis from Start to End
58extern ENGINE_API void GetCylinderMesh(const FVector& Start, const FVector& End, double Radius, int32 Sides, const FMaterialRenderProxy* MaterialInstance, uint8 DepthPriority, int32 ViewIndex, FMeshElementCollector& Collector, HHitProxy* HitProxy = nullptr);
59
60
61extern ENGINE_API void GetConeMesh(const FMatrix& LocalToWorld, float AngleWidth, float AngleHeight, uint32 NumSides,
62 const FMaterialRenderProxy* MaterialRenderProxy, uint8 DepthPriority, int32 ViewIndex, FMeshElementCollector& Collector, HHitProxy* HitProxy = nullptr);
63extern ENGINE_API void GetCapsuleMesh(const FVector& Origin, const FVector& XAxis, const FVector& YAxis, const FVector& ZAxis, const FLinearColor& Color, double Radius, double HalfHeight, int32 NumSides,
64 const FMaterialRenderProxy* MaterialRenderProxy, uint8 DepthPriority, bool bDisableBackfaceCulling, int32 ViewIndex, FMeshElementCollector& Collector, HHitProxy* HitProxy = nullptr);
65
66
85extern ENGINE_API void DrawTorus(FPrimitiveDrawInterface* PDI, const FMatrix& Transform, const FVector& XAxis, const FVector& YAxis,
86 double OuterRadius, double InnerRadius, int32 OuterSegments, int32 InnerSegments, const FMaterialRenderProxy* MaterialRenderProxy, uint8 DepthPriority, bool bPartial, float Angle, bool bEndCaps);
87
107extern ENGINE_API void DrawTorus(FPrimitiveDrawInterface* PDI, const FMatrix& Transform, const FVector& XAxis, const FVector& YAxis, FColor Color,
108 double OuterRadius, double InnerRadius, int32 OuterSegments, int32 InnerSegments, const FMaterialRenderProxy* MaterialRenderProxy, uint8 DepthPriority, bool bPartial, float Angle, bool bEndCaps);
109
123extern ENGINE_API void DrawDisc(class FPrimitiveDrawInterface* PDI,const FVector& Base,const FVector& XAxis,const FVector& YAxis,FColor Color,double Radius,int32 NumSides, const FMaterialRenderProxy* MaterialRenderProxy, uint8 DepthPriority);
124
138extern ENGINE_API void DrawRectangleMesh(FPrimitiveDrawInterface* PDI, const FVector& Center, const FVector& XAxis, const FVector& YAxis,
139 FColor Color, float Width, float Height, const FMaterialRenderProxy* MaterialRenderProxy, uint8 DepthPriority);
140
156/*
157x-axis is from point 0 to point 2
158y-axis is from point 0 to point 1
159 6
160 /\
161 / \
162 / \
163 4_2 3_5
164 | |
165 0__1
166*/
167extern ENGINE_API void DrawFlatArrow(class FPrimitiveDrawInterface* PDI,const FVector& Base,const FVector& XAxis,const FVector& YAxis,FColor Color,float Length,int32 Width, const FMaterialRenderProxy* MaterialRenderProxy, uint8 DepthPriority, float Thickness = 0.0f);
168
169// Line drawing utility functions.
170
180extern ENGINE_API void DrawWireBox(class FPrimitiveDrawInterface* PDI, const FBox& Box, const FLinearColor& Color, uint8 DepthPriority, float Thickness = 0.0f, float DepthBias = 0.0f, bool bScreenSpace = false);
181extern ENGINE_API void DrawWireBox(class FPrimitiveDrawInterface* PDI, const FMatrix& Matrix, const FBox& Box, const FLinearColor& Color, uint8 DepthPriority, float Thickness = 0.0f, float DepthBias = 0.0f, bool bScreenSpace = false);
182
197extern ENGINE_API void DrawArc(FPrimitiveDrawInterface* PDI, const FVector Base, const FVector X, const FVector Y, const float MinAngle, const float MaxAngle, const double Radius, const int32 Sections, const FLinearColor& Color, uint8 DepthPriority);
198
213extern ENGINE_API void DrawRectangle(FPrimitiveDrawInterface* PDI, const FVector& Center, const FVector& XAxis, const FVector& YAxis,
214 FColor Color, float Width, float Height, uint8 DepthPriority, float Thickness = 0.0f, float DepthBias = 0.0f, bool bScreenSpace = false);
215
227extern ENGINE_API void DrawWireSphere(class FPrimitiveDrawInterface* PDI, const FVector& Base, const FLinearColor& Color, double Radius, int32 NumSides, uint8 DepthPriority, float Thickness = 0.0f, float DepthBias = 0.0f, bool bScreenSpace = false);
228extern ENGINE_API void DrawWireSphere(class FPrimitiveDrawInterface* PDI, const FTransform& Transform, const FLinearColor& Color, double Radius, int32 NumSides, uint8 DepthPriority, float Thickness = 0.0f, float DepthBias = 0.0f, bool bScreenSpace = false);
229
240extern ENGINE_API void DrawWireSphereAutoSides(class FPrimitiveDrawInterface* PDI, const FVector& Base, const FLinearColor& Color, double Radius, uint8 DepthPriority, float Thickness = 0.0f, float DepthBias = 0.0f, bool bScreenSpace = false);
241extern ENGINE_API void DrawWireSphereAutoSides(class FPrimitiveDrawInterface* PDI, const FTransform& Transform, const FLinearColor& Color, double Radius, uint8 DepthPriority, float Thickness = 0.0f, float DepthBias = 0.0f, bool bScreenSpace = false);
242
256extern ENGINE_API void DrawCircle(class FPrimitiveDrawInterface* PDI, const FVector& Base, const FVector& X, const FVector& Y, const FLinearColor& Color, double Radius, int32 NumSides, uint8 DepthPriority, float Thickness = 0.0f, float DepthBias = 0.0f, bool bScreenSpace = false);
257
273extern ENGINE_API void DrawWireCylinder(class FPrimitiveDrawInterface* PDI, const FVector& Base, const FVector& X, const FVector& Y, const FVector& Z, const FLinearColor& Color, double Radius, double HalfHeight, int32 NumSides, uint8 DepthPriority, float Thickness = 0.0f, float DepthBias = 0.0f, bool bScreenSpace = false);
274
290extern ENGINE_API void DrawWireCapsule(class FPrimitiveDrawInterface* PDI, const FVector& Base, const FVector& X, const FVector& Y, const FVector& Z, const FLinearColor& Color, double Radius, double HalfHeight, int32 NumSides, uint8 DepthPriority, float Thickness = 0.0f, float DepthBias = 0.0f, bool bScreenSpace = false);
291
307extern ENGINE_API void DrawWireChoppedCone(class FPrimitiveDrawInterface* PDI,const FVector& Base,const FVector& X,const FVector& Y,const FVector& Z,const FLinearColor& Color,double Radius,double TopRadius,double HalfHeight,int32 NumSides,uint8 DepthPriority);
308
322extern ENGINE_API void DrawWireCone(class FPrimitiveDrawInterface* PDI, TArray<FVector>& Verts, const FMatrix& Transform, double ConeLength, double ConeAngle, int32 ConeSides, const FLinearColor& Color, uint8 DepthPriority, float Thickness = 0.0f, float DepthBias = 0.0f, bool bScreenSpace = false);
323extern ENGINE_API void DrawWireCone(class FPrimitiveDrawInterface* PDI, TArray<FVector>& Verts, const FTransform& Transform, double ConeLength, double ConeAngle, int32 ConeSides, const FLinearColor& Color, uint8 DepthPriority, float Thickness = 0.0f, float DepthBias = 0.0f, bool bScreenSpace = false);
324
338extern ENGINE_API void DrawWireSphereCappedCone(FPrimitiveDrawInterface* PDI, const FTransform& Transform, double ConeLength, double ConeAngle, int32 ConeSides, int32 ArcFrequency, int32 CapSegments, const FLinearColor& Color, uint8 DepthPriority);
339
353extern ENGINE_API void DrawOrientedWireBox(class FPrimitiveDrawInterface* PDI, const FVector& Base, const FVector& X, const FVector& Y, const FVector& Z, FVector Extent, const FLinearColor& Color, uint8 DepthPriority, float Thickness = 0.0f, float DepthBias = 0.0f, bool bScreenSpace = false);
354
366extern ENGINE_API void DrawDirectionalArrow(class FPrimitiveDrawInterface* PDI, const FMatrix& ArrowToWorld, const FLinearColor& InColor, float Length, float ArrowSize, uint8 DepthPriority, float Thickness = 0.0f);
367
380extern ENGINE_API void DrawConnectedArrow(class FPrimitiveDrawInterface* PDI, const FMatrix& ArrowToWorld, const FLinearColor& Color, float ArrowHeight, float ArrowWidth, uint8 DepthPriority, float Thickness = 0.5f, int32 NumSpokes = 6);
381
391extern ENGINE_API void DrawWireStar(class FPrimitiveDrawInterface* PDI, const FVector& Position, float Size, const FLinearColor& Color, uint8 DepthPriority);
392
403extern ENGINE_API void DrawDashedLine(class FPrimitiveDrawInterface* PDI, const FVector& Start, const FVector& End, const FLinearColor& Color, double DashSize, uint8 DepthPriority, float DepthBias = 0.0f);
404
415extern ENGINE_API void DrawWireDiamond(class FPrimitiveDrawInterface* PDI, const FMatrix& DiamondMatrix, float Size, const FLinearColor& InColor, uint8 DepthPriority, float Thickness = 0.0f);
416
427extern ENGINE_API void DrawCoordinateSystem(FPrimitiveDrawInterface* PDI, FVector const& AxisLoc, FRotator const& AxisRot, float Scale, uint8 DepthPriority, float Thickness = 0.0f);
428
440extern ENGINE_API void DrawCoordinateSystem(FPrimitiveDrawInterface* PDI, FVector const& AxisLoc, FRotator const& AxisRot, float Scale, const FLinearColor& InColor, uint8 DepthPriority, float Thickness = 0.0f);
441
451 const FMatrix& WorldToFrustum,
453 uint8 DepthPriority
454 );
455
FPlatformTypes::int32 int32
A 32-bit signed integer.
Definition Platform.h:1125
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
#define X(Name, Desc)
Definition FormatStringSan.h:47
ENGINE_API void DrawDashedLine(class FPrimitiveDrawInterface *PDI, const FVector &Start, const FVector &End, const FLinearColor &Color, double DashSize, uint8 DepthPriority, float DepthBias=0.0f)
Definition PrimitiveDrawingUtils.cpp:1469
ENGINE_API void GetBoxMesh(const FMatrix &BoxToWorld, const FVector &Radii, const FMaterialRenderProxy *MaterialRenderProxy, uint8 DepthPriority, int32 ViewIndex, FMeshElementCollector &Collector, HHitProxy *HitProxy=nullptr)
Definition PrimitiveDrawingUtils.cpp:95
ENGINE_API void DrawSphere(class FPrimitiveDrawInterface *PDI, const FVector &Center, const FRotator &Orientation, const FVector &Radii, int32 NumSides, int32 NumRings, const FMaterialRenderProxy *MaterialRenderProxy, uint8 DepthPriority, bool bDisableBackfaceCulling=false)
Definition PrimitiveDrawingUtils.cpp:302
ENGINE_API void DrawWireChoppedCone(class FPrimitiveDrawInterface *PDI, const FVector &Base, const FVector &X, const FVector &Y, const FVector &Z, const FLinearColor &Color, double Radius, double TopRadius, double HalfHeight, int32 NumSides, uint8 DepthPriority)
Definition PrimitiveDrawingUtils.cpp:1354
ENGINE_API void DrawRectangle(FPrimitiveDrawInterface *PDI, const FVector &Center, const FVector &XAxis, const FVector &YAxis, FColor Color, float Width, float Height, uint8 DepthPriority, float Thickness=0.0f, float DepthBias=0.0f, bool bScreenSpace=false)
Definition PrimitiveDrawingUtils.cpp:1147
ENGINE_API void DrawConnectedArrow(class FPrimitiveDrawInterface *PDI, const FMatrix &ArrowToWorld, const FLinearColor &Color, float ArrowHeight, float ArrowWidth, uint8 DepthPriority, float Thickness=0.5f, int32 NumSpokes=6)
Definition PrimitiveDrawingUtils.cpp:1446
ENGINE_API void DrawCone(class FPrimitiveDrawInterface *PDI, const FMatrix &ConeToWorld, float Angle1, float Angle2, uint32 NumSides, bool bDrawSideLines, const FLinearColor &SideLineColor, const FMaterialRenderProxy *MaterialRenderProxy, uint8 DepthPriority)
Definition PrimitiveDrawingUtils.cpp:481
ENGINE_API void DrawDisc(class FPrimitiveDrawInterface *PDI, const FVector &Base, const FVector &XAxis, const FVector &YAxis, FColor Color, double Radius, int32 NumSides, const FMaterialRenderProxy *MaterialRenderProxy, uint8 DepthPriority)
Definition PrimitiveDrawingUtils.cpp:896
ENGINE_API void DrawOrientedWireBox(class FPrimitiveDrawInterface *PDI, const FVector &Base, const FVector &X, const FVector &Y, const FVector &Z, FVector Extent, const FLinearColor &Color, uint8 DepthPriority, float Thickness=0.0f, float DepthBias=0.0f, bool bScreenSpace=false)
Definition PrimitiveDrawingUtils.cpp:1374
ENGINE_API void DrawWireCylinder(class FPrimitiveDrawInterface *PDI, const FVector &Base, const FVector &X, const FVector &Y, const FVector &Z, const FLinearColor &Color, double Radius, double HalfHeight, int32 NumSides, uint8 DepthPriority, float Thickness=0.0f, float DepthBias=0.0f, bool bScreenSpace=false)
Definition PrimitiveDrawingUtils.cpp:1203
ENGINE_API void GetConeMesh(const FMatrix &LocalToWorld, float AngleWidth, float AngleHeight, uint32 NumSides, const FMaterialRenderProxy *MaterialRenderProxy, uint8 DepthPriority, int32 ViewIndex, FMeshElementCollector &Collector, HHitProxy *HitProxy=nullptr)
Definition PrimitiveDrawingUtils.cpp:720
ENGINE_API void GetOrientedHalfSphereMesh(const FVector &Center, const FRotator &Orientation, const FVector &Radii, int32 NumSides, int32 NumRings, float StartAngle, float EndAngle, const FMaterialRenderProxy *MaterialRenderProxy, uint8 DepthPriority, bool bDisableBackfaceCulling, int32 ViewIndex, FMeshElementCollector &Collector, bool bUseSelectionOutline=false, HHitProxy *HitProxy=nullptr)
Definition PrimitiveDrawingUtils.cpp:200
ENGINE_API void DrawBox(class FPrimitiveDrawInterface *PDI, const FMatrix &BoxToWorld, const FVector &Radii, const FMaterialRenderProxy *MaterialRenderProxy, uint8 DepthPriority)
Definition PrimitiveDrawingUtils.cpp:148
ENGINE_API void GetCylinderMesh(const FVector &Base, const FVector &XAxis, const FVector &YAxis, const FVector &ZAxis, double Radius, double HalfHeight, int32 Sides, const FMaterialRenderProxy *MaterialInstance, uint8 DepthPriority, int32 ViewIndex, FMeshElementCollector &Collector, HHitProxy *HitProxy=nullptr)
Definition PrimitiveDrawingUtils.cpp:700
ENGINE_API void DrawWireSphereCappedCone(FPrimitiveDrawInterface *PDI, const FTransform &Transform, double ConeLength, double ConeAngle, int32 ConeSides, int32 ArcFrequency, int32 CapSegments, const FLinearColor &Color, uint8 DepthPriority)
Definition PrimitiveDrawingUtils.cpp:1331
ENGINE_API void DrawWireCapsule(class FPrimitiveDrawInterface *PDI, const FVector &Base, const FVector &X, const FVector &Y, const FVector &Z, const FLinearColor &Color, double Radius, double HalfHeight, int32 NumSides, uint8 DepthPriority, float Thickness=0.0f, float DepthBias=0.0f, bool bScreenSpace=false)
Definition PrimitiveDrawingUtils.cpp:1234
ENGINE_API void DrawWireSphere(class FPrimitiveDrawInterface *PDI, const FVector &Base, const FLinearColor &Color, double Radius, int32 NumSides, uint8 DepthPriority, float Thickness=0.0f, float DepthBias=0.0f, bool bScreenSpace=false)
Definition PrimitiveDrawingUtils.cpp:1175
ENGINE_API void DrawTriangle(class FPrimitiveDrawInterface *PDI, const FVector &A, const FVector &B, const FVector &C, const FMaterialRenderProxy *MaterialRenderProxy, uint8 DepthPriorityGroup)
Definition PrimitiveDrawingUtils.cpp:67
ENGINE_API void DrawWireStar(class FPrimitiveDrawInterface *PDI, const FVector &Position, float Size, const FLinearColor &Color, uint8 DepthPriority)
Definition PrimitiveDrawingUtils.cpp:1462
ENGINE_API void GetCapsuleMesh(const FVector &Origin, const FVector &XAxis, const FVector &YAxis, const FVector &ZAxis, const FLinearColor &Color, double Radius, double HalfHeight, int32 NumSides, const FMaterialRenderProxy *MaterialRenderProxy, uint8 DepthPriority, bool bDisableBackfaceCulling, int32 ViewIndex, FMeshElementCollector &Collector, HHitProxy *HitProxy=nullptr)
Definition PrimitiveDrawingUtils.cpp:731
ENGINE_API void DrawWireCone(class FPrimitiveDrawInterface *PDI, TArray< FVector > &Verts, const FMatrix &Transform, double ConeLength, double ConeAngle, int32 ConeSides, const FLinearColor &Color, uint8 DepthPriority, float Thickness=0.0f, float DepthBias=0.0f, bool bScreenSpace=false)
Definition PrimitiveDrawingUtils.cpp:1326
ENGINE_API void GetHalfSphereMesh(const FVector &Center, const FVector &Radii, int32 NumSides, int32 NumRings, float StartAngle, float EndAngle, const FMaterialRenderProxy *MaterialRenderProxy, uint8 DepthPriority, bool bDisableBackfaceCulling, int32 ViewIndex, FMeshElementCollector &Collector, bool bUseSelectionOutline=false, HHitProxy *HitProxy=nullptr)
Definition PrimitiveDrawingUtils.cpp:284
ENGINE_API void DrawRectangleMesh(FPrimitiveDrawInterface *PDI, const FVector &Center, const FVector &XAxis, const FVector &YAxis, FColor Color, float Width, float Height, const FMaterialRenderProxy *MaterialRenderProxy, uint8 DepthPriority)
Definition PrimitiveDrawingUtils.cpp:1100
ENGINE_API void DrawFlatArrow(class FPrimitiveDrawInterface *PDI, const FVector &Base, const FVector &XAxis, const FVector &YAxis, FColor Color, float Length, int32 Width, const FMaterialRenderProxy *MaterialRenderProxy, uint8 DepthPriority, float Thickness=0.0f)
Definition PrimitiveDrawingUtils.cpp:945
ENGINE_API void DrawPlane10x10(class FPrimitiveDrawInterface *PDI, const FMatrix &ObjectToWorld, float Radii, FVector2D UVMin, FVector2D UVMax, const FMaterialRenderProxy *MaterialRenderProxy, uint8 DepthPriority)
Definition PrimitiveDrawingUtils.cpp:23
ENGINE_API void DrawCylinder(class FPrimitiveDrawInterface *PDI, const FVector &Base, const FVector &XAxis, const FVector &YAxis, const FVector &ZAxis, double Radius, double HalfHeight, uint32 Sides, const FMaterialRenderProxy *MaterialInstance, uint8 DepthPriority)
Definition PrimitiveDrawingUtils.cpp:744
ENGINE_API void GetSphereMesh(const FVector &Center, const FVector &Radii, int32 NumSides, int32 NumRings, const FMaterialRenderProxy *MaterialRenderProxy, uint8 DepthPriority, bool bDisableBackfaceCulling, int32 ViewIndex, FMeshElementCollector &Collector)
Definition PrimitiveDrawingUtils.cpp:290
ENGINE_API void DrawCircle(class FPrimitiveDrawInterface *PDI, const FVector &Base, const FVector &X, const FVector &Y, const FLinearColor &Color, double Radius, int32 NumSides, uint8 DepthPriority, float Thickness=0.0f, float DepthBias=0.0f, bool bScreenSpace=false)
Definition PrimitiveDrawingUtils.cpp:1071
ENGINE_API void DrawWireDiamond(class FPrimitiveDrawInterface *PDI, const FMatrix &DiamondMatrix, float Size, const FLinearColor &InColor, uint8 DepthPriority, float Thickness=0.0f)
Definition PrimitiveDrawingUtils.cpp:1501
ENGINE_API void DrawTorus(FPrimitiveDrawInterface *PDI, const FMatrix &Transform, const FVector &XAxis, const FVector &YAxis, double OuterRadius, double InnerRadius, int32 OuterSegments, int32 InnerSegments, const FMaterialRenderProxy *MaterialRenderProxy, uint8 DepthPriority, bool bPartial, float Angle, bool bEndCaps)
Definition PrimitiveDrawingUtils.cpp:779
ENGINE_API void DrawArc(FPrimitiveDrawInterface *PDI, const FVector Base, const FVector X, const FVector Y, const float MinAngle, const float MaxAngle, const double Radius, const int32 Sections, const FLinearColor &Color, uint8 DepthPriority)
Definition PrimitiveDrawingUtils.cpp:1084
ENGINE_API void DrawWireSphereAutoSides(class FPrimitiveDrawInterface *PDI, const FVector &Base, const FLinearColor &Color, double Radius, uint8 DepthPriority, float Thickness=0.0f, float DepthBias=0.0f, bool bScreenSpace=false)
Definition PrimitiveDrawingUtils.cpp:1182
ENGINE_API void DrawFrustumWireframe(FPrimitiveDrawInterface *PDI, const FMatrix &WorldToFrustum, FColor Color, uint8 DepthPriority)
Definition ConvexVolume.cpp:798
ENGINE_API void DrawCoordinateSystem(FPrimitiveDrawInterface *PDI, FVector const &AxisLoc, FRotator const &AxisRot, float Scale, uint8 DepthPriority, float Thickness=0.0f)
Definition PrimitiveDrawingUtils.cpp:1411
ENGINE_API void GetDiscMesh(const FVector &Center, const FVector &XAxis, const FVector &YAxis, double Radius, int32 Sides, const FMaterialRenderProxy *MaterialRenderProxy, uint8 DepthPriority, int32 ViewIndex, FMeshElementCollector &Collector, HHitProxy *HitProxy=nullptr)
Definition PrimitiveDrawingUtils.cpp:558
ENGINE_API void DrawWireBox(class FPrimitiveDrawInterface *PDI, const FBox &Box, const FLinearColor &Color, uint8 DepthPriority, float Thickness=0.0f, float DepthBias=0.0f, bool bScreenSpace=false)
Definition PrimitiveDrawingUtils.cpp:1009
ENGINE_API void DrawDirectionalArrow(class FPrimitiveDrawInterface *PDI, const FMatrix &ArrowToWorld, const FLinearColor &InColor, float Length, float ArrowSize, uint8 DepthPriority, float Thickness=0.0f)
Definition PrimitiveDrawingUtils.cpp:1437
uint32 Size
Definition VulkanMemory.cpp:4034
uint8_t uint8
Definition binka_ue_file_header.h:8
uint32_t uint32
Definition binka_ue_file_header.h:6
Definition MaterialRenderProxy.h:102
Definition MeshElementCollector.h:26
ENGINE_API void Start(FRHICommandList &RHICmdList, FGlobalDynamicVertexBuffer &DynamicVertexBuffer, FGlobalDynamicIndexBuffer &DynamicIndexBuffer, FGlobalDynamicReadBuffer &DynamicReadBuffer)
Definition SceneManagement.cpp:477
Definition PrimitiveDrawInterface.h:19
Definition HitProxies.h:135
Definition Array.h:670
Definition Color.h:486
Definition Color.h:48