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/ConvexVolume.cpp |
void DrawFrustumWireframe
(
FPrimitiveDrawInterface * PDI,
const FMatrix & WorldToFrustum,
FColor Color,
uint8 DepthPriority
)
Remarks
Draws a wireframe of the bounds of a frustum as defined by a transform from clip-space into world-space.
Parameters
| Name | Description |
|---|---|
| PDI | The interface to draw the wireframe. |
| FrustumToWorld | A transform from clip-space to world-space that defines the frustum. |
| Color | The color to draw the wireframe with. |
| DepthPriority | The depth priority group to draw the wireframe with. |