UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
StaticMeshLODResourcesToDynamicMesh.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
5#include "CoreMinimal.h"
7
9
10namespace UE
11{
12namespace Geometry
13{
14
15
24{
25public:
26
28 {
29 bool bWantNormals = true;
30 bool bWantTangents = true;
31 bool bWantUVs = true;
32 bool bWantVertexColors = true;
33 bool bWantMaterialIDs = true;
34
35 // mesh vertex positions are multiplied by the build scale
37 };
38
39 // @param bHasVertexColors Whether to add vertex colors to the output (if available)
40 // @param GetVertexColorFromLODVertexIndex Function for getting the vertex color of a given vertex index
43 const ConversionOptions& Options,
47
50 const ConversionOptions& Options,
52
53};
54
55}
56}
FPlatformTypes::int32 int32
A 32-bit signed integer.
Definition Platform.h:1125
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
Definition AssetRegistryState.h:50
Definition DynamicMesh3.h:108
Definition StaticMeshLODResourcesToDynamicMesh.h:24
static MESHCONVERSIONENGINETYPES_API bool Convert(const FStaticMeshLODResources *StaticMeshResources, const ConversionOptions &Options, FDynamicMesh3 &OutputMesh, bool bHasVertexColors, TFunctionRef< FColor(int32)> GetVertexColorFromLODVertexIndex)
Definition StaticMeshLODResourcesToDynamicMesh.cpp:13
Definition AdvancedWidgetsModule.cpp:13
Definition Color.h:486
Definition StaticMeshResources.h:426
Definition StaticMeshLODResourcesToDynamicMesh.h:28
bool bWantVertexColors
Definition StaticMeshLODResourcesToDynamicMesh.h:32
bool bWantMaterialIDs
Definition StaticMeshLODResourcesToDynamicMesh.h:33
bool bWantUVs
Definition StaticMeshLODResourcesToDynamicMesh.h:31
bool bWantTangents
Definition StaticMeshLODResourcesToDynamicMesh.h:30
FVector3d BuildScale
Definition StaticMeshLODResourcesToDynamicMesh.h:36
bool bWantNormals
Definition StaticMeshLODResourcesToDynamicMesh.h:29
static TVector< double > One()
Definition Vector.h:115