Navigation
API > API/Runtime > API/Runtime/GeometryCore > API/Runtime/GeometryCore/DynamicMesh
Inheritance Hierarchy
- TDynamicMeshOverlay
- TDynamicMeshVectorOverlay
References
| Module | GeometryCore |
| Header | /Engine/Source/Runtime/GeometryCore/Public/DynamicMesh/DynamicMeshOverlay.h |
| Include | #include "DynamicMesh/DynamicMeshOverlay.h" |
| Source | /Engine/Source/Runtime/GeometryCore/Public/DynamicMesh/Operations/SplitAttributeWelder.h |
Syntax
template<typename RealType, int ElementSize, typename VectorType>
class TDynamicMeshVectorOverlay : public UE::Geometry::TDynamicMeshOverlay< RealType, ElementSize >
Remarks
TDynamicMeshVectorOverlay is an convenient extension of TDynamicMeshOverlay that adds a specific N-element Vector type to the template, and adds accessor functions that convert between that N-element vector type and the N-element arrays used by TDynamicMeshOverlay.
Constructors
| Type | Name | Description | |
|---|---|---|---|
TDynamicMeshVectorOverlay
(
FDynamicMesh3* parentMesh |
Functions
| Type | Name | Description | |
|---|---|---|---|
| int | AppendElement
(
const VectorType& Value |
Append a new Element to the overlay | |
| int | AppendElement
(
const RealType* Value |
Append a new Element to the overlay | |
| bool | EnumerateVertexElements
(
int VertexID, |
Iterate through triangles connected to VertexID and call ProcessFunc for each per-triangle-vertex Element with its Value. | |
| VectorType | GetElement
(
int ElementID |
Get Element at a specific ID | |
| void | GetElement
(
int ElementID, |
Get Element at a specific ID | |
| VectorType | GetElementAtVertex
(
int TriangleID, |
Get the Element value associated with a vertex of a triangle. | |
| void | GetElementAtVertex
(
int TriangleID, |
Get the Element value associated with a vertex of a triangle. | |
| void | GetTriElement
(
int TriangleID, |
Get the Element associated with a vertex of a triangle | |
| void | GetTriElements
(
int TriangleID, |
Get the three Elements associated with a triangle | |
| void | SetElement
(
int ElementID, |
Set Element at a specific ID |
Typedefs
| Name | Description |
|---|---|
| BaseType |