UE::Geometry::FindPolygroupLayerByName

Find the first FDynamicMeshPolygroupAttribute with the given [FName](API\Runtime\Core\UObject\FName) in a the AttributeSet of a Mesh.

Choose your operating system:

Windows

macOS

Linux

References

Module

DynamicMesh

Header

/Engine/Plugins/Runtime/GeometryProcessing/Source/DynamicMesh/Public/Polygroups/PolygroupUtil.h

Include

#include "Polygroups/PolygroupUtil.h"

Source

/Engine/Plugins/Runtime/GeometryProcessing/Source/DynamicMesh/Private/Polygroups/PolygroupUtil.cpp

Syntax

namespace UE
{
    namespace Geometry
    {
        const FDynamicMeshPolygroupAttribute * UE::Geometry::FindPolygroupLayerByName
        (
            const FDynamicMesh3 & Mesh,
            FName Name
        )
    }
}

Remarks

Find the first FDynamicMeshPolygroupAttribute with the given FName in a the AttributeSet of a Mesh.

Returns

nullptr if no Polygroup layer is found