Module |
|
Header |
/Engine/Plugins/Enterprise/DatasmithCADImporter/Source/DatasmithCoreTechExtension/Public/CoreTechBlueprintLibrary.h |
Include |
#include "CoreTechBlueprintLibrary.h" |
Source |
/Engine/Plugins/Enterprise/DatasmithCADImporter/Source/DatasmithCoreTechExtension/Private/CoreTechBlueprintLibrary.cpp |
[UFUNCTION](Programming/UnrealArchitecture/Reference/Functions)(Category="Datasmith | Surface Operations")
static bool RetessellateStaticMeshWithNotification
(
UStaticMesh * StaticMesh,
const FDatasmithRetessellationOptions & TessellationSettings,
bool bApplyChanges,
FText & FailureReason
)
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.
True if successful, false otherwise
Parameter |
Description |
---|---|
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. |