Navigation
API > API/Plugins > API/Plugins/ParametricSurfaceExtension > API/Plugins/ParametricSurfaceExtension/UParametricSurfaceBlueprintLibra-
Description
Re-tessellate LOD 0 of a static mesh if it contains parametric surface data. This implementations allows to skip post edit operations (bApplyChanges=false), the caller is then responsible to handle those operations.
| Name | RetessellateStaticMeshWithNotification |
| Type | function |
| Header File | /Engine/Plugins/Enterprise/DatasmithCADImporter/Source/ParametricSurfaceExtension/Public/ParametricSurfaceBlueprintLibrary.h |
| Include Path | #include "ParametricSurfaceBlueprintLibrary.h" |
| Source | /Engine/Plugins/Enterprise/DatasmithCADImporter/Source/ParametricSurfaceExtension/Private/ParametricSurfaceBlueprintLibrary.cpp |
UFUNCTION (Category="Datasmith | Surface Operations")
static bool RetessellateStaticMeshWithNotification
(
UStaticMesh * StaticMesh,
const FDatasmithRetessellationOptions & TessellationSettings,
bool bApplyChanges,
FText & FailureReason
)
True if successful, false otherwise
Parameters
| Name | Remarks |
|---|---|
| StaticMesh | Static mesh to re-tessellate. |
| TessellationSettings | Tessellation settings to use. |
| bApplyChanges | Indicates if change must be notified. |
| FailureReason | Text describing the reason of failure, or a warning if the operation was successful. |