13#ifndef ENABLE_DRAW_DEBUG
14#define ENABLE_DRAW_DEBUG UE_ENABLE_DEBUG_DRAWING
38ENGINE_API void DrawDebugCircle(
const UWorld*
InWorld,
FVector Center,
double Radius,
int32 Segments,
const FColor&
Color,
bool bPersistentLines =
false,
float LifeTime=-1.f,
uint8 DepthPriority = 0,
float Thickness = 0.f,
FVector YAxis=
FVector(0.f,1.f,0.f),
FVector ZAxis=
FVector(0.f,0.f,1.f),
bool bDrawAxis=
true);
40ENGINE_API void DrawDebugCircleArc(
const UWorld*
InWorld,
const FVector&
Center,
float Radius,
const FVector& Direction,
float AngleWidth,
int32 Segments,
const FColor&
Color,
bool PersistentLines =
false,
float LifeTime = -1.f,
uint8 DepthPriority = 0,
float Thickness = 0.f);
41ENGINE_API void DrawDebugCircleArc(
const UWorld*
InWorld,
const FVector&
Center,
float Radius,
const FQuat&
Rotation,
float AngleWidth,
int32 Segments,
const FColor&
Color,
bool PersistentLines =
false,
float LifeTime = -1.f,
uint8 DepthPriority = 0,
float Thickness = 0.f);
49ENGINE_API void DrawDebugCone(
const UWorld*
InWorld,
FVector const& Origin,
FVector const& Direction,
float Length,
float AngleWidth,
float AngleHeight,
int32 NumSides,
FColor const&
Color,
bool bPersistentLines=
false,
float LifeTime=-1.f,
uint8 DepthPriority = 0,
float Thickness = 0.f);
51ENGINE_API void DrawDebugAltCone(
const UWorld*
InWorld,
FVector const& Origin,
FRotator const&
Rotation,
float Length,
float AngleWidth,
float AngleHeight,
FColor const& DrawColor,
bool bPersistentLines=
false,
float LifeTime=-1.f,
uint8 DepthPriority=0,
float Thickness = 0.f);
55ENGINE_API void DrawCircle(
const UWorld*
InWorld,
const FVector& Base,
const FVector&
X,
const FVector&
Y,
const FColor&
Color,
double Radius,
int32 NumSides,
bool bPersistentLines =
false,
float LifeTime = -1.f,
uint8 DepthPriority = 0,
float Thickness = 0);
180#elif !defined(SHIPPING_DRAW_DEBUG_ERROR) || !SHIPPING_DRAW_DEBUG_ERROR
193inline void DrawDebugCircle(
const UWorld*
InWorld,
FVector Center,
double Radius,
int32 Segments,
const FColor&
Color,
bool bPersistentLines =
false,
float LifeTime = -1.f,
uint8 DepthPriority = 0,
float Thickness = 0.f,
FVector YAxis =
FVector(0.f, 1.f, 0.f),
FVector ZAxis =
FVector(0.f, 0.f, 1.f),
bool bDrawAxis =
true) {}
194inline void DrawDebugCircleArc(
const UWorld*
InWorld,
FVector const&
Center,
float Radius,
FVector const& Direction,
float AngleWidth,
int32 Segments,
const FColor&
Color,
bool bPersistentLines =
false,
float LifeTime = -1.f,
uint8 DepthPriority = 0,
float Thickness = 0.f) {}
198inline void DrawDebugCone(
const UWorld*
InWorld,
FVector const& Origin,
FVector const& Direction,
float Length,
float AngleWidth,
float AngleHeight,
int32 NumSides,
FColor const&
Color,
bool bPersistentLines =
false,
float LifeTime = -1.f,
uint8 DepthPriority = 0,
float Thickness = 0.f) {}
199inline void DrawDebugAltCone(
const UWorld*
InWorld,
FVector const& Origin,
FRotator const&
Rotation,
float Length,
float AngleWidth,
float AngleHeight,
FColor const& DrawColor,
bool bPersistentLines =
false,
float LifeTime = -1.f,
uint8 DepthPriority = 0,
float Thickness = 0.f) {}
202inline void DrawCircle(
const UWorld*
InWorld,
const FVector& Base,
const FVector&
X,
const FVector&
Y,
const FColor&
Color,
double Radius,
int32 NumSides,
bool bPersistentLines =
false,
float LifeTime = -1.f,
uint8 DepthPriority = 0,
float Thickness = 0) {}
#define NULL
Definition oodle2base.h:134
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
ENGINE_API void DrawDebugCanvasHalfCircle(UCanvas *Canvas, const FVector &Base, const FVector &X, const FVector &Y, FColor Color, float Radius, int32 NumSides)
ENGINE_API void DrawDebugCanvasLine(UCanvas *Canvas, const FVector &Start, const FVector &End, const FLinearColor &LineColor)
ENGINE_API void DrawDebugMesh(const UWorld *InWorld, TArray< FVector > const &Verts, TArray< int32 > const &Indices, FColor const &Color, bool bPersistent=false, float LifeTime=-1.f, uint8 DepthPriority=0)
ENGINE_API void DrawCentripetalCatmullRomSpline(const UWorld *InWorld, TConstArrayView< FVector > Points, FColor const &Color, float Alpha=0.5f, int32 NumSamplesPerSegment=8, bool bPersistentLines=false, float LifeTime=-1.f, uint8 DepthPriority=0, float Thickness=0.f)
ENGINE_API void DrawDebugCoordinateSystem(const UWorld *InWorld, FVector const &AxisLoc, FRotator const &AxisRot, float Scale, bool bPersistentLines=false, float LifeTime=-1.f, uint8 DepthPriority=0, float Thickness=0.f)
ENGINE_API void DrawDebugCanvas2DBox(UCanvas *Canvas, const FBox2D &Box, const FLinearColor &LineColor, const float &LineThickness=1.f)
ENGINE_API void DrawDebugCanvasWireBox(UCanvas *Canvas, const FMatrix &Transform, const FBox &Box, FColor Color)
ENGINE_API void DrawDebugCanvasCircle(UCanvas *Canvas, const FVector &Base, const FVector &X, const FVector &Y, FColor Color, float Radius, int32 NumSides)
ENGINE_API void DrawDebugSolidPlane(const UWorld *InWorld, FPlane const &P, FVector const &Loc, float Size, FColor const &Color, bool bPersistent=false, float LifeTime=-1, uint8 DepthPriority=0)
ENGINE_API void DrawDebugBox(const UWorld *InWorld, FVector const &Center, FVector const &Extent, FColor const &Color, bool bPersistentLines=false, float LifeTime=-1.f, uint8 DepthPriority=0, float Thickness=0.f)
ENGINE_API void DrawDebugFrustum(const UWorld *InWorld, const FMatrix &FrustumToWorld, FColor const &Color, bool bPersistentLines=false, float LifeTime=-1.f, uint8 DepthPriority=0, float Thickness=0.f)
ENGINE_API void DrawDebugFloatHistory(UWorld const &WorldRef, FDebugFloatHistory const &FloatHistory, FTransform const &DrawTransform, FVector2D const &DrawSize, FColor const &DrawColor, bool const &bPersistent=false, float const &LifeTime=-1.f, uint8 const &DepthPriority=0)
ENGINE_API void DrawDebugCanvas2DLine(UCanvas *Canvas, const FVector &Start, const FVector &End, const FLinearColor &LineColor)
ENGINE_API void DrawDebugCone(const UWorld *InWorld, FVector const &Origin, FVector const &Direction, float Length, float AngleWidth, float AngleHeight, int32 NumSides, FColor const &Color, bool bPersistentLines=false, float LifeTime=-1.f, uint8 DepthPriority=0, float Thickness=0.f)
ENGINE_API void DrawDebugCanvasWireCone(UCanvas *Canvas, const FTransform &Transform, float ConeRadius, float ConeAngle, int32 ConeSides, FColor Color)
ENGINE_API void DrawDebugCapsule(const UWorld *InWorld, FVector const &Center, float HalfHeight, float Radius, const FQuat &Rotation, FColor const &Color, bool bPersistentLines=false, float LifeTime=-1.f, uint8 DepthPriority=0, float Thickness=0)
ENGINE_API void FlushDebugStrings(const UWorld *InWorld)
ENGINE_API void DrawDebugCircleArc(const UWorld *InWorld, const FVector &Center, float Radius, const FVector &Direction, float AngleWidth, int32 Segments, const FColor &Color, bool PersistentLines=false, float LifeTime=-1.f, uint8 DepthPriority=0, float Thickness=0.f)
ENGINE_API void DrawDebugCircle(const UWorld *InWorld, const FMatrix &TransformMatrix, double Radius, int32 Segments, const FColor &Color, bool bPersistentLines=false, float LifeTime=-1.f, uint8 DepthPriority=0, float Thickness=0.f, bool bDrawAxis=true)
ENGINE_API void DrawDebugString(const UWorld *InWorld, FVector const &TextLocation, const FString &Text, class AActor *TestBaseActor=NULL, FColor const &TextColor=FColor::White, float Duration=-1.000000, bool bDrawShadow=false, float FontScale=1.f)
ENGINE_API void DrawDebug2DDonut(const UWorld *InWorld, const FMatrix &TransformMatrix, float InnerRadius, float OuterRadius, int32 Segments, const FColor &Color, bool bPersistentLines=false, float LifeTime=-1.f, uint8 DepthPriority=0, float Thickness=0.f)
ENGINE_API void DrawDebugCrosshairs(const UWorld *InWorld, FVector const &AxisLoc, FRotator const &AxisRot, float Scale, const FColor &Color=FColor::White, bool bPersistentLines=false, float LifeTime=-1.f, uint8 DepthPriority=0)
ENGINE_API void DrawDebugSolidBox(const UWorld *InWorld, FBox const &Box, FColor const &Color, const FTransform &Transform=FTransform::Identity, bool bPersistent=false, float LifeTime=-1.f, uint8 DepthPriority=0)
ENGINE_API void DrawCircle(const UWorld *InWorld, const FVector &Base, const FVector &X, const FVector &Y, const FColor &Color, double Radius, int32 NumSides, bool bPersistentLines=false, float LifeTime=-1.f, uint8 DepthPriority=0, float Thickness=0)
ENGINE_API void DrawDebugLine(const UWorld *InWorld, FVector const &LineStart, FVector const &LineEnd, FColor const &Color, bool bPersistentLines=false, float LifeTime=-1.f, uint8 DepthPriority=0, float Thickness=0.f)
ENGINE_API void DrawDebugPoint(const UWorld *InWorld, FVector const &Position, float Size, FColor const &PointColor, bool bPersistentLines=false, float LifeTime=-1.f, uint8 DepthPriority=0)
ENGINE_API void DrawDebugCanvasCapsule(UCanvas *Canvas, const FMatrix &Transform, float HalfLength, float Radius, const FColor &LineColor)
ENGINE_API void DrawDebugAltCone(const UWorld *InWorld, FVector const &Origin, FRotator const &Rotation, float Length, float AngleWidth, float AngleHeight, FColor const &DrawColor, bool bPersistentLines=false, float LifeTime=-1.f, uint8 DepthPriority=0, float Thickness=0.f)
ENGINE_API void DrawDebugDirectionalArrow(const UWorld *InWorld, FVector const &LineStart, FVector const &LineEnd, float ArrowSize, FColor const &Color, bool bPersistentLines=false, float LifeTime=-1.f, uint8 DepthPriority=0, float Thickness=0.f)
ENGINE_API void DrawDebugCanvasWireSphere(UCanvas *Canvas, const FVector &Base, FColor Color, float Radius, int32 NumSides)
ENGINE_API void DrawDebugCylinder(const UWorld *InWorld, FVector const &Start, FVector const &End, float Radius, int32 Segments, FColor const &Color, bool bPersistentLines=false, float LifeTime=-1.f, uint8 DepthPriority=0, float Thickness=0.f)
ENGINE_API void FlushPersistentDebugLines(const UWorld *InWorld)
ENGINE_API void DrawDebugSphere(const UWorld *InWorld, FVector const &Center, float Radius, int32 Segments, FColor const &Color, bool bPersistentLines=false, float LifeTime=-1.f, uint8 DepthPriority=0, float Thickness=0.f)
ENGINE_API void DrawDebugCamera(const UWorld *InWorld, FVector const &Location, FRotator const &Rotation, float FOVDeg, float Scale=1.f, FColor const &Color=FColor::White, bool bPersistentLines=false, float LifeTime=-1.f, uint8 DepthPriority=0)
ENGINE_API void DrawDebugCanvas2DCircle(UCanvas *Canvas, const FVector2D &Center, float Radius, int32 NumSides, const FLinearColor &LineColor, const float &LineThickness=1.f)
#define FVector
Definition IOSSystemIncludes.h:8
uint32 Size
Definition VulkanMemory.cpp:4034
FCanvas * Canvas
Definition Canvas.h:221
static CORE_API const FColor White
Definition Color.h:749
Definition EngineTypes.h:3929