UCoreTechBlueprintLibrary::RetessellateStaticMeshWithNotification

Re-tessellate LOD 0 of a static mesh if it contains parametric surface data.

Windows
MacOS
Linux

References

Module

DatasmithCoreTechExtension

Header

/Engine/Plugins/Enterprise/DatasmithCADImporter/Source/DatasmithCoreTechExtension/Public/CoreTechBlueprintLibrary.h

Include

#include "CoreTechBlueprintLibrary.h"

Source

/Engine/Plugins/Enterprise/DatasmithCADImporter/Source/DatasmithCoreTechExtension/Private/CoreTechBlueprintLibrary.cpp

Syntax

[UFUNCTION](Programming/UnrealArchitecture/Reference/Functions)(Category="Datasmith | Surface Operations")
static bool RetessellateStaticMeshWithNotification
(
    UStaticMesh * StaticMesh,
    const FDatasmithTessellationOptions & TessellationSettings,
    bool bApplyChanges,
    FText & FailureReason
)

Remarks

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.

Returns

True if successful, false otherwise

Parameters

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.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss