UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FNavMeshRenderingHelpers Namespace Reference

Functions

void DrawDebugBox (FPrimitiveDrawInterface *PDI, FVector const &Center, FVector const &Box, FColor const &Color)
 
bool LineInView (const FVector &Start, const FVector &End, const FSceneView *View)
 
bool PointInView (const FVector &Position, const FSceneView *View)
 
bool LineInCorrectDistance (const FVector &Start, const FVector &End, const FSceneView *View, FVector::FReal CorrectDistance=-1.)
 
FVector EvalArc (const FVector &Org, const FVector &Dir, const FVector::FReal h, const FVector::FReal u)
 
void CacheArc (TArray< FDebugRenderSceneProxy::FDebugLine > &DebugLines, const FVector &Start, const FVector &End, const FVector::FReal Height, const uint32 Segments, const FLinearColor &Color, float LineThickness=0, float VerticalOffset=0)
 
void CacheArrowHead (TArray< FDebugRenderSceneProxy::FDebugLine > &DebugLines, const FVector &Tip, const FVector &Origin, const FVector::FReal Size, const FLinearColor &Color, float LineThickness=0)
 
void CacheLink (TArray< FDebugRenderSceneProxy::FDebugLine > &DebugLines, const FVector V0, const FVector V1, const FColor LinkColor, const uint8 LinkDirection, const bool bIsGenerated)
 
void DrawWireCylinder (TArray< FDebugRenderSceneProxy::FDebugLine > &DebugLines, const FVector &Base, const FVector &X, const FVector &Y, const FVector &Z, FColor Color, FVector::FReal Radius, FVector::FReal HalfHeight, int32 NumSides, uint8 DepthPriority, float LineThickness=0)
 
uint8 GetBit (int32 v, uint8 bit)
 
FColor GetClusterColor (int32 Idx)
 
FColor DarkenColor (const FColor &Base)
 
FColor SemiDarkenColor (const FColor &Base)
 
void AddVertex (FNavMeshSceneProxyData::FDebugMeshData &MeshData, const FVector &Pos, const FColor Color)
 
void AddTriangleIndices (FNavMeshSceneProxyData::FDebugMeshData &MeshData, int32 V0, int32 V1, int32 V2)
 
void AddCluster (TArray< FNavMeshSceneProxyData::FDebugMeshData > &MeshBuilders, const TArray< int32 > &MeshIndices, const TArray< FVector > &MeshVerts, const FColor Color, const FVector DrawOffset)
 
void AddRecastGeometry (TArray< FVector > &OutVertexBuffer, TArray< uint32 > &OutIndexBuffer, const FVector::FReal *Coords, int32 NumVerts, const int32 *Faces, int32 NumFaces, const FTransform &Transform=FTransform::Identity)
 
bool HasFlag (int32 Flags, ENavMeshDetailFlags TestFlag)
 

Function Documentation

◆ AddCluster()

void FNavMeshRenderingHelpers::AddCluster ( TArray< FNavMeshSceneProxyData::FDebugMeshData > &  MeshBuilders,
const TArray< int32 > &  MeshIndices,
const TArray< FVector > &  MeshVerts,
const FColor  Color,
const FVector  DrawOffset 
)

◆ AddRecastGeometry()

void FNavMeshRenderingHelpers::AddRecastGeometry ( TArray< FVector > &  OutVertexBuffer,
TArray< uint32 > &  OutIndexBuffer,
const FVector::FReal Coords,
int32  NumVerts,
const int32 Faces,
int32  NumFaces,
const FTransform Transform = FTransform::Identity 
)

◆ AddTriangleIndices()

NAVIGATIONSYSTEM_API void FNavMeshRenderingHelpers::AddTriangleIndices ( FNavMeshSceneProxyData::FDebugMeshData MeshData,
int32  V0,
int32  V1,
int32  V2 
)

◆ AddVertex()

NAVIGATIONSYSTEM_API void FNavMeshRenderingHelpers::AddVertex ( FNavMeshSceneProxyData::FDebugMeshData MeshData,
const FVector Pos,
const FColor  Color 
)

◆ CacheArc()

void FNavMeshRenderingHelpers::CacheArc ( TArray< FDebugRenderSceneProxy::FDebugLine > &  DebugLines,
const FVector Start,
const FVector End,
const FVector::FReal  Height,
const uint32  Segments,
const FLinearColor Color,
float  LineThickness = 0,
float  VerticalOffset = 0 
)

◆ CacheArrowHead()

void FNavMeshRenderingHelpers::CacheArrowHead ( TArray< FDebugRenderSceneProxy::FDebugLine > &  DebugLines,
const FVector Tip,
const FVector Origin,
const FVector::FReal  Size,
const FLinearColor Color,
float  LineThickness = 0 
)

◆ CacheLink()

void FNavMeshRenderingHelpers::CacheLink ( TArray< FDebugRenderSceneProxy::FDebugLine > &  DebugLines,
const FVector  V0,
const FVector  V1,
const FColor  LinkColor,
const uint8  LinkDirection,
const bool  bIsGenerated 
)

◆ DarkenColor()

FColor FNavMeshRenderingHelpers::DarkenColor ( const FColor Base)

◆ DrawDebugBox()

void FNavMeshRenderingHelpers::DrawDebugBox ( FPrimitiveDrawInterface PDI,
FVector const &  Center,
FVector const &  Box,
FColor const &  Color 
)

◆ DrawWireCylinder()

void FNavMeshRenderingHelpers::DrawWireCylinder ( TArray< FDebugRenderSceneProxy::FDebugLine > &  DebugLines,
const FVector Base,
const FVector X,
const FVector Y,
const FVector Z,
FColor  Color,
FVector::FReal  Radius,
FVector::FReal  HalfHeight,
int32  NumSides,
uint8  DepthPriority,
float  LineThickness = 0 
)

◆ EvalArc()

FVector FNavMeshRenderingHelpers::EvalArc ( const FVector Org,
const FVector Dir,
const FVector::FReal  h,
const FVector::FReal  u 
)

◆ GetBit()

uint8 FNavMeshRenderingHelpers::GetBit ( int32  v,
uint8  bit 
)
inline

◆ GetClusterColor()

FColor FNavMeshRenderingHelpers::GetClusterColor ( int32  Idx)

◆ HasFlag()

bool FNavMeshRenderingHelpers::HasFlag ( int32  Flags,
ENavMeshDetailFlags  TestFlag 
)
inline

◆ LineInCorrectDistance()

bool FNavMeshRenderingHelpers::LineInCorrectDistance ( const FVector Start,
const FVector End,
const FSceneView View,
FVector::FReal  CorrectDistance = -1. 
)

◆ LineInView()

bool FNavMeshRenderingHelpers::LineInView ( const FVector Start,
const FVector End,
const FSceneView View 
)

◆ PointInView()

bool FNavMeshRenderingHelpers::PointInView ( const FVector Position,
const FSceneView View 
)

◆ SemiDarkenColor()

FColor FNavMeshRenderingHelpers::SemiDarkenColor ( const FColor Base)