Navigation
API > API/Runtime > API/Runtime/Engine
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/SceneManagement.h |
| Include | #include "SceneManagement.h" |
| Source | /Engine/Source/Runtime/Engine/Private/PrimitiveDrawingUtils.cpp |
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
)
Remarks
Draws an arc using lines.
Parameters
| Name | Description |
|---|---|
| PDI | Draw interface. |
| Base | Center of the circle. |
| X | Normalized axis from one point to the center |
| Y | Normalized axis from other point to the center |
| MinAngle | The minimum angle |
| MaxAngle | The maximum angle |
| Radius | Radius of the arc |
| Sections | Numbers of sides that the circle has. |
| Color | Color of the circle. |
| DepthPriority | Depth priority for the circle. |