Navigation
API > API/Developer > API/Developer/MeshUtilities
| Name | IMeshUtilities |
| Type | class |
| Header File | /Engine/Source/Developer/MeshUtilities/Public/MeshUtilities.h |
| Include Path | #include "MeshUtilities.h" |
Syntax
class IMeshUtilities : public IModuleInterface
Implements Interfaces
Structs
| Name | Remarks |
|---|---|
| MeshBuildOptions | Helper structure for skeletal mesh import options |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Build adjacency information for the skeletal mesh used for tessellation. | MeshUtilities.h | ||
bool BuildSkeletalMesh
(
FSkeletalMeshLODModel& LODModel, |
Create all render specific data for a skeletal mesh LOD model | MeshUtilities.h | |
bool BuildStaticMesh
(
FStaticMeshRenderData& OutRenderData, |
Builds a renderable static mesh using the provided source models and the LOD groups settings. | MeshUtilities.h | |
void BuildStaticMeshVertexAndIndexBuffers
(
TArray< FStaticMeshBuildVertex >& OutVertices, |
MeshUtilities.h | ||
void CacheOptimizeIndexBuffer
(
TArray< uint32 >& Indices |
Cache optimize the index buffer. | MeshUtilities.h | |
void CacheOptimizeIndexBuffer
(
TArray< uint16 >& Indices |
Cache optimize the index buffer. | MeshUtilities.h | |
void CalcBoneVertInfos
(
USkeletalMesh* SkeletalMesh, |
Calculate the verts associated weighted to each bone of the skeleton. | MeshUtilities.h | |
| Calculates MikkTSpace Tangents for a given set of vertex data with normals provided | MeshUtilities.h | ||
| Calculates Normals for a given set of vertex data | MeshUtilities.h | ||
| Calculates the overlapping corners for a given set of vertex data | MeshUtilities.h | ||
void CalculateTangents
(
const TArray< FVector3f >& InVertices, |
Calculates Tangents and Normals for a given set of vertex data | MeshUtilities.h | |
void CalculateTextureCoordinateBoundsForSkeletalMesh
(
const FSkeletalMeshLODModel& LODModel, |
Calculates UV coordinates bounds for the given Skeletal Mesh | MeshUtilities.h | |
void CalculateTriangleTangent
(
const FSoftSkinVertex& VertexA, |
Calculate The tangent, bi normal and normal for the triangle define by the tree SoftSkinVertex. | MeshUtilities.h | |
| Convert a set of mesh components in their current pose to a static mesh. | MeshUtilities.h | ||
void CreateImportDataFromLODModel
(
USkeletalMesh* InSkeletalMesh, |
This function create the import data using the LODModel. | MeshUtilities.h | |
| MeshUtilities.h | |||
void FixupMaterialSlotNames
(
USkeletalMesh* SkeletalMesh |
Used to make sure all imported material slot name are unique and non empty. | MeshUtilities.h | |
void FixupMaterialSlotNames
(
UStaticMesh* StaticMesh |
Used to make sure all imported material slot name are unique and non empty. | MeshUtilities.h | |
virtual bool GenerateCardRepresentationData
(
FString MeshName, |
MeshUtilities.h | ||
bool GenerateCardRepresentationData
(
FString MeshName, |
MeshUtilities.h | ||
void GenerateRuntimeSkinWeightData
(
const FSkeletalMeshLODModel* ImportedModel, |
Used to generate runtime skin weight data from Editor-only data | MeshUtilities.h | |
virtual void GenerateSignedDistanceFieldVolumeData
(
FString MeshName, |
MeshUtilities.h | ||
void GenerateSignedDistanceFieldVolumeData
(
FString MeshName, |
Builds a signed distance field volume for the given mesh. | MeshUtilities.h | |
bool GenerateStaticMeshLODs
(
UStaticMesh* StaticMesh, |
Builds a static mesh using the provided source models and the LOD groups settings, and replaces the RawMeshes with the reduced meshes. | MeshUtilities.h | |
bool GenerateUniqueUVsForSkeletalMesh
(
const FSkeletalMeshLODModel& LODModel, |
Calculates (new) non-overlapping UV coordinates for the given Skeletal Mesh | MeshUtilities.h | |
bool GenerateUniqueUVsForStaticMesh
(
const FRawMesh& RawMesh, |
Calculates (new) non-overlapping UV coordinates for the given Raw Mesh | MeshUtilities.h | |
bool GenerateUniqueUVsForStaticMesh
(
const FRawMesh& RawMesh, |
MeshUtilities.h | ||
const FString & GetVersionString() |
Returns a string uniquely identifying this version of mesh utilities. | MeshUtilities.h | |
int64 MemoryForGenerateMeshCardRepresentation
(
uint64_t IndexCount |
MeshUtilities.h | ||
int64_t MemoryForGenerateSignedDistanceFieldVolumeData
(
const FMeshDataForDerivedDataTask& MeshData, |
MeshUtilities.h | ||
void RecomputeTangentsAndNormalsForRawMesh
(
bool bRecomputeTangents, |
MeshUtilities.h | ||
void RecomputeTangentsAndNormalsForRawMesh
(
bool bRecomputeTangents, |
MeshUtilities.h | ||
| Remove Bones based on LODInfo setting | MeshUtilities.h |