Navigation
API > API/Runtime > API/Runtime/Engine
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void DrawWireCone
(
FPrimitiveDrawInterface* PDI, |
Draws a wireframe cone | PrimitiveDrawingUtils.h | |
void DrawWireCone
(
FPrimitiveDrawInterface* PDI, |
PrimitiveDrawingUtils.h |
DrawWireCone(class FPrimitiveDrawInterface *, TArray< FVector > &, const FMatrix &, double, double, int32, const FLinearColor &, uint8, float, float, bool)
Description
Draws a wireframe cone
| Name | DrawWireCone |
| 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 DrawWireCone
(
class FPrimitiveDrawInterface * PDI,
TArray < FVector > & Verts,
const FMatrix & Transform,
double ConeLength,
double ConeAngle,
int32 ConeSides,
const FLinearColor & Color,
uint8 DepthPriority,
float Thickness,
float DepthBias,
bool bScreenSpace
)
Parameters
| Name | Remarks |
|---|---|
| PDI | Draw interface. |
| Transform | Generic transform to apply (ex. a local-to-world transform). |
| ConeLength | Pre-transform distance from apex to the perimeter of the cone base. The Radius of the base is ConeLength * sin(ConeAngle). |
| ConeAngle | Angle of the cone in degrees. This is 1/2 the cone aperture. |
| ConeSides | Numbers of sides that the cone has. |
| Color | Color of the cone. |
| DepthPriority | Depth priority for the cone. |
| Verts | Out param, the positions of the verts at the cone base. |
| Thickness | Thickness of the lines comprising the cone |
DrawWireCone(class FPrimitiveDrawInterface *, TArray< FVector > &, const FTransform &, double, double, int32, const FLinearColor &, uint8, float, float, bool)
| Name | DrawWireCone |
| 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 DrawWireCone
(
class FPrimitiveDrawInterface * PDI,
TArray < FVector > & Verts,
const FTransform & Transform,
double ConeLength,
double ConeAngle,
int32 ConeSides,
const FLinearColor & Color,
uint8 DepthPriority,
float Thickness,
float DepthBias,
bool bScreenSpace
)