rcMarkBoxArea

Applies an area id to all spans within the specified bounding box.

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

void rcMarkBoxArea
(
    rcContext * ctx,
    const float * bmin,
    const float * bmax,
    unsigned char areaId,
    rcCompactHeightfield & chf
)

Remarks

Applies an area id to all spans within the specified bounding box. (AABB)

The value of spacial parameters are in world units.

Parameters

Parameter

Description

ctx

The build context to use during the operation.

bmin

The minimum of the bounding box. [(x, y, z)]

bmax

The maximum of the bounding box. [(x, y, z)]

areaId

The area id to apply. [Limit: <= #RC_WALKABLE_AREA]

chf

A populated compact heightfield.

See Also

rcCompactHeightfield

rcMedianFilterWalkableArea

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