rcCalcBounds

Calculates the bounding box of an array of vertices.

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

void rcCalcBounds
(
    const float * verts,
    int nv,
    float * bmin,
    float * bmax
)

Remarks

Calculates the bounding box of an array of vertices.

Parameters

Parameter

Description

verts

An array of vertices. [(x, y, z) * nv]

nv

The number of vertices in the verts array.

bmin

The minimum bounds of the AABB. [(x, y, z)] [Units: wu]

bmax

The maximum bounds of the AABB. [(x, y, z)] [Units: wu]

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