rcMedianFilterWalkableArea

Applies a median filter to walkable area types (based on area id), removing noise.

Windows
MacOS
Linux

References

Module

Navmesh

Header

/Engine/Source/Runtime/Navmesh/Public/Recast/Recast.h

Include

#include "Recast/Recast.h"

Source

/Engine/Source/Runtime/Navmesh/Private/Recast/RecastArea.cpp

Syntax

bool rcMedianFilterWalkableArea
(
    rcContext * ctx,
    rcCompactHeightfield & chf
)

Remarks

Applies a median filter to walkable area types (based on area id), removing noise.

This filter is usually applied after applying area id's using functions such as rcMarkBoxArea, rcMarkConvexPolyArea, and rcMarkCylinderArea.

Returns

True if the operation completed successfully.

Parameters

Parameter

Description

ctx

The build context to use during the operation.

chf

A populated compact heightfield.

See Also

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss