Kemena3D
Loading...
Searching...
No Matches
kemena::kNavMeshDesc Struct Reference

Serialisable settings for a navigation surface attached to an object in the editor. More...

#include <knavmesh.h>

Collaboration diagram for kemena::kNavMeshDesc:

Public Attributes

kNavBuildConfig config
 Recast bake parameters.
bool useArea = false
 true = restrict to areaSize box.
kVec3 areaSize = kVec3(20.0f, 10.0f, 20.0f)
 Full extents of the area box.

Detailed Description

Serialisable settings for a navigation surface attached to an object in the editor.

Holds the bake parameters plus the geometry source: either every static mesh in the scene, or only static meshes within an axis-aligned area box centred on the owning object.

Member Data Documentation

◆ areaSize

kVec3 kemena::kNavMeshDesc::areaSize = kVec3(20.0f, 10.0f, 20.0f)

Full extents of the area box.

◆ config

kNavBuildConfig kemena::kNavMeshDesc::config

Recast bake parameters.

◆ useArea

bool kemena::kNavMeshDesc::useArea = false

true = restrict to areaSize box.


The documentation for this struct was generated from the following file: