Module |
|
Header |
/Engine/Source/Runtime/MeshDescription/Public/MeshDescription.h |
Include |
#include "MeshDescription.h" |
struct FMeshDescription
USTRUCT()
Name | Description | |
---|---|---|
|
FMeshDescription() |
Mesh description should be a moveable type. |
|
FMeshDescription ( |
|
|
FMeshDescription ( |
Name | Description | |
---|---|---|
|
~FMeshDescription() |
Name | Description | ||
---|---|---|---|
|
Compact ( |
Compacts the data held in the mesh description, and returns an object describing how the IDs have been remapped. |
|
|
ComputeBoundingBox() |
||
|
ComputePolygonTriangulation ( |
Generates triangles and internal edges for the given polygon |
|
|
CreateEdge |
Adds a new edge to the mesh and returns its ID |
|
|
CreateEdgeWithID |
Adds a new edge to the mesh with the given ID |
|
|
CreatePolygon ( |
Adds a new polygon to the mesh and returns its ID. |
|
|
FPolygonGrou... |
CreatePolygonGroup() |
Adds a new polygon group to the mesh and returns its ID |
|
CreatePolygonGroupWithID ( |
Adds a new polygon group to the mesh with the given ID |
|
|
CreatePolygonWithID ( |
Adds a new polygon to the mesh with the given ID. |
|
|
CreateTriangle ( |
Adds a new triangle to the mesh and returns its ID. |
|
|
CreateTriangleWithID ( |
Adds a new triangle to the mesh with the given ID. |
|
|
CreateVertex() |
Adds a new vertex to the mesh and returns its ID |
|
|
FVertexInsta... |
CreateVertexInstance ( |
Adds a new vertex instance to the mesh and returns its ID |
|
CreateVertexInstanceWithID ( |
Adds a new vertex instance to the mesh with the given ID |
|
|
CreateVertexWithID ( |
Adds a new vertex to the mesh with the given ID |
|
|
DeleteEdge |
Deletes an edge from the mesh |
|
|
DeletePolygon ( |
Deletes a polygon from the mesh |
|
|
DeletePolygonGroup ( |
Deletes a polygon group from the mesh |
|
|
DeletePolygons ( |
Deletes polygons from the mesh and remove all orphaned polygon groups, vertex instances, edges and vertices. |
|
|
DeleteTriangle ( |
Deletes a triangle from the mesh |
|
|
DeleteTriangles ( |
Deletes triangles from the mesh and remove all orphaned polygon groups, vertex instances, edges and vertices. |
|
|
DeleteVertex ( |
Deletes a vertex from the mesh |
|
|
DeleteVertexInstance ( |
Deletes a vertex instance from a mesh |
|
|
const TAttri... |
EdgeAttributes() |
|
|
TAttributesS... |
EdgeAttributes() |
|
|
const FEdgeA... |
Edges() |
|
|
Edges() |
||
|
Empty() |
Empty the meshdescription. |
|
|
FBoxSphereBo... |
GetBounds() |
Returns bounds of vertices |
|
GetEdgeConnectedPolygons ( |
Populates the passed array with polygon IDs connected to this edge |
|
|
GetEdgeConnectedPolygons ( |
Returns the polygons connected to this edge |
|
|
GetEdgeConnectedPolygons ( |
Returns the polygons connected to this edge as an array with the specified allocator template type. |
|
|
const TArray... |
GetEdgeConnectedTriangles ( |
Returns reference to an array of triangle IDs connected to this edge |
|
GetEdgeVertex |
Returns the vertex ID corresponding to one of the edge endpoints |
|
|
TArrayView< ... |
GetEdgeVertices ( |
Returns a pair of vertex IDs defining the edge |
|
GetNumEdgeConnectedPolygons ( |
Returns the number of polygons connected to this edge |
|
|
GetNumEdgeConnectedTriangles ( |
||
|
GetNumPolygonGroupPolygons ( |
Returns the number of polygons in this polygon group |
|
|
GetNumPolygonInternalEdges ( |
Return the number of internal edges in this polygon |
|
|
GetNumPolygonTriangles ( |
Return the number of triangles which comprise this polygon |
|
|
GetNumPolygonVertices ( |
Returns the number of vertices this polygon has |
|
|
GetNumVertexConnectedEdges ( |
Returns number of edges connected to this vertex |
|
|
GetNumVertexConnectedPolygons ( |
Returns the number of polygons connected to this vertex |
|
|
GetNumVertexConnectedTriangles ( |
Returns number of triangles connected to this vertex |
|
|
GetNumVertexInstanceConnectedPolygons ( |
Returns the number of polygons connected to this vertex instance. |
|
|
GetNumVertexInstanceConnectedTriangles ( |
Returns the number of triangles connected to this vertex instance |
|
|
GetNumVertexVertexInstances ( |
Returns number of vertex instances created from this vertex |
|
|
GetPolygonAdjacentPolygons ( |
Return adjacent polygons into a TArray with the specified allocator |
|
|
GetPolygonAdjacentPolygons ( |
Return adjacent polygons to this polygon |
|
|
GetPolygonAdjacentPolygons ( |
Populates the passed array with adjacent polygons |
|
|
float |
GetPolygonCornerAngleForVertex ( |
|
|
const TArray... |
GetPolygonGroupPolygons ( |
Returns the polygons associated with the given polygon group |
|
GetPolygonInternalEdges ( |
Return the internal edges of this polygon, i.e. those which separate constituent triangles |
|
|
GetPolygonInternalEdges ( |
Return the internal edges of this polygon, i.e. those which separate constituent triangles |
|
|
GetPolygonInternalEdges ( |
Populate the provided array with a list of edges which are internal to the polygon, i.e. those which separate constituent triangles. |
|
|
GetPolygonPerimeterEdges ( |
Populates the passed array with the edges which form the polygon perimeter |
|
|
GetPolygonPerimeterEdges ( |
Returns the vertices which form the polygon perimeter |
|
|
GetPolygonPerimeterEdges ( |
Returns the vertices which form the polygon perimeter as an array templated on the given allocator |
|
|
FPolygonGrou... |
GetPolygonPolygonGroup ( |
Return the polygon group associated with a polygon |
|
const TArray... |
GetPolygonTriangleIDs ( |
Return reference to an array of triangle IDs which comprise this polygon |
|
const TArray... |
GetPolygonVertexInstances ( |
Returns reference to an array of VertexInstance IDs forming the perimeter of this polygon |
|
GetPolygonVertices ( |
Populates the passed array of VertexIDs with the vertices which form the polygon perimeter |
|
|
GetPolygonVertices ( |
Returns the vertices which form the polygon perimeter |
|
|
GetPolygonVertices ( |
Returns the vertices which form the polygon perimeter as an array templated on the given allocator |
|
|
GetTriangleAdjacentTriangles ( |
Populates the passed array with adjacent triangles |
|
|
GetTriangleAdjacentTriangles ( |
Return adjacent triangles to this triangle |
|
|
GetTriangleAdjacentTriangles ( |
Return adjacent triangles into a TArray with the specified allocator |
|
|
GetTriangleEdges ( |
Populates the passed array with the edges which define this triangle |
|
|
TStaticArray... |
GetTriangleEdges ( |
Return the edges which form this triangle |
|
GetTrianglePolygon ( |
Get the polygon which contains this triangle |
|
|
FPolygonGrou... |
GetTrianglePolygonGroup ( |
Get the polygon group which contains this triangle |
|
FVertexInsta... |
GetTriangleVertexInstance ( |
Get the specified vertex instance by index |
|
TArrayView< ... |
GetTriangleVertexInstances ( |
Get the vertex instances which define this triangle |
|
GetTriangleVertices ( |
Populates the passed array with the vertices which define this triangle |
|
|
TStaticArray... |
GetTriangleVertices ( |
Return the vertices which define this triangle |
|
GetVertexAdjacentVertices |
Populates the passed array of VertexIDs with the vertices adjacent to this vertex |
|
|
GetVertexAdjacentVertices ( |
Returns the vertices adjacent to this vertex |
|
|
GetVertexAdjacentVertices ( |
Returns the vertices adjacent to this vertex as an array with the specified allocator template type. |
|
|
const TArray... |
GetVertexConnectedEdges ( |
Returns reference to an array of Edge IDs connected to this vertex |
|
GetVertexConnectedPolygons ( |
Returns the polygons connected to this vertex as an array with the specified allocator template type. |
|
|
GetVertexConnectedPolygons ( |
Populates the passed array of PolygonIDs with the polygons connected to this vertex |
|
|
GetVertexConnectedPolygons ( |
Returns the polygons connected to this vertex |
|
|
GetVertexConnectedTriangles ( |
Returns the triangles connected to this vertex as an array with the specified allocator template type. |
|
|
GetVertexConnectedTriangles ( |
Returns the triangles connected to this vertex |
|
|
GetVertexConnectedTriangles ( |
Populates the passed array of TriangleIDs with the triangles connected to this vertex |
|
|
GetVertexInstanceConnectedPolygons ( |
Returns the polygons connected to this vertex instance |
|
|
GetVertexInstanceConnectedPolygons ( |
Returns the polygons connected to this vertex instance as an array with the specified allocator template type. |
|
|
GetVertexInstanceConnectedPolygons ( |
Populates the passed array with the polygons connected to this vertex instance |
|
|
const TArray... |
GetVertexInstanceConnectedTriangles ( |
Returns reference to an array of Triangle IDs connected to this vertex instance |
|
FVertexInsta... |
GetVertexInstanceForPolygonVertex ( |
Return the vertex instance which corresponds to the given vertex on the given polygon, or FVertexInstanceID::Invalid |
|
FVertexInsta... |
GetVertexInstanceForTriangleVertex ( |
Return the vertex instance which corresponds to the given vertex on the given triangle, or FVertexInstanceID::Invalid |
|
GetVertexInstancePairEdge ( |
Returns the edge ID defined by the two given vertex instance IDs, if there is one; otherwise FEdgeID::Invalid |
|
|
GetVertexInstanceVertex ( |
Returns the vertex ID associated with the given vertex instance |
|
|
GetVertexPairEdge |
Returns the edge ID defined by the two given vertex IDs, if there is one; otherwise FEdgeID::Invalid |
|
|
const TArray... |
GetVertexVertexInstances ( |
Returns reference to an array of VertexInstance IDs instanced from this vertex |
|
IsEdgeInternal ( |
Determine whether a given edge is an internal edge between triangles of a polygon |
|
|
IsEdgeInternalToPolygon ( |
Determine whether a given edge is an internal edge between triangles of a specific polygon |
|
|
IsEdgeValid ( |
Returns whether the passed edge ID is valid |
|
|
IsEmpty() |
Return whether the mesh description is empty. |
|
|
IsPolygonGroupValid ( |
Returns whether the passed polygon group ID is valid |
|
|
IsPolygonValid ( |
Returns whether the passed polygon ID is valid |
|
|
IsTrianglePartOfNgon ( |
Determines if this triangle is part of an n-gon |
|
|
IsTriangleValid ( |
Returns whether the passed triangle ID is valid |
|
|
IsVertexInstanceValid ( |
Returns whether the passed vertex instance ID is valid |
|
|
IsVertexOrphaned ( |
Returns whether a given vertex is orphaned, i.e. it doesn't form part of any polygon |
|
|
IsVertexValid ( |
Returns whether the passed vertex ID is valid |
|
|
const TAttri... |
PolygonAttributes() |
|
|
TAttributesS... |
PolygonAttributes() |
|
|
const TAttri... |
PolygonGroupAttributes() |
|
|
TAttributesS... |
PolygonGroupAttributes() |
|
|
const FPolyg... |
PolygonGroups() |
|
|
FPolygonGrou... |
PolygonGroups() |
|
|
const FPolyg... |
Polygons() |
|
|
FPolygonArra... |
Polygons() |
|
|
Remap ( |
Remaps the element IDs in the mesh description according to the passed in object |
|
|
RemapPolygonGroups ( |
Remaps polygon groups according to the supplied map |
|
|
ReserveNewEdges ( |
Reserves space for this number of new edges |
|
|
ReserveNewPolygonGroups ( |
Reserves space for this number of new polygon groups |
|
|
ReserveNewPolygons ( |
Reserves space for this number of new polygons |
|
|
ReserveNewTriangles ( |
Reserves space for this number of new triangles |
|
|
ReserveNewVertexInstances ( |
Reserves space for this number of new vertex instances |
|
|
ReserveNewVertices ( |
Reserves space for this number of new vertices |
|
|
ReverseAllPolygonFacing() |
Reverses the winding order of all polygons in the mesh |
|
|
ReversePolygonFacing ( |
Reverse the winding order of the vertices of this polygon |
|
|
Serialize ( |
Serialize the mesh description. |
|
|
SetPolygonPolygonGroup ( |
Sets the polygon group associated with a polygon |
|
|
SetPolygonVertexInstance ( |
Set the vertex instance at the given index around the polygon to the new value |
|
|
const TAttri... |
TriangleAttributes() |
|
|
TAttributesS... |
TriangleAttributes() |
|
|
FTriangleArr... |
Triangles() |
|
|
const FTrian... |
Triangles() |
|
|
TriangulateMesh() |
Retriangulates the entire mesh |
|
|
TAttributesS... |
VertexAttributes() |
|
|
const TAttri... |
VertexAttributes() |
|
|
TAttributesS... |
VertexInstanceAttributes() |
|
|
const TAttri... |
VertexInstanceAttributes() |
|
|
FVertexInsta... |
VertexInstances() |
|
|
const FVerte... |
VertexInstances() |
|
|
FVertexArray... |
Vertices() |
|
|
const FVerte... |
Vertices() |
Name | Description | ||
---|---|---|---|
|
FMeshDescrip... |
operator= ( |
|
|
FMeshDescrip... |
operator= ( |