UE::MeshDescription::InitializeAutoGeneratedAttributes

Populate any auto-generated attributes of a [FMeshDescription](API\Runtime\MeshDescription\FMeshDescription) that are currently invalid (eg Normals/Tangents, which may be zero until calculated)

Windows
MacOS
Linux

References

Module

ModelingComponents

Header

/Engine/Plugins/Experimental/MeshModelingToolset/Source/ModelingComponents/Public/AssetUtils/MeshDescriptionUtil.h

Include

#include "AssetUtils/MeshDescriptionUtil.h"

Source

/Engine/Plugins/Experimental/MeshModelingToolset/Source/ModelingComponents/Private/AssetUtils/MeshDescriptionUtil.cpp

Syntax

namespace UE
{
    namespace MeshDescription
    {
        void UE::MeshDescription::InitializeAutoGeneratedAttributes
        (
            FMeshDescription & Mesh,
            UActorComponent * StaticMeshComponent,
            int32 SourceLOD
        )
    }
}

Remarks

Populate any auto-generated attributes of a FMeshDescription that are currently invalid (eg Normals/Tangents, which may be zero until calculated)

Parameters

Parameter

Description

StaticMeshComponent

BuildSettings for the Mesh are fetched from this Component's UStaticMesh

SourceLOD

BuildSettings from this LOD Index are used

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