UE::Geometry::FindPolygroupLayerByName

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

Windows
MacOS
Linux

References

Module

DynamicMesh

Header

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

Include

#include "Polygroups/PolygroupUtil.h"

Source

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

Syntax

namespace UE
{
    namespace Geometry
    {
        FDynamicMeshPolygroupAttribute * UE::Geometry::FindPolygroupLayerByName
        (
            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

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