EHasCustomNavigableGeometry::Type

Determines if a primitive component contains custom collision for navigation/AI

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Components/PrimitiveComponent.h

Include

#include "Components/PrimitiveComponent.h"

Syntax

namespace EHasCustomNavigableGeometry
{
    enum Type
    {
        No,
        Yes,
        EvenIfNotCollidable,
        DontExport,
    }
}

Values

Name

Description

No

Primitive doesn't have custom navigation geometry, if collision is enabled then its convex/trimesh collision will be used for generating the navmesh

Yes

If primitive would normally affect navmesh, DoCustomNavigableGeometryExport() should be called to export this primitive's navigable geometry

EvenIfNotCollidable

DoCustomNavigableGeometryExport() should be called even if the mesh is non-collidable and wouldn't normally affect the navmesh

DontExport

Don't export navigable geometry even if primitive is relevant for navigation (can still add modifiers)

Remarks

Determines if a primitive component contains custom collision for navigation/AI

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