Navigation
API > API/Runtime > API/Runtime/GeometryCore
| Name | FDynamicSubmesh3 |
| Type | struct |
| Header File | /Engine/Source/Runtime/GeometryCore/Public/DynamicSubmesh3.h |
| Include Path | #include "DynamicSubmesh3.h" |
Syntax
struct FDynamicSubmesh3
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Default constructor | DynamicSubmesh3.h | ||
FDynamicSubmesh3
(
const FDynamicMesh3* BaseMesh |
Base mesh-only constructor; does not build submesh | DynamicSubmesh3.h | |
FDynamicSubmesh3
(
const FDynamicMesh3* BaseMesh, |
Constructor sets the base mesh and computes the submesh | DynamicSubmesh3.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bComputeTriMaps | bool | Whether to compute triangle maps (adds additional cost). True by default. | DynamicSubmesh3.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Compute
(
const TArrayView< const int >& SubTriangles, |
Computes the Submesh object, index mappings corresponding sub to base mesh, and boundary between sub and base mesh | DynamicSubmesh3.h | |
void Compute
(
FDynamicMesh3* Base, |
Computes submesh object, setting a new BaseMesh first | DynamicSubmesh3.h | |
const TSet< int > GetBaseBorderEdges() |
DynamicSubmesh3.h | ||
const TSet< int > GetBaseBorderVertices() |
DynamicSubmesh3.h | ||
const TSet< int > GetBaseBoundaryEdges() |
DynamicSubmesh3.h | ||
const FDynamicMesh3 * GetBaseMesh() |
Const accessor for base mesh | DynamicSubmesh3.h | |
FDynamicMesh3 & GetSubmesh () |
Accessor for submesh | DynamicSubmesh3.h | |
const FDynamicMesh3 & GetSubmesh () |
Const accessor for submesh | DynamicSubmesh3.h | |
bool InBaseBorderEdges
(
int BaseEID |
DynamicSubmesh3.h | ||
bool InBaseBorderVertices
(
int BaseVID |
DynamicSubmesh3.h | ||
bool InBaseBoundaryEdges
(
int BaseEID |
DynamicSubmesh3.h | ||
int MapColorToBaseMesh
(
int SubCID |
DynamicSubmesh3.h | ||
int MapColorToSubmesh
(
int BaseCID |
DynamicSubmesh3.h | ||
void MapEdgesToSubmesh
(
TArrayView< int >& Edges |
DynamicSubmesh3.h | ||
int MapEdgeToBaseMesh
(
int SubEID |
DynamicSubmesh3.h | ||
int MapEdgeToSubmesh
(
int BaseEID |
DynamicSubmesh3.h | ||
void MapGroupsToSubmesh
(
TArrayView< int32 > GroupIDs |
DynamicSubmesh3.h | ||
int MapGroupToBaseMesh
(
int SubGID |
DynamicSubmesh3.h | ||
int MapGroupToSubmesh
(
int BaseGID |
DynamicSubmesh3.h | ||
int MapNormalToBaseMesh
(
int NormalLayer, |
DynamicSubmesh3.h | ||
int MapNormalToSubmesh
(
int NormalLayer, |
DynamicSubmesh3.h | ||
void MapTrianglesToSubmesh
(
TArrayView< int >& Triangles |
DynamicSubmesh3.h | ||
int MapTriangleToBaseMesh
(
int SubTID |
DynamicSubmesh3.h | ||
int MapTriangleToSubmesh
(
int BaseTID |
DynamicSubmesh3.h | ||
int MapUVToBaseMesh
(
int UVLayer, |
DynamicSubmesh3.h | ||
int MapUVToSubmesh
(
int UVLayer, |
DynamicSubmesh3.h | ||
int MapVertexToBaseMesh
(
int SubVID |
DynamicSubmesh3.h | ||
int MapVertexToSubmesh
(
int BaseVID |
DynamicSubmesh3.h | ||
| DynamicSubmesh3.h | |||
FIndex2i MapVerticesToSubmesh
(
FIndex2i VIDs |
DynamicSubmesh3.h | ||
void MapVerticesToSubmesh
(
TArrayView< int >& Vertices |
DynamicSubmesh3.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void ComputeBoundaryInfo
(
const TArrayView< const int >& SubTriangles |
Compute boundary vertices and edges between the SubTriangles and the rest of the mesh Called by Compute after the Submesh is computed. | DynamicSubmesh3.h |