5#include "Containers/Array.h"
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,
214 FColor Color,
float Width,
float Height,
uint8 DepthPriority,
float Thickness = 0.0f,
float DepthBias = 0.0f,
bool bScreenSpace =
false);
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);
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);
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);
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);
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);
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);
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
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
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