Navigation
API > API/Runtime > API/Runtime/GeometryCore > API/Runtime/GeometryCore/FDynamicMeshSculptLayers
Description
Remove the given sculpt layer, discarding its contribution to the shape. Note: Shifts all sculpt layers above this index downward, which may invalidate externally-held sculpt layer indices. May also change the active layer.
| Name | DiscardSculptLayer |
| Type | function |
| Header File | /Engine/Source/Runtime/GeometryCore/Public/DynamicMesh/DynamicMeshSculptLayers.h |
| Include Path | #include "DynamicMesh/DynamicMeshSculptLayers.h" |
| Source | /Engine/Source/Runtime/GeometryCore/Private/DynamicMesh/DynamicMeshSculptLayers.cpp |
bool DiscardSculptLayer
(
int32 LayerIndex
)