rcMarkCylinderArea

Applies the area id to all spans within the specified cylinder.

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 rcMarkCylinderArea
(
    rcContext * ctx,
    const float * pos,
    const float r,
    const float h,
    unsigned char areaId,
    rcCompactHeightfield & chf
)

Remarks

Applies the area id to all spans within the specified cylinder.

The value of spacial parameters are in world units.

Parameters

Parameter

Description

ctx

The build context to use during the operation.

pos

The center of the base of the cylinder. [Form: (x, y, z)]

r

The radius of the cylinder.

h

The height of the cylinder.

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