rcGetHeightFieldSpanCount

Returns the number of spans contained in the specified heightfield.

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/Recast.cpp

Syntax

int rcGetHeightFieldSpanCount
(
    rcContext * ctx,
    rcHeightfield & hf
)

Remarks

Returns the number of spans contained in the specified heightfield.

Returns

The number of spans in the heightfield.

Parameters

Parameter

Description

ctx

The build context to use during the operation.

hf

An initialized heightfield.

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