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