Navigation
API > API/Plugins > API/Plugins/ModelingComponents
References
| Module | ModelingComponents |
| Header | /Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponents/Public/WeightMapUtil.h |
| Include | #include "WeightMapUtil.h" |
| Source | /Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponents/Private/WeightMapUtil.cpp |
namespace UE
{
namespace WeightMaps
{
bool UE&58;&58;WeightMaps&58;&58;GetVertexWeightMap
&40;
const FMeshDescription &42; Mesh,
FName AttributeName,
FIndexedWeightMap1f & WeightMap,
float DefaultValue
&41;
}
}
Remarks
Extract a per-vertex weight map from a MeshDescription If the attribute with the given name is not found, a WeightMap initialized with the default value is returned false if weight map was not found