Navigation
API > API/Runtime > API/Runtime/GeometryCore > API/Runtime/GeometryCore/FDynamicMeshSculptLayers
Description
Update the active layer's sculpt offsets so that the sum of sculpt layers w/ current weights gives the current mesh vertex positions. Will fail if the active layer has zero weight, or if there are no sculpt layers.
| Name | UpdateLayersFromMesh |
| 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 UpdateLayersFromMesh()
true on success