Navigation
API > API/Runtime > API/Runtime/StaticMeshDescription
Inheritance Hierarchy
- FStaticMeshOperations
- FSkeletalMeshOperations
References
| Module | StaticMeshDescription |
| Header | /Engine/Source/Runtime/StaticMeshDescription/Public/StaticMeshOperations.h |
| Include | #include "StaticMeshOperations.h" |
Syntax
class FStaticMeshOperations
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | AddUVChannel
(
FMeshDescription& MeshDescription |
Add a UV channel to the MeshDescription. | |
| void | AppendMeshDescription
(
const FMeshDescription& SourceMesh, |
||
| void | AppendMeshDescriptions
(
const TArray< const FMeshDescription* >& SourceMeshes, |
||
| void | ApplyTransform
(
FMeshDescription& MeshDescription, |
Transforms the MeshDescription data using the provided transform. | |
| void | ApplyTransform
(
FMeshDescription& MeshDescription, |
Transforms the MeshDescription data using the provided transform. | |
| void | AreNormalsAndTangentsValid
(
const FMeshDescription& MeshDescription, |
||
| void | BuildWeldedVertexIDRemap
(
const FMeshDescription& MeshDescription, |
||
| void | ComputeMikktTangents
(
FMeshDescription& MeshDescription, |
Compute tangent and Bi-Normal using mikkt space for every vertex in the mesh description. | |
| FSHAHash | ComputeSHAHash
(
const FMeshDescription& MeshDescription, |
Computes the SHA hash of all the attributes values in the MeshDescription. | |
| void | ComputeTangentsAndNormals
(
FMeshDescription& MeshDescription, |
Recompute any invalid normal, tangent or Bi-Normal for every vertex in the mesh description with the given options. | |
| void | ComputeTriangleTangentsAndNormals
(
FMeshDescription& MeshDescription, |
Set the triangle tangent, normal, binormal and triangleCenter for all triangles in the mesh description. | |
| void | ConvertFromRawMesh
(
const FRawMesh& SourceRawMesh, |
Convert old FRawMesh format to MeshDescription. | |
| void | ConvertHardEdgesToSmoothGroup
(
const FMeshDescription& SourceMeshDescription, |
||
| void | ConvertSmoothGroupToHardEdges
(
const TArray< uint32 >& FaceSmoothingMasks, |
||
| void | ConvertToRawMesh
(
const FMeshDescription& SourceMeshDescription, |
Convert this mesh description into the old FRawMesh format. | |
| bool | CreateLightMapUVLayout
(
FMeshDescription& MeshDescription, |
Find and pack UV charts for lightmap. | |
| void | DetermineEdgeHardnessesFromVertexInstanceNormals
(
FMeshDescription& MeshDescription, |
Determine the edge hardnesses from existing normals | |
| void | FindOverlappingCorners
(
FOverlappingCorners& OverlappingCorners, |
Find all overlapping vertex using the threshold in the mesh description. | |
| void | FlipPolygons
(
FMeshDescription& MeshDescription |
Flip the facing for a set of input polygons. | |
| void | GenerateBoxUV
(
const FMeshDescription& MeshDescription, |
Generate box UV mapping for the MeshDescription | |
| void | GenerateCylindricalUV
(
FMeshDescription& MeshDescription, |
Generate cylindrical UV mapping for the MeshDescription | |
| void | GeneratePlanarUV
(
const FMeshDescription& MeshDescription, |
Generate planar UV mapping for the MeshDescription | |
| bool | GenerateUniqueUVsForStaticMesh
(
const FMeshDescription& MeshDescription, |
Create some UVs from the specified mesh description data. | |
| int32 | GetUniqueVertexCount
(
const FMeshDescription& MeshDescription |
Return the number of unique vertices, unique vertices are the result of welding all similar vertex instances (position, UV, tangent space, color,...) | |
| int32 | GetUniqueVertexCount
(
const FMeshDescription& MeshDescription, |
Return the number of unique vertices, unique vertices are the result of welding all similar vertex instances (position, UV, tangent space, color,...) | |
| int32 | GetUVChartCount
(
FMeshDescription& MeshDescription, |
Find all charts in the mesh description. | |
| bool | HasVertexColor
(
const FMeshDescription& MeshDescription |
||
| bool | InsertUVChannel
(
FMeshDescription& MeshDescription, |
Insert a UV channel at the given index to the MeshDescription. | |
| void | RecomputeNormalsAndTangentsIfNeeded
(
FMeshDescription& MeshDescription, |
Make sure all normals and tangents are valid. If not, recompute them. | |
| bool | RemoveUVChannel
(
FMeshDescription& MeshDescription, |
Remove the UV channel at the given index from the MeshDescription. | |
| void | ReorderMeshDescriptionPolygonGroups
(
const FMeshDescription& SourceMeshDescription, |
Reorder the destination mesh description polygon groups in the same order has the source mesh description polygon groups. | |
| void | SwapPolygonPolygonGroup
(
FMeshDescription& MeshDescription, |
Move some polygon to a new PolygonGroup(section) SectionIndex: The target section we want to assign the polygon. |
Classes
| Type | Name | Description | |
|---|---|---|---|
| FAppendSettings |
Deprecated Functions
| Type | Name | Description | |
|---|---|---|---|
| void | ComputePolygonTangentsAndNormals
(
FMeshDescription& MeshDescription, |
Please use ComputeTriangleTangentsAndNormals() instead. |