Navigation
API > API/Runtime > API/Runtime/Engine
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void DrawCoordinateSystem
(
FPrimitiveDrawInterface* PDI, |
Draws a coordinate system (Red for X axis, Green for Y axis, Blue for Z axis). | PrimitiveDrawingUtils.h | |
void DrawCoordinateSystem
(
FPrimitiveDrawInterface* PDI, |
Draws a coordinate system with a fixed color. | PrimitiveDrawingUtils.h |
DrawCoordinateSystem(FPrimitiveDrawInterface *, FVector const &, FRotator const &, float, uint8, float)
Description
Draws a coordinate system (Red for X axis, Green for Y axis, Blue for Z axis).
| Name | DrawCoordinateSystem |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Public/PrimitiveDrawingUtils.h |
| Include Path | #include "PrimitiveDrawingUtils.h" |
| Source | /Engine/Source/Runtime/Engine/Private/PrimitiveDrawingUtils.cpp |
void DrawCoordinateSystem
(
FPrimitiveDrawInterface * PDI,
FVector const & AxisLoc,
FRotator const & AxisRot,
float Scale,
uint8 DepthPriority,
float Thickness
)
Parameters
| Name | Remarks |
|---|---|
| PDI | Draw interface. |
| AxisLoc | Location of the coordinate system. |
| AxisRot | Location of the coordinate system. |
| Scale | Scale for the axis lines. |
| DepthPriority | Depth priority coordinate system. |
| Thickness | How thick to draw the axis lines |
DrawCoordinateSystem(FPrimitiveDrawInterface *, FVector const &, FRotator const &, float, const FLinearColor &, uint8, float)
Description
Draws a coordinate system with a fixed color.
| Name | DrawCoordinateSystem |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Public/PrimitiveDrawingUtils.h |
| Include Path | #include "PrimitiveDrawingUtils.h" |
| Source | /Engine/Source/Runtime/Engine/Private/PrimitiveDrawingUtils.cpp |
void DrawCoordinateSystem
(
FPrimitiveDrawInterface * PDI,
FVector const & AxisLoc,
FRotator const & AxisRot,
float Scale,
const FLinearColor & InColor,
uint8 DepthPriority,
float Thickness
)
Parameters
| Name | Remarks |
|---|---|
| PDI | Draw interface. |
| AxisLoc | Location of the coordinate system. |
| AxisRot | Location of the coordinate system. |
| Scale | Scale for the axis lines. |
| InColor | Color of the axis lines. |
| DepthPriority | Depth priority coordinate system. |
| Thickness | How thick to draw the axis lines |