# class
ISimplygonReduction
The Simplygon Reduction interface which implements IMeshMerging, IMeshReduction inferfaces
# Methods (public)
Method | Description |
---|---|
GetClippingPlanes | No description available. |
GetCuttingPlaneUpdateHandler | No description available. |
GetNavmeshVisibilitySamplerUpdateHandler | No description available. |
GetNavMeshVisibilitySamples | No description available. |
RunSceneAsync | Asynchronously process the meshes given in the job data using the given pipeline. The job data object and contained data must remain valid until the async method completes. To reduce a single static mesh, add it to JobData.Meshes, call this method and collect the result from the pipeline output scene using the simplygon data converter helper methods. See the LODRecipe flow for an example on how to use the async interface. |
# GetClippingPlanes
# Syntax
TArray<FPlane> GetClippingPlanes();
# Parameters
GetClippingPlanes takes no parameters.
Return Type:
TArray<FPlane>
# GetCuttingPlaneUpdateHandler
# Syntax
FSimplygonUpdateCuttingPlanesDelegate GetCuttingPlaneUpdateHandler();
# Parameters
GetCuttingPlaneUpdateHandler takes no parameters.
Return Type:
FSimplygonUpdateCuttingPlanesDelegate
# GetNavmeshVisibilitySamplerUpdateHandler
# Syntax
FSimplygonUpdateNavMeshVisibilitySamplesDelegate GetNavmeshVisibilitySamplerUpdateHandler();
# Parameters
GetNavmeshVisibilitySamplerUpdateHandler takes no parameters.
Return Type:
FSimplygonUpdateNavMeshVisibilitySamplesDelegate
# GetNavMeshVisibilitySamples
# Syntax
TArray<FVector> GetNavMeshVisibilitySamples();
# Parameters
GetNavMeshVisibilitySamples takes no parameters.
Return Type:
TArray<FVector>
# RunSceneAsync
# Syntax
void RunSceneAsync(Simplygon::spScene, Simplygon::spPipeline, const FSimplygonJobData &, const FSimplygonProcessProgressDelegate &, const FSimplygonProcessCompleteDelegate &, const FSimplygonProcessFailedDelegate &);
# Parameters
Type | Name | Description |
---|---|---|
Simplygon::spScene | SceneToProcess | Input scene for processing. |
Simplygon::spPipeline | Pipeline | Pipeline to use. |
FSimplygonJobData | JobData | Job data including meshes to reduce, material baking data and job GUID. |
FSimplygonProcessProgressDelegate | ProgressDelegate | Callback for progress. |
FSimplygonProcessCompleteDelegate | CompleteDelegate | Callback for process completion. |
FSimplygonProcessFailedDelegate | FailedDelegate | Callback for process failure. |
Return Type:
void