Navigation
API > API/Plugins > API/Plugins/MeshPartitionEditor
Subclass of FDynamicSubmesh3 which allows remapping of the base mesh pointer. This is a very dangerous operation which is only possible because of the invariants established through the MegaMesh system. Remapping only occurs when caching is deemed possible, which is guaranteed to produce an identical base FDynamicMesh3. Thus, all the mappings are consistent.
| Name | FDynamicSubmesh |
| Type | struct |
| Header File | /Engine/Plugins/Experimental/MeshPartition/Source/MeshPartitionEditor/Public/MeshPartitionMeshView.h |
| Include Path | #include "MeshPartitionMeshView.h" |
Syntax
struct FDynamicSubmesh
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| MeshPartitionMeshView.h | |||
FDynamicSubmesh
(
const FDynamicSubmesh& InOther |
MeshPartitionMeshView.h | ||
FDynamicSubmesh
(
FDynamicSubmesh&& InOther |
MeshPartitionMeshView.h | ||
FDynamicSubmesh
(
const FMeshData& InSourceMesh, |
MeshPartitionMeshView.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| EdgesOnSubmeshBoundary | TSet< Geometry::FIndex2i > | Remember the edges which used to be the boundary edges of the submesh. | MeshPartitionMeshView.h | |
| Mesh | Geometry::FDynamicMesh3 | MeshPartitionMeshView.h | ||
| SourceMesh | const FMeshData * | MeshPartitionMeshView.h | ||
| TriangleMap | TMap< int, int > | Maps source mesh triangles to submesh triangles | MeshPartitionMeshView.h | |
| VertexMap | Geometry::FIndexMapi | Maps vertices to/from the source mesh from/to vertices in the submesh | MeshPartitionMeshView.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
SIZE_T GetByteCount() |
MeshPartitionMeshView.h | ||
const Geometry::FDynamicMesh3 & GetSubmesh () |
MeshPartitionMeshView.h | ||
| MeshPartitionMeshView.h | |||
bool GetSubmeshInternalBoundaryEdges
(
TSet< int >& OutSubmeshInternalBoundaryEdges |
MeshPartitionMeshView.h | ||
| MeshPartitionMeshView.h | |||
int MapVertexToBaseMesh
(
int VertexID |
MeshPartitionMeshView.h | ||
int MapVertexToSubmesh
(
int VertexID |
MeshPartitionMeshView.h | ||
void RemapToParentMesh
(
const FMeshData& InNewSourceMesh |
MeshPartitionMeshView.h | ||
bool VertexExistsInBaseMesh
(
int VertexID |
MeshPartitionMeshView.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FDynamicSubmesh & operator=
(
const FDynamicSubmesh& InOther |
MeshPartitionMeshView.h | ||
FDynamicSubmesh & operator=
(
FDynamicSubmesh&& InOther |
MeshPartitionMeshView.h |