Open 3D Engine RecastNavigation Gem API Reference 23.10.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
RecastNavigation::EditorRecastNavigationMeshComponent Class Referencefinal

Editor version of @RecastNavigationMeshComponent. More...

#include <EditorRecastNavigationMeshComponent.h>

Inherits AzToolsFramework::Components::EditorComponentAdapter< RecastNavigationMeshComponentController, RecastNavigationMeshComponent, RecastNavigationMeshConfig >.

Public Types

using BaseClass = AzToolsFramework::Components::EditorComponentAdapter< RecastNavigationMeshComponentController, RecastNavigationMeshComponent, RecastNavigationMeshConfig >
 

Public Member Functions

 AZ_EDITOR_COMPONENT (EditorRecastNavigationMeshComponent, EditorRecastNavigationMeshComponentTypeId, BaseClass)
 
 EditorRecastNavigationMeshComponent (const RecastNavigationMeshConfig &config)
 
void Activate () override
 
void Deactivate () override
 
void BuildGameEntity (AZ::Entity *gameEntity) override
 
void SetEditorPreview (bool enable)
 
void OnEditorUpdateTick ()
 
AZ::u32 OnConfigurationChanged () override
 

Static Public Member Functions

static void Reflect (AZ::ReflectContext *context)
 

Detailed Description

Editor version of @RecastNavigationMeshComponent.

Member Function Documentation

◆ SetEditorPreview()

void RecastNavigation::EditorRecastNavigationMeshComponent::SetEditorPreview ( bool  enable)

Enables or disables in-Editor preview of navigation mesh without entering game mode.

Parameters
enableif true, the preview will be enabled

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