Navigation
API > API/Developer > API/Developer/MeshDescriptionOperations
FMeshDescriptionOperations has been deprecated, most of it's features have been moved over FStaticMeshOperations.
| Name | FMeshDescriptionOperations |
| Type | class |
| Header File | /Engine/Source/Developer/MeshDescriptionOperations/Public/MeshDescriptionOperations.h |
| Include Path | #include "MeshDescriptionOperations.h" |
Syntax
class FMeshDescriptionOperations
Enums
Public
| Name | Remarks |
|---|---|
| ETangentOptions |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FAppendSettings | FStaticMeshOperations::FAppendSettings | MeshDescriptionOperations.h |
Functions
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static bool AddUVChannel
(
FMeshDescription& MeshDescription |
Add a UV channel to the MeshDescription. | MeshDescriptionOperations.h | |
static void AppendMeshDescription
(
const FMeshDescription& SourceMesh, |
MeshDescriptionOperations.h | ||
static void BuildWeldedVertexIDRemap
(
const FMeshDescription& MeshDescription, |
MeshDescriptionOperations.h | ||
static FSHAHash ComputeSHAHash
(
const FMeshDescription& MeshDescription |
Computes the SHA hash of all the attributes values in the MeshDescription. | MeshDescriptionOperations.h | |
static void ConvertFromRawMesh
(
const FRawMesh& SourceRawMesh, |
Convert old FRawMesh format to MeshDescription. | MeshDescriptionOperations.h | |
static void ConvertHardEdgesToSmoothGroup
(
const FMeshDescription& SourceMeshDescription, |
MeshDescriptionOperations.h | ||
static void ConvertSmoothGroupToHardEdges
(
const TArray< uint32 >& FaceSmoothingMasks, |
MeshDescriptionOperations.h | ||
static void ConvertToRawMesh
(
const FMeshDescription& SourceMeshDescription, |
Convert this mesh description into the old FRawMesh format. | MeshDescriptionOperations.h | |
static bool CreateLightMapUVLayout
(
FMeshDescription& MeshDescription, |
Find and pack UV charts for lightmap. | MeshDescriptionOperations.h | |
static void CreateMikktTangents
(
FMeshDescription& MeshDescription, |
Compute tangent and Bi-Normal using mikkt space for every vertex in the mesh description. | MeshDescriptionOperations.h | |
static void CreateNormals
(
FMeshDescription& MeshDescription, |
Compute normal, tangent and Bi-Normal(only if bComputeTangent is true) for every vertex in the mesh description. | MeshDescriptionOperations.h | |
static void CreatePolygonNTB
(
FMeshDescription& MeshDescription, |
Compute normal, tangent and Bi-Normal for every polygon in the mesh description. | MeshDescriptionOperations.h | |
static void FindOverlappingCorners
(
FOverlappingCorners& OverlappingCorners, |
Find all overlapping vertex using the threshold in the mesh description. | MeshDescriptionOperations.h | |
static void GenerateBoxUV
(
const FMeshDescription& MeshDescription, |
Generate box UV mapping for the MeshDescription | MeshDescriptionOperations.h | |
static void GenerateCylindricalUV
(
FMeshDescription& MeshDescription, |
Generate cylindrical UV mapping for the MeshDescription | MeshDescriptionOperations.h | |
static void GeneratePlanarUV
(
const FMeshDescription& MeshDescription, |
Generate planar UV mapping for the MeshDescription | MeshDescriptionOperations.h | |
static bool GenerateUniqueUVsForStaticMesh
(
const FMeshDescription& MeshDescription, |
Create some UVs from the specified mesh description data. | MeshDescriptionOperations.h | |
static int32 GetUVChartCount
(
FMeshDescription& MeshDescription, |
Find all charts in the mesh description. | MeshDescriptionOperations.h | |
static bool HasVertexColor
(
const FMeshDescription& MeshDescription |
MeshDescriptionOperations.h | ||
static bool InsertUVChannel
(
FMeshDescription& MeshDescription, |
Insert a UV channel at the given index to the MeshDescription. | MeshDescriptionOperations.h | |
static void RecomputeNormalsAndTangentsIfNeeded
(
FMeshDescription& MeshDescription, |
Check if all normals and tangents are valid, if not recompute them | MeshDescriptionOperations.h | |
static void RemapPolygonGroups
(
FMeshDescription& MeshDescription, |
MeshDescriptionOperations.h | ||
static bool RemoveUVChannel
(
FMeshDescription& MeshDescription, |
Remove the UV channel at the given index from the MeshDescription. | MeshDescriptionOperations.h | |
static void SwapPolygonPolygonGroup
(
FMeshDescription& MeshDescription, |
Move some polygon to a new PolygonGroup(section) SectionIndex: The target section we want to assign the polygon. | MeshDescriptionOperations.h |