Navigation
API > API/Developer > API/Developer/MeshUtilities > API/Developer/MeshUtilities/IMeshUtilities
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
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 |
GenerateUniqueUVsForStaticMesh(const FRawMesh &, int32, TArray< FVector2f > &)
Description
Calculates (new) non-overlapping UV coordinates for the given Raw Mesh
| Name | GenerateUniqueUVsForStaticMesh |
| Type | function |
| Header File | /Engine/Source/Developer/MeshUtilities/Public/MeshUtilities.h |
| Include Path | #include "MeshUtilities.h" |
bool GenerateUniqueUVsForStaticMesh
(
const FRawMesh & RawMesh,
int32 TextureResolution,
TArray < FVector2f > & OutTexCoords
) const
bool - whether or not generating the UVs succeeded
Parameters
| Name | Remarks |
|---|---|
| RawMesh | Raw Mesh to generate UV coordinates for |
| TextureResolution | Texture resolution to take into account while generating the UVs |
| bMergeIdenticalMaterials | Whether faces with identical materials can be treated as one in the resulting set of unique UVs |
| OutTexCoords | New set of UV coordinates |
GenerateUniqueUVsForStaticMesh(const FRawMesh &, int32, bool, TArray< FVector2f > &)
| Name | GenerateUniqueUVsForStaticMesh |
| Type | function |
| Header File | /Engine/Source/Developer/MeshUtilities/Public/MeshUtilities.h |
| Include Path | #include "MeshUtilities.h" |
bool GenerateUniqueUVsForStaticMesh
(
const FRawMesh & RawMesh,
int32 TextureResolution,
bool bMergeIdenticalMaterials,
TArray < FVector2f > & OutTexCoords
) const