Navigation
API > API/Runtime > API/Runtime/MeshDescription
| Name | FMeshDescription |
| Type | struct |
| Header File | /Engine/Source/Runtime/MeshDescription/Public/MeshDescription.h |
| Include Path | #include "MeshDescription.h" |
Syntax
struct FMeshDescription
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Mesh description should be a moveable type. | MeshDescription.h | ||
| MeshDescription.h | |||
FMeshDescription
(
const FMeshDescription& |
MeshDescription.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~FMeshDescription() |
MeshDescription.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| EdgesName | FName | MeshDescription.h | |
| PolygonGroupsName | FName | MeshDescription.h | |
| PolygonsName | FName | MeshDescription.h | |
| TrianglesName | FName | MeshDescription.h | |
| UVsName | FName | MeshDescription.h | |
| VertexInstancesName | FName | MeshDescription.h | |
| VerticesName | FName | MeshDescription.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| EdgeElements | FMeshElementChannels * | MeshDescription.h | ||
| EdgeToTriangles | FMeshElementIndexer | MeshDescription.h | ||
| EdgeVertices | TMeshAttributesArray< TArrayView< FVertexID > > | MeshDescription.h | ||
| Elements | TMap< FName, FMeshElementTypeWrapper > | MeshDescription.h | ||
| PolygonElements | FMeshElementChannels * | MeshDescription.h | ||
| PolygonGroupElements | FMeshElementChannels * | MeshDescription.h | ||
| PolygonGroupToPolygons | FMeshElementIndexer | MeshDescription.h | ||
| PolygonGroupToTriangles | FMeshElementIndexer | MeshDescription.h | ||
| PolygonPolygonGroups | TMeshAttributesArray< FPolygonGroupID > | MeshDescription.h | ||
| PolygonToTriangles | FMeshElementIndexer | MeshDescription.h | ||
| TriangleEdges | TMeshAttributesArray< TArrayView< FEdgeID > > | MeshDescription.h | ||
| TriangleElements | FMeshElementChannels * | MeshDescription.h | ||
| TrianglePolygonGroups | TMeshAttributesArray< FPolygonGroupID > | MeshDescription.h | ||
| TrianglePolygons | TMeshAttributesArray< FPolygonID > | MeshDescription.h | ||
| TriangleUVs | TMeshAttributesArray< TArrayView< FUVID > > | MeshDescription.h | ||
| TriangleVertexInstances | TMeshAttributesArray< TArrayView< FVertexInstanceID > > | MeshDescription.h | ||
| TriangleVertices | TMeshAttributesArray< TArrayView< FVertexID > > | MeshDescription.h | ||
| UVElements | FMeshElementChannels * | MeshDescription.h | ||
| UVToTriangles | FMeshElementIndexer | MeshDescription.h | ||
| VertexElements | FMeshElementChannels * | MeshDescription.h | ||
| VertexInstanceElements | FMeshElementChannels * | MeshDescription.h | ||
| VertexInstanceToTriangles | FMeshElementIndexer | MeshDescription.h | ||
| VertexInstanceVertices | TMeshAttributesArray< FVertexID > | MeshDescription.h | ||
| VertexPositions | TMeshAttributesArray< FVector3f > | MeshDescription.h | ||
| VertexToEdges | FMeshElementIndexer | MeshDescription.h | ||
| VertexToVertexInstances | FMeshElementIndexer | The indexers are all mutable because they may be rebuilt during what is essentially a get operation. | MeshDescription.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void BuildEdgeIndexers() |
MeshDescription.h | ||
void BuildIndexers() |
MeshDescription.h | ||
void BuildPolygonGroupIndexers() |
MeshDescription.h | ||
void BuildPolygonIndexers() |
MeshDescription.h | ||
void BuildVertexIndexers() |
MeshDescription.h | ||
void BuildVertexInstanceIndexers() |
MeshDescription.h | ||
void Compact
(
FElementIDRemappings& OutRemappings |
Compacts the data held in the mesh description, and returns an object describing how the IDs have been remapped. | MeshDescription.h | |
FBox ComputeBoundingBox() |
MeshDescription.h | ||
void ComputePolygonTriangulation
(
const FPolygonID PolygonID |
Generates triangles and internal edges for the given polygon | MeshDescription.h | |
| Adds a new edge to the mesh and returns its ID | MeshDescription.h | ||
| Adds a new edge to the mesh with the given ID | MeshDescription.h | ||
FPolygonID CreatePolygon
(
const FPolygonGroupID PolygonGroupID, |
Adds a new polygon to the mesh and returns its ID. | MeshDescription.h | |
FPolygonGroupID CreatePolygonGroup() |
Adds a new polygon group to the mesh and returns its ID | MeshDescription.h | |
void CreatePolygonGroupWithID
(
const FPolygonGroupID PolygonGroupID |
Adds a new polygon group to the mesh with the given ID | MeshDescription.h | |
void CreatePolygonWithID
(
const FPolygonID PolygonID, |
Adds a new polygon to the mesh with the given ID. | MeshDescription.h | |
FTriangleID CreateTriangle
(
const FPolygonGroupID PolygonGroupID, |
Adds a new triangle to the mesh and returns its ID. | MeshDescription.h | |
void CreateTriangleWithID
(
const FTriangleID TriangleID, |
Adds a new triangle to the mesh with the given ID. | MeshDescription.h | |
FUVID CreateUV
(
const int32 UVChannel |
Adds a new UV to the mesh and returns its ID | MeshDescription.h | |
void CreateUVWithID
(
const FUVID UVID, |
Adds a new UV to the mesh with the given ID | MeshDescription.h | |
FVertexID CreateVertex() |
Adds a new vertex to the mesh and returns its ID | MeshDescription.h | |
FVertexInstanceID CreateVertexInstance
(
const FVertexID VertexID |
Adds a new vertex instance to the mesh and returns its ID | MeshDescription.h | |
void CreateVertexInstanceWithID
(
const FVertexInstanceID VertexInstanceID, |
Adds a new vertex instance to the mesh with the given ID | MeshDescription.h | |
void CreateVertexWithID
(
const FVertexID VertexID |
Adds a new vertex to the mesh with the given ID | MeshDescription.h | |
| Deletes an edge from the mesh | MeshDescription.h | ||
void DeletePolygon
(
const FPolygonID PolygonID, |
Deletes a polygon from the mesh | MeshDescription.h | |
void DeletePolygonGroup
(
const FPolygonGroupID PolygonGroupID |
Deletes a polygon group from the mesh | MeshDescription.h | |
void DeletePolygons
(
const TArray< FPolygonID >& Polygons |
Deletes polygons from the mesh and remove all orphaned polygon groups, vertex instances, edges and vertices. | MeshDescription.h | |
void DeleteTriangle
(
const FTriangleID TriangleID, |
Deletes a triangle from the mesh | MeshDescription.h | |
void DeleteTriangles
(
const TArray< FTriangleID >& Triangles |
Deletes triangles from the mesh and remove all orphaned polygon groups, vertex instances, edges and vertices. | MeshDescription.h | |
void DeleteUV
(
const FUVID UVID, |
Deletes a UV from the mesh | MeshDescription.h | |
void DeleteVertex
(
const FVertexID VertexID |
Deletes a vertex from the mesh | MeshDescription.h | |
void DeleteVertexInstance
(
const FVertexInstanceID VertexInstanceID, |
Deletes a vertex instance from a mesh | MeshDescription.h | |
TAttributesSet< FEdgeID > & EdgeAttributes () |
MeshDescription.h | ||
const TAttributesSet< FEdgeID > & EdgeAttributes () |
MeshDescription.h | ||
const FEdgeArray & Edges () |
MeshDescription.h | ||
FEdgeArray & Edges () |
MeshDescription.h | ||
void Empty() |
Empty the meshdescription. | MeshDescription.h | |
void FindPolygonPerimeter
(
const FPolygonID PolygonID, |
MeshDescription.h | ||
void FindPolygonPerimeter
(
TArrayView< const FTriangleID > Triangles, |
Determines the vertex instances which form the perimeter of a polygon | MeshDescription.h | |
FBoxSphereBounds GetBounds() |
Returns bounds of vertices | MeshDescription.h | |
TArray< FPolygonID, Alloc > GetEdgeConnectedPolygons
(
const FEdgeID EdgeID |
Returns the polygons connected to this edge as an array with the specified allocator template type. | MeshDescription.h | |
void GetEdgeConnectedPolygons
(
const FEdgeID EdgeID, |
Populates the passed array with polygon IDs connected to this edge | MeshDescription.h | |
TArray< FPolygonID > GetEdgeConnectedPolygons
(
const FEdgeID EdgeID |
Returns the polygons connected to this edge | MeshDescription.h | |
TArrayView< const FTriangleID > GetEdgeConnectedTriangleIDs
(
const FEdgeID EdgeID |
Returns reference to an array of triangle IDs connected to this edge | MeshDescription.h | |
TArray< FTriangleID > GetEdgeConnectedTriangles
(
const FEdgeID EdgeID |
MeshDescription.h | ||
| Returns the vertex ID corresponding to one of the edge endpoints | MeshDescription.h | ||
TArrayView< const FVertexID > GetEdgeVertices
(
const FEdgeID EdgeID |
Returns a pair of vertex IDs defining the edge | MeshDescription.h | |
const TMap< FName, FMeshElementTypeWrapper > & GetElements () |
MeshDescription.h | ||
TMap< FName, FMeshElementTypeWrapper > & GetElements () |
MeshDescription.h | ||
int32 GetNumEdgeConnectedPolygons
(
const FEdgeID EdgeID |
Returns the number of polygons connected to this edge | MeshDescription.h | |
int32 GetNumEdgeConnectedTriangles
(
const FEdgeID EdgeID |
MeshDescription.h | ||
int32 GetNumPolygonGroupPolygons
(
const FPolygonGroupID PolygonGroupID |
Returns the number of polygons in this polygon group | MeshDescription.h | |
int32 GetNumPolygonGroupTriangles
(
const FPolygonGroupID PolygonGroupID |
Returns the number of triangles in this polygon group | MeshDescription.h | |
int32 GetNumPolygonInternalEdges
(
const FPolygonID PolygonID |
Return the number of internal edges in this polygon | MeshDescription.h | |
int32 GetNumPolygonTriangles
(
const FPolygonID PolygonID |
Return the number of triangles which comprise this polygon | MeshDescription.h | |
int32 GetNumPolygonVertices
(
const FPolygonID PolygonID |
Returns the number of vertices this polygon has | MeshDescription.h | |
int32 GetNumUVElementChannels() |
Gets the number of UV element channels | MeshDescription.h | |
int32 GetNumVertexConnectedEdges
(
const FVertexID VertexID |
Returns number of edges connected to this vertex | MeshDescription.h | |
int32 GetNumVertexConnectedPolygons
(
const FVertexID VertexID |
Returns the number of polygons connected to this vertex | MeshDescription.h | |
int32 GetNumVertexConnectedTriangles
(
const FVertexID VertexID |
Returns number of triangles connected to this vertex | MeshDescription.h | |
int32 GetNumVertexInstanceConnectedPolygons
(
const FVertexInstanceID VertexInstanceID |
Returns the number of polygons connected to this vertex instance. | MeshDescription.h | |
int32 GetNumVertexInstanceConnectedTriangles
(
const FVertexInstanceID VertexInstanceID |
Returns the number of triangles connected to this vertex instance | MeshDescription.h | |
int32 GetNumVertexVertexInstances
(
const FVertexID VertexID |
Returns number of vertex instances created from this vertex | MeshDescription.h | |
TArray< FPolygonID, Alloc > GetPolygonAdjacentPolygons
(
const FPolygonID PolygonID |
Return adjacent polygons into a TArray with the specified allocator | MeshDescription.h | |
void GetPolygonAdjacentPolygons
(
const FPolygonID PolygonID, |
Populates the passed array with adjacent polygons | MeshDescription.h | |
TArray< FPolygonID > GetPolygonAdjacentPolygons
(
const FPolygonID PolygonID |
Return adjacent polygons to this polygon | MeshDescription.h | |
float GetPolygonCornerAngleForVertex
(
const FPolygonID PolygonID, |
MeshDescription.h | ||
TArrayView< const FPolygonID > GetPolygonGroupPolygonIDs
(
const FPolygonGroupID PolygonGroupID |
Returns the polygons associated with the given polygon group | MeshDescription.h | |
TArray< FPolygonID > GetPolygonGroupPolygons
(
const FPolygonGroupID PolygonGroupID |
MeshDescription.h | ||
TArrayView< const FTriangleID > GetPolygonGroupTriangles
(
const FPolygonGroupID PolygonGroupID |
Returns the triangles associated with the given polygon group | MeshDescription.h | |
TArray< FEdgeID, Alloc > GetPolygonInternalEdges
(
const FPolygonID PolygonID |
Return the internal edges of this polygon, i.e. those which separate constituent triangles | MeshDescription.h | |
TArray< FEdgeID > GetPolygonInternalEdges
(
const FPolygonID PolygonID |
Return the internal edges of this polygon, i.e. those which separate constituent triangles | MeshDescription.h | |
void GetPolygonInternalEdges
(
const FPolygonID PolygonID, |
Populate the provided array with a list of edges which are internal to the polygon, i.e. those which separate constituent triangles. | MeshDescription.h | |
TArray< FEdgeID, Alloc > GetPolygonPerimeterEdges
(
const FPolygonID PolygonID |
Returns the vertices which form the polygon perimeter as an array templated on the given allocator | MeshDescription.h | |
TArray< FEdgeID > GetPolygonPerimeterEdges
(
const FPolygonID PolygonID |
Returns the vertices which form the polygon perimeter | MeshDescription.h | |
void GetPolygonPerimeterEdges
(
const FPolygonID PolygonID, |
Populates the passed array with the edges which form the polygon perimeter | MeshDescription.h | |
FPolygonGroupID GetPolygonPolygonGroup
(
const FPolygonID PolygonID |
Return the polygon group associated with a polygon | MeshDescription.h | |
TArray< FTriangleID > GetPolygonTriangleIDs
(
const FPolygonID PolygonID |
MeshDescription.h | ||
TArrayView< const FTriangleID > GetPolygonTriangles
(
const FPolygonID PolygonID |
Return reference to an array of triangle IDs which comprise this polygon | MeshDescription.h | |
TArray< FVertexInstanceID > GetPolygonVertexInstances
(
const FPolygonID PolygonID |
MeshDescription.h | ||
TArray< FVertexInstanceID, Alloc > GetPolygonVertexInstances
(
const FPolygonID PolygonID |
MeshDescription.h | ||
void GetPolygonVertexInstances
(
const FPolygonID PolygonID, |
Returns reference to an array of VertexInstance IDs forming the perimeter of this polygon | MeshDescription.h | |
TArray< FVertexID > GetPolygonVertices
(
const FPolygonID PolygonID |
Returns the vertices which form the polygon perimeter | MeshDescription.h | |
void GetPolygonVertices
(
const FPolygonID PolygonID, |
Populates the passed array of VertexIDs with the vertices which form the polygon perimeter | MeshDescription.h | |
TArray< FVertexID, Alloc > GetPolygonVertices
(
const FPolygonID PolygonID |
Returns the vertices which form the polygon perimeter as an array templated on the given allocator | MeshDescription.h | |
void GetTriangleAdjacentTriangles
(
const FTriangleID TriangleID, |
Populates the passed array with adjacent triangles | MeshDescription.h | |
TArray< FTriangleID > GetTriangleAdjacentTriangles
(
const FTriangleID TriangleID |
Return adjacent triangles to this triangle | MeshDescription.h | |
TArray< FTriangleID, Alloc > GetTriangleAdjacentTriangles
(
const FTriangleID TriangleID |
Return adjacent triangles into a TArray with the specified allocator | MeshDescription.h | |
float GetTriangleCornerAngleForVertex
(
const FTriangleID TriangleID, |
MeshDescription.h | ||
void GetTriangleEdges
(
const FTriangleID TriangleID, |
Populates the passed array with the edges which define this triangle | MeshDescription.h | |
TArrayView< FEdgeID > GetTriangleEdges
(
const FTriangleID TriangleID |
Return the edges which form this triangle | MeshDescription.h | |
FPolygonID GetTrianglePolygon
(
const FTriangleID TriangleID |
Get the polygon which contains this triangle | MeshDescription.h | |
FPolygonGroupID GetTrianglePolygonGroup
(
const FTriangleID TriangleID |
Get the polygon group which contains this triangle | MeshDescription.h | |
TArrayView< FUVID > GetTriangleUVIndices
(
const FTriangleID TriangleID, |
Return UV indices for this triangle for the given channel | MeshDescription.h | |
FVertexInstanceID GetTriangleVertexInstance
(
const FTriangleID TriangleID, |
Get the specified vertex instance by index | MeshDescription.h | |
TArrayView< const FVertexInstanceID > GetTriangleVertexInstances
(
const FTriangleID TriangleID |
Get the vertex instances which define this triangle | MeshDescription.h | |
TArrayView< const FVertexID > GetTriangleVertices
(
const FTriangleID TriangleID |
Return the vertices which define this triangle | MeshDescription.h | |
void GetTriangleVertices
(
const FTriangleID TriangleID, |
Populates the passed array with the vertices which define this triangle | MeshDescription.h | |
TArray< FVertexID > GetVertexAdjacentVertices
(
const FVertexID VertexID |
Returns the vertices adjacent to this vertex | MeshDescription.h | |
TArray< FVertexID, Alloc > GetVertexAdjacentVertices
(
const FVertexID VertexID |
Returns the vertices adjacent to this vertex as an array with the specified allocator template type. | MeshDescription.h | |
void GetVertexAdjacentVertices
(
const FVertexID VertexID, |
Populates the passed array of VertexIDs with the vertices adjacent to this vertex | MeshDescription.h | |
TArrayView< const FEdgeID > GetVertexConnectedEdgeIDs
(
const FVertexID VertexID |
Returns reference to an array of Edge IDs connected to this vertex | MeshDescription.h | |
| MeshDescription.h | |||
TArray< FPolygonID, Alloc > GetVertexConnectedPolygons
(
const FVertexID VertexID |
Returns the polygons connected to this vertex as an array with the specified allocator template type. | MeshDescription.h | |
TArray< FPolygonID > GetVertexConnectedPolygons
(
const FVertexID VertexID |
Returns the polygons connected to this vertex | MeshDescription.h | |
void GetVertexConnectedPolygons
(
const FVertexID VertexID, |
Populates the passed array of PolygonIDs with the polygons connected to this vertex | MeshDescription.h | |
void GetVertexConnectedTriangles
(
const FVertexID VertexID, |
Populates the passed array of TriangleIDs with the triangles connected to this vertex | MeshDescription.h | |
TArray< FTriangleID > GetVertexConnectedTriangles
(
const FVertexID VertexID |
Returns the triangles connected to this vertex | MeshDescription.h | |
TArray< FTriangleID, Alloc > GetVertexConnectedTriangles
(
const FVertexID VertexID |
Returns the triangles connected to this vertex as an array with the specified allocator template type. | MeshDescription.h | |
void GetVertexInstanceConnectedPolygons
(
const FVertexInstanceID VertexInstanceID, |
Populates the passed array with the polygons connected to this vertex instance | MeshDescription.h | |
TArray< FPolygonID, Alloc > GetVertexInstanceConnectedPolygons
(
const FVertexInstanceID VertexInstanceID |
Returns the polygons connected to this vertex instance as an array with the specified allocator template type. | MeshDescription.h | |
TArray< FPolygonID > GetVertexInstanceConnectedPolygons
(
const FVertexInstanceID VertexInstanceID |
Returns the polygons connected to this vertex instance | MeshDescription.h | |
TArrayView< const FTriangleID > GetVertexInstanceConnectedTriangleIDs
(
const FVertexInstanceID VertexInstanceID |
Returns reference to an array of Triangle IDs connected to this vertex instance | MeshDescription.h | |
TArray< FTriangleID > GetVertexInstanceConnectedTriangles
(
const FVertexInstanceID VertexInstanceID |
MeshDescription.h | ||
FVertexInstanceID GetVertexInstanceForPolygonVertex
(
const FPolygonID PolygonID, |
Return the vertex instance which corresponds to the given vertex on the given polygon, or INDEX_NONE | MeshDescription.h | |
FVertexInstanceID GetVertexInstanceForTriangleVertex
(
const FTriangleID TriangleID, |
Return the vertex instance which corresponds to the given vertex on the given triangle, or INDEX_NONE | MeshDescription.h | |
FEdgeID GetVertexInstancePairEdge
(
const FVertexInstanceID VertexInstanceID0, |
Returns the edge ID defined by the two given vertex instance IDs, if there is one; otherwise INDEX_NONE | MeshDescription.h | |
FVertexID GetVertexInstanceVertex
(
const FVertexInstanceID VertexInstanceID |
Returns the vertex ID associated with the given vertex instance | MeshDescription.h | |
| Returns the edge ID defined by the two given vertex IDs, if there is one; otherwise INDEX_NONE | MeshDescription.h | ||
FVector3f GetVertexPosition
(
const FVertexID VertexID |
Returns the position of this vertex | MeshDescription.h | |
TVertexAttributesRef< const FVector3f > GetVertexPositions () |
MeshDescription.h | ||
TVertexAttributesRef< FVector3f > GetVertexPositions () |
MeshDescription.h | ||
TArrayView< const FVertexInstanceID > GetVertexVertexInstanceIDs
(
const FVertexID VertexID |
Returns reference to an array of VertexInstance IDs instanced from this vertex | MeshDescription.h | |
TArray< FVertexInstanceID > GetVertexVertexInstances
(
const FVertexID VertexID |
MeshDescription.h | ||
bool IsEdgeInternal
(
const FEdgeID EdgeID |
Determine whether a given edge is an internal edge between triangles of a polygon | MeshDescription.h | |
bool IsEdgeInternalToPolygon
(
const FEdgeID EdgeID, |
Determine whether a given edge is an internal edge between triangles of a specific polygon | MeshDescription.h | |
bool IsEdgeValid
(
const FEdgeID EdgeID |
Returns whether the passed edge ID is valid | MeshDescription.h | |
bool IsEmpty() |
Return whether the mesh description is empty. | MeshDescription.h | |
bool IsPolygonGroupValid
(
const FPolygonGroupID PolygonGroupID |
Returns whether the passed polygon group ID is valid | MeshDescription.h | |
bool IsPolygonValid
(
const FPolygonID PolygonID |
Returns whether the passed polygon ID is valid | MeshDescription.h | |
bool IsTrianglePartOfNgon
(
const FTriangleID TriangleID |
Determines if this triangle is part of an n-gon | MeshDescription.h | |
bool IsTriangleValid
(
const FTriangleID TriangleID |
Returns whether the passed triangle ID is valid | MeshDescription.h | |
bool IsUVValid
(
const FUVID UVID, |
Returns whether the passed UV ID is valid | MeshDescription.h | |
bool IsVertexInstanceValid
(
const FVertexInstanceID VertexInstanceID |
Returns whether the passed vertex instance ID is valid | MeshDescription.h | |
bool IsVertexOrphaned
(
const FVertexID VertexID |
Returns whether a given vertex is orphaned, i.e. it doesn't form part of any polygon | MeshDescription.h | |
bool IsVertexValid
(
const FVertexID VertexID |
Returns whether the passed vertex ID is valid | MeshDescription.h | |
bool NeedsCompact() |
Determines if calling Compact() would perform actual compaction or not. | MeshDescription.h | |
| MeshDescription.h | |||
const TAttributesSet< FPolygonID > & PolygonAttributes () |
MeshDescription.h | ||
| MeshDescription.h | |||
const TAttributesSet< FPolygonGroupID > & PolygonGroupAttributes () |
MeshDescription.h | ||
FPolygonGroupArray & PolygonGroups () |
MeshDescription.h | ||
const FPolygonGroupArray & PolygonGroups () |
MeshDescription.h | ||
FPolygonArray & Polygons () |
MeshDescription.h | ||
const FPolygonArray & Polygons () |
MeshDescription.h | ||
void RebuildIndexers() |
MeshDescription.h | ||
void Remap
(
const FElementIDRemappings& Remappings |
Remaps the element IDs in the mesh description according to the passed in object | MeshDescription.h | |
void RemapPolygonGroups
(
const TMap< FPolygonGroupID, FPolygonGroupID >& Remap |
Remaps polygon groups according to the supplied map | MeshDescription.h | |
void ReserveNewEdges
(
const int32 NumEdges |
Reserves space for this number of new edges | MeshDescription.h | |
void ReserveNewPolygonGroups
(
const int32 NumPolygonGroups |
Reserves space for this number of new polygon groups | MeshDescription.h | |
void ReserveNewPolygons
(
const int32 NumPolygons |
Reserves space for this number of new polygons | MeshDescription.h | |
void ReserveNewTriangles
(
const int32 NumTriangles |
Reserves space for this number of new triangles | MeshDescription.h | |
void ReserveNewUVs
(
const int32 NumUVs, |
Reserves space for this number of new UVs | MeshDescription.h | |
void ReserveNewVertexInstances
(
const int32 NumVertexInstances |
Reserves space for this number of new vertex instances | MeshDescription.h | |
void ReserveNewVertices
(
const int32 NumVertices |
Reserves space for this number of new vertices | MeshDescription.h | |
void ResetIndexers() |
Operations on all the indexers. | MeshDescription.h | |
void ResumeEdgeIndexing() |
MeshDescription.h | ||
void ResumePolygonGroupIndexing() |
MeshDescription.h | ||
void ResumePolygonIndexing() |
MeshDescription.h | ||
void ResumeUVIndexing() |
MeshDescription.h | ||
void ResumeVertexIndexing() |
MeshDescription.h | ||
void ResumeVertexInstanceIndexing() |
MeshDescription.h | ||
void ReverseAllPolygonFacing() |
Reverses the winding order of all polygons in the mesh | MeshDescription.h | |
void ReversePolygonFacing
(
const FPolygonID PolygonID |
Reverse the winding order of the vertices of this polygon | MeshDescription.h | |
void ReverseTriangleFacing
(
const FTriangleID TriangleID |
Reverse the winding order of the vertices of this triangle | MeshDescription.h | |
void Serialize
(
FArchive& Ar |
Serialize the mesh description. | MeshDescription.h | |
void SerializeLegacy
(
FArchive& Ar |
Legacy serialization for old assets. | MeshDescription.h | |
void SetNumUVChannels
(
const int32 NumUVChannels |
Sets the specified number of UV channels | MeshDescription.h | |
void SetPolygonPolygonGroup
(
const FPolygonID PolygonID, |
Sets the polygon group associated with a polygon | MeshDescription.h | |
void SetPolygonVertexInstance
(
const FPolygonID PolygonID, |
Set the vertex instance at the given index around the polygon to the new value | MeshDescription.h | |
void SetPolygonVertexInstances
(
const FPolygonID PolygonID, |
MeshDescription.h | ||
void SetTriangleUVIndices
(
const FTriangleID TriangleID, |
Set the UV indices for this triangle | MeshDescription.h | |
void SplitPolygon
(
FPolygonID PolygonID |
MeshDescription.h | ||
void SuspendEdgeIndexing() |
MeshDescription.h | ||
void SuspendPolygonGroupIndexing() |
MeshDescription.h | ||
void SuspendPolygonIndexing() |
MeshDescription.h | ||
void SuspendUVIndexing() |
MeshDescription.h | ||
void SuspendVertexIndexing() |
MeshDescription.h | ||
void SuspendVertexInstanceIndexing() |
MeshDescription.h | ||
void TransferPolygonGroup
(
FPolygonGroupID SourceID, |
Transfer the source polygon group data to the destination polygon group. | MeshDescription.h | |
| MeshDescription.h | |||
const TAttributesSet< FTriangleID > & TriangleAttributes () |
MeshDescription.h | ||
FTriangleArray & Triangles () |
MeshDescription.h | ||
const FTriangleArray & Triangles () |
MeshDescription.h | ||
void TriangulateMesh() |
Retriangulates the entire mesh | MeshDescription.h | |
TAttributesSet< FUVID > & UVAttributes
(
int32 Index |
MeshDescription.h | ||
const TAttributesSet< FUVID > & UVAttributes
(
int32 Index |
MeshDescription.h | ||
const FUVArray & UVs
(
int32 Index |
MeshDescription.h | ||
FUVArray & UVs
(
int32 Index |
MeshDescription.h | ||
TAttributesSet< FVertexID > & VertexAttributes () |
MeshDescription.h | ||
const TAttributesSet< FVertexID > & VertexAttributes () |
MeshDescription.h | ||
| MeshDescription.h | |||
const TAttributesSet< FVertexInstanceID > & VertexInstanceAttributes () |
MeshDescription.h | ||
FVertexInstanceArray & VertexInstances () |
MeshDescription.h | ||
const FVertexInstanceArray & VertexInstances () |
MeshDescription.h | ||
FVertexArray & Vertices () |
MeshDescription.h | ||
const FVertexArray & Vertices () |
MeshDescription.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FMeshDescription & operator=
(
const FMeshDescription& |
MeshDescription.h | ||
| MeshDescription.h |