| 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, but the number of layers can be requested on construction.
Name | Description | ||
---|---|---|---|
|
GenericAttributes |
||
|
TUniquePtr< FDy... |
MaterialIDAttrib |
|
|
TIndirectArray<... |
NormalLayers |
|
|
FDynamicMesh3 &... |
ParentMesh |
Parent mesh of this attribute set |
|
TIndirectArray<... |
PolygroupLayers |
|
|
TIndirectArray<... |
UVLayers |
Name | Description | |
---|---|---|
|
FDynamicMeshAttributeSet ( |
|
|
FDynamicMeshAttributeSet ( |
Name | Description | |
---|---|---|
|
~FDynamicMeshAttributeSet() |
Name | Description | ||
---|---|---|---|
|
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() |
||
|
DisableTangents() |
Disable Tangents overlays |
|
|
EnableMatchingAttributes ( |
Enable the matching attributes and overlay layers as the reference Copy set, but do not copy any data across |
|
|
EnableMaterialID() |
||
|
EnableTangents() |
Enable Tangents overlays (Tangent = Normal layer 1, Bitangent = Normal layer 2) |
|
|
FDynamicMesh... |
GetAttachedAttribute ( |
|
|
const TMap< ... |
GetAttachedAttributes() |
|
|
FDynamicMesh... |
GetMaterialID() |
|
|
const FDynam... |
GetMaterialID() |
|
|
const FDynam... |
GetNormalLayer ( |
|
|
FDynamicMesh... |
GetNormalLayer ( |
|
|
FDynamicMesh... |
GetParentMesh() |
|
|
const FDynam... |
GetParentMesh() |
|
|
FDynamicMesh... |
GetPolygroupLayer ( |
|
|
const FDynam... |
GetPolygroupLayer ( |
|
|
FDynamicMesh... |
GetUVLayer ( |
|
|
const FDynam... |
GetUVLayer ( |
|
|
HasAttachedAttribute ( |
||
|
HasMaterialID() |
Per-Triangle Material ID |
|
|
HasTangentSpace() |
||
|
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 |
||
|
IsSeamEdge ( |
||
|
IsSeamEndEdge ( |
||
|
IsSeamVertex ( |
||
|
int |
NumAttachedAttributes() |
|
|
int |
NumNormalLayers() |
Normal Layers |
|
NumPolygroupLayers() |
Polygroup layers |
|
|
int |
NumUVLayers() |
UV Layers |
|
FDynamicMesh... |
PrimaryBiTangents() |
|
|
const FDynam... |
PrimaryBiTangents() |
|
|
const FDynam... |
PrimaryNormals() |
|
|
FDynamicMesh... |
PrimaryNormals() |
|
|
const FDynam... |
PrimaryTangents() |
|
|
FDynamicMesh... |
PrimaryTangents() |
|
|
FDynamicMesh... |
PrimaryUV() |
|
|
const FDynam... |
PrimaryUV() |
|
|
RemoveAttribute ( |
||
|
SetNumNormalLayers ( |
Set number of Normals (3-vector float overlay) layers |
|
|
SetNumPolygroupLayers ( |
Set the number of Polygroup layers |
|
|
SetNumUVLayers ( |
Set number of UV (2-vector float overlay) layers |
|
|
SplitAllBowties ( |
Split all bowtie vertices in all layers |
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 ( |