Navigation
API > API/Runtime > API/Runtime/GeometryCore > API/Runtime/GeometryCore/DynamicMesh
Inheritance Hierarchy
- TDynamicAttributeBase
- TDynamicBoneAttributeBase
- TDynamicMeshTriangleAttribute
- TDynamicMeshScalarTriangleAttribute
- TDynamicVertexAttribute
- TDynamicVertexSkinWeightsAttribute
References
| Module | GeometryCore |
| Header | /Engine/Source/Runtime/GeometryCore/Public/DynamicMesh/DynamicAttribute.h |
| Include | #include "DynamicMesh/DynamicAttribute.h" |
Syntax
template<typename ParentType>
class TDynamicAttributeBase
Remarks
Base class for attributes that live on a dynamic mesh (or similar dynamic object)
Subclasses can override the On* functions to ensure the attribute remains up to date through changes to the dynamic object
Variables
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | CheckValidity
(
bool bAllowNonmanifold, |
Check validity of attribute | |
| void | CompactInPlace
(
const FCompactMaps& CompactMaps |
Compact the attribute in place | |
| bool | CopyIn
(
int RawID, |
Generic function to copy data in to an attribute; it's up to the derived class to map RawID to chunks of attribute data | |
| bool | CopyOut
(
int RawID, |
Generic function to copy data out of an attribute; it's up to the derived class to map RawID to chunks of attribute data | |
| void | CopyParentClassData
(
const TDynamicAttributeBase< ParentType >& Other |
Implementation of parent-class copy. | |
| bool | CopyThroughMapping
(
const TDynamicAttributeBase* Source, |
Copy data from a different attribute to this one, using the mesh index mapping to determine the correspondence | |
| FName | GetName () |
Get optional identifier for this attribute set. | |
| TDynamicAttributeBase * | MakeCompactCopy
(
const FCompactMaps& CompactMaps, |
Allocate a new compact copy of the attribute layer, optionally with a different parent. | |
| TDynamicAttributeBase * | MakeCopy
(
ParentType* ParentIn |
Allocate a new copy of the attribute layer, optionally with a different parent | |
| TDynamicAttributeBase * | MakeNew
(
ParentType* ParentIn |
Allocate a new empty instance of the same type of attribute layer | |
| TUniquePtr< TDynamicAttributeChangeBase< ParentType > > | |||
| void | OnCollapseEdge
(
const DynamicMeshInfo::FEdgeCollapseInfo& CollapseInfo |
Update to reflect an edge collapse in the parent mesh | |
| void | OnFlipEdge
(
const DynamicMeshInfo::FEdgeFlipInfo& FlipInfo |
Update to reflect an edge flip in the parent mesh | |
| void | OnMergeEdges
(
const DynamicMeshInfo::FMergeEdgesInfo& MergeInfo |
Update to reflect an edge merge in the parent mesh | |
| void | OnNewTriangle
(
int TriangleID, |
||
| void | OnNewVertex
(
int VertexID, |
||
| void | OnPokeTriangle
(
const DynamicMeshInfo::FPokeTriangleInfo& PokeInfo |
Update to reflect a face poke in the parent mesh | |
| void | OnRemoveTriangle
(
int TriangleID |
||
| void | OnRemoveVertex
(
int VertexID |
||
| void | OnReverseTriOrientation
(
int TriangleID |
||
| void | OnSplitEdge
(
const DynamicMeshInfo::FEdgeSplitInfo& SplitInfo |
Update to reflect an edge split in the parent mesh | |
| void | OnSplitVertex
(
const DynamicMeshInfo::FVertexSplitInfo& SplitInfo, |
Update to reflect an edge merge in the parent mesh | |
| void | Reparent
(
ParentType* NewParent |
Update any held pointer to the parent | |
| void | Serialize to and from an archive. | ||
| void | Set optional identifier for this attribute set. |