FDatasmithMesh::SetLightmapSourceUVChannel

Sets the UV channel that will be used as the source UVs for lightmap UVs generation at import, defaults to channel 0.

Windows
MacOS
Linux

References

Module

DatasmithCore

Header

/Engine/Source/Runtime/Datasmith/DatasmithCore/Public/DatasmithMesh.h

Include

#include "DatasmithMesh.h"

Source

/Engine/Source/Runtime/Datasmith/DatasmithCore/Private/DatasmithMesh.cpp

Syntax

void SetLightmapSourceUVChannel
(
    int32 Channel
)

Remarks

Sets the UV channel that will be used as the source UVs for lightmap UVs generation at import, defaults to channel 0. Will be overwritten during Mesh export if we choose to generate the lightmap source UVs.

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