# class
ISimplygonReduction
The Simplygon Reduction interface which implements IMeshMerging, IMeshReduction inferfaces
# Methods (public)
Method | Description |
---|---|
ClearClippingPlane | No description available. |
ClearNavmeshSamples | No description available. |
GetClippingPlanes | No description available. |
GetCuttingPlaneUpdateHandler | No description available. |
GetNavmeshVisibilitySamplerUpdateHandler | No description available. |
GetNavMeshVisibilitySamples | No description available. |
IsUsingIncrediBuild | No description available. |
RunBatchAsync | Asynchronously process the batch of scenes using the given pipelines. The job data object and contained data must remain valid until the async method completes. Add all scenes and pipelines to process to the batch, call this method and collect the result from the pipelines output scene using the simplygon data converter helper methods. See the LODRecipe flow for an example on how to use the async interface. |
RunSceneAsync | Asynchronously process the scene 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 a scene, 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. |
# ClearClippingPlane
# Syntax
void ClearClippingPlane();
# Parameters
ClearClippingPlane takes no parameters.
Return Type:
void
# ClearNavmeshSamples
# Syntax
void ClearNavmeshSamples();
# Parameters
ClearNavmeshSamples takes no parameters.
Return Type:
void
# 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
int GetNavMeshVisibilitySamples();
# Parameters
GetNavMeshVisibilitySamples takes no parameters.
Return Type:
int
# IsUsingIncrediBuild
# Syntax
bool IsUsingIncrediBuild();
# Parameters
IsUsingIncrediBuild takes no parameters.
Return Type:
bool
# RunBatchAsync
# Syntax
void RunBatchAsync(int, const FSimplygonJobData &, const FSimplygonProcessProgressDelegate &, const FSimplygonProcessBatchCompleteDelegate &, const FSimplygonProcessFailedDelegate &);
# Parameters
Type | Name | Description |
---|---|---|
int | Batch | |
FSimplygonJobData | JobData | Job data including meshes to reduce, material baking data and job GUID. |
FSimplygonProcessProgressDelegate | ProgressDelegate | Callback for progress. |
FSimplygonProcessBatchCompleteDelegate | CompleteDelegate | Callback for process completion. |
FSimplygonProcessFailedDelegate | FailedDelegate | Callback for process failure. |
Return Type:
void
# RunSceneAsync
# Syntax
void RunSceneAsync(int, int, const FSimplygonJobData &, const FSimplygonProcessProgressDelegate &, const FSimplygonProcessCompleteDelegate &, const FSimplygonProcessFailedDelegate &);
# Parameters
Type | Name | Description |
---|---|---|
int | SceneToProcess | Input scene for processing. |
int | 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