| TDynamicAttributeSetBase
|
Module |
|
Header |
/Engine/Plugins/Experimental/GeometryProcessing/Source/DynamicMesh/Public/DynamicMeshAttributeSet.h |
Include |
#include "DynamicMeshAttributeSet.h" |
class FDynamicMeshAttributeSet : public TDynamicAttributeSetBase< FDynamicMesh3 >
FDynamicMeshAttributeSet manages a set of extended attributes for a FDynamicMesh3. This includes UV and Normal overlays, etc.
Currently the default is to always have one UV layer and one Normal layer
Name | Description | ||
---|---|---|---|
|
GenericAttributes |
||
|
TUniquePtr< FDy... |
MaterialIDAttrib |
|
|
NormalLayers |
||
|
Normals0 |
Default Normals layer |
|
|
FDynamicMesh3 &... |
ParentMesh |
Parent mesh of this attribute set |
|
TIndirectArray<... |
UVLayers |
Name | Description | |
---|---|---|
|
FDynamicMeshAttributeSet ( |
Name | Description | |
---|---|---|
|
~FDynamicMeshAttributeSet() |
Name | Description | ||
---|---|---|---|
|
int |
AttachAttribute ( |
Attach a new attribute (and transfer ownership of it to the attribute set) |
|
CompactCopy ( |
Performs a CompactCopy of the attached overlays/attributes. |
|
|
CompactInPlace ( |
Compacts the attribute set in place Called by the parent mesh CompactInPlace function |
|
|
Copy ( |
||
|
DisableMaterialID() |
||
|
EnableMatchingAttributes ( |
Enable the matching attributes and overlay layers as the reference Copy set, but do not copy any data across |
|
|
EnableMaterialID() |
||
|
const TArray... |
GetAllNormalLayers() |
|
|
FDynamicMesh... |
GetAttachedAttribute ( |
|
|
const FDynam... |
GetMaterialID() |
|
|
FDynamicMesh... |
GetMaterialID() |
|
|
const FDynam... |
GetNormalLayer ( |
|
|
FDynamicMesh... |
GetNormalLayer ( |
Normal Layers |
|
FDynamicMesh... |
GetParentMesh() |
|
|
const FDynam... |
GetParentMesh() |
|
|
const FDynam... |
GetUVLayer ( |
|
|
FDynamicMesh... |
GetUVLayer ( |
UV Layers |
|
HasMaterialID() |
Per-Triangle Material ID |
|
|
Initialize ( |
Initialize the existing attribute layers with the given vertex and triangle sizes |
|
|
IsCompact() |
Returns true if the attached overlays/attributes are compact |
|
|
IsMaterialBoundaryEdge ( |
||
|
IsSeamEdge ( |
||
|
IsSeamVertex ( |
||
|
int |
NumAttachedAttributes() |
|
|
int |
NumNormalLayers() |
|
|
int |
NumUVLayers() |
|
|
FDynamicMesh... |
PrimaryNormals() |
|
|
const FDynam... |
PrimaryNormals() |
|
|
FDynamicMesh... |
PrimaryUV() |
|
|
const FDynam... |
PrimaryUV() |
|
|
SetNumUVLayers ( |
Name | Description | ||
---|---|---|---|
|
CheckValidity ( |
Check validity of attributes |
|
|
OnCollapseEdge ( |
||
|
OnFlipEdge ( |
||
|
OnMergeEdges ( |
||
|
OnNewTriangle ( |
These functions are called by the FDynamicMesh3 to update the various attributes when the parent mesh topology has been modified. |
|
|
OnNewVertex ( |
||
|
OnPokeTriangle ( |
||
|
OnRemoveTriangle ( |
||
|
OnRemoveVertex ( |
||
|
OnReverseTriOrientation ( |
||
|
OnSplitEdge ( |
Mesh-specific on* functions; may be split out |
|
|
OnSplitVertex ( |