Navigation
API > API/Runtime > API/Runtime/GeometryCore > API/Runtime/GeometryCore/DynamicMesh
Inheritance Hierarchy
- TDynamicAttributeSetBase
- FDynamicMeshAttributeSet
References
| Module | GeometryCore |
| Header | /Engine/Source/Runtime/GeometryCore/Public/DynamicMesh/DynamicAttribute.h |
| Include | #include "DynamicMesh/DynamicAttribute.h" |
Syntax
template<typename ParentType>
class TDynamicAttributeSetBase
Remarks
Generic base class for managing a set of registered attributes that must all be kept up to date
Variables
| Type | Name | Description | |
|---|---|---|---|
| TArray< TDynamicAttributeBase< ParentType > * > | RegisteredAttributes | Not managed by the base class; we should be able to register any attributes here that we want to be automatically updated |
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | CheckValidity
(
bool bAllowNonmanifold, |
Check validity of attributes | |
| TDynamicAttributeBase< ParentType > * | GetRegisteredAttribute
(
int Idx |
||
| int | |||
| void | OnCollapseEdge
(
const DynamicMeshInfo::FEdgeCollapseInfo& CollapseInfo |
||
| void | OnFlipEdge
(
const DynamicMeshInfo::FEdgeFlipInfo& FlipInfo |
||
| void | OnMergeEdges
(
const DynamicMeshInfo::FMergeEdgesInfo& MergeInfo |
||
| void | OnMergeVertices
(
const DynamicMeshInfo::FMergeVerticesInfo& MergeInfo |
||
| void | OnNewTriangle
(
int TriangleID, |
These functions are called by the FDynamicMesh3 to update the various attributes when the parent mesh topology has been modified. | |
| void | OnNewVertex
(
int VertexID, |
||
| void | OnPokeTriangle
(
const DynamicMeshInfo::FPokeTriangleInfo& PokeInfo |
||
| void | OnRemoveTriangle
(
int TriangleID |
||
| void | OnRemoveVertex
(
int VertexID |
||
| void | OnReverseTriOrientation
(
int TriangleID |
||
| void | OnSplitEdge
(
const DynamicMeshInfo::FEdgeSplitInfo& SplitInfo |
Mesh-specific on* functions; may be split out | |
| void | OnSplitVertex
(
const DynamicMeshInfo::FVertexSplitInfo& SplitInfo, |
||
| void | RegisterExternalAttribute
(
TDynamicAttributeBase< ParentType >* Attribute |
Stores the given attribute pointer in the attribute register, so that it will be updated with mesh changes, but does not take ownership of the attribute memory. | |
| void | |||
| void | UnregisterExternalAttribute
(
TDynamicAttributeBase< ParentType >* Attribute |