Plasma Engine  2.0
Loading...
Searching...
No Matches
NavMeshWorkerOp.h
1#include <EnginePluginRecast/EnginePluginRecastPCH.h>
2
3#include <EditorEngineProcessFramework/LongOps/LongOps.h>
4#include <RecastPlugin/NavMeshBuilder/NavMeshBuilder.h>
5#include <RecastPlugin/Resources/RecastNavMeshResource.h>
6#include <RendererCore/Utils/WorldGeoExtractionUtil.h>
7
9{
10 PL_ADD_DYNAMIC_REFLECTION(plLongOpWorker_BuildNavMesh, plLongOpWorker);
11
12public:
13 virtual plResult InitializeExecution(plStreamReader& ref_config, const plUuid& documentGuid) override;
14 virtual plResult Execute(plProgress& ref_progress, plStreamWriter& ref_proxydata) override;
15
16 plString m_sOutputPath;
17 plRecastConfig m_NavMeshConfig;
19};
Definition NavMeshWorkerOp.h:9
virtual plResult Execute(plProgress &ref_progress, plStreamWriter &ref_proxydata) override
Executed in a separete thread after InitializeExecution(). This should do the work that takes a while...
Definition NavMeshWorkerOp.cpp:30
virtual plResult InitializeExecution(plStreamReader &ref_config, const plUuid &documentGuid) override
Called within the engine processes main thread. The function may lock the plWorld from the given scen...
Definition NavMeshWorkerOp.cpp:15
Worker long ops are executed by the editor engine process.
Definition LongOps.h:52
Manages the way a progress bar is subdivided and advanced.
Definition Progress.h:36
Interface for binary in (read) streams.
Definition Stream.h:22
Interface for binary out (write) streams.
Definition Stream.h:107
This data type is the abstraction for 128-bit Uuid (also known as GUID) instances.
Definition Uuid.h:11
Definition NavMeshBuilder.h:19
Default enum for returning failure or success, instead of using a bool.
Definition Types.h:54