Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Components
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/Components/PrimitiveComponent.h |
| Include | #include "Components/PrimitiveComponent.h" |
Syntax
namespace EHasCustomNavigableGeometry
{
enum Type
&123;
No,
Yes,
EvenIfNotCollidable,
DontExport,
&125;
}
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