Choose your operating system:
Windows
macOS
Linux
| TDynamicAttributeSetBase
|
Module |
|
Header |
/Engine/Source/Runtime/GeometryCore/Public/DynamicMesh/DynamicMeshAttributeSet.h |
Include |
#include "DynamicMesh/DynamicMeshAttributeSet.h" |
class FDynamicMeshAttributeSet : public UE::Geometry::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 | ||
---|---|---|---|
|
TUniquePtr< FDy... |
ColorLayer |
|
|
GenericAttributes |
||
|
TUniquePtr< FDy... |
MaterialIDAttrib |
|
|
TIndirectArray<... |
NormalLayers |
|
|
FDynamicMesh3 &... |
ParentMesh |
Parent mesh of this attribute set |
|
TIndirectArray<... |
PolygroupLayers |
|
|
SkinWeightAttributes |
||
|
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) |
|
|
AttachSkinWeightsAttribute ( |
Skin weights Create a new skin weights attribute with a given skin weights profile name. |
|
|
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() |
||
|
DisablePrimaryColors() |
||
|
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() |
||
|
EnablePrimaryColors() |
||
|
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() |
|
|
const FDynam... |
GetPolygroupLayer ( |
|
|
FDynamicMesh... |
GetPolygroupLayer ( |
|
|
FDynamicMesh... |
GetSkinWeightsAttribute ( |
Returns a pointer to a skin weight attribute of the given profile name. |
|
const TMap< ... |
GetSkinWeightsAttributes() |
Returns a map of all skin weight attributes. |
|
FDynamicMesh... |
GetUVLayer ( |
|
|
const FDynam... |
GetUVLayer ( |
|
|
HasAttachedAttribute ( |
||
|
HasMaterialID() |
Per-Triangle Material ID |
|
|
HasPrimaryColors() |
||
|
HasSkinWeightsAttribute ( |
Returns true if the list of skin weight attributes includes the given profile name. |
|
|
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 ( |
||
|
IsSameAs ( |
Returns true if this AttributeSet is the same as Other. |
|
|
IsSeamEdge ( |
||
|
IsSeamEdge |
||
|
IsSeamEndEdge ( |
||
|
IsSeamVertex ( |
||
|
int |
NumAttachedAttributes() |
|
|
int |
NumNormalLayers() |
Normal Layers |
|
NumPolygroupLayers() |
Polygroup layers |
|
|
int |
NumUVLayers() |
UV Layers |
|
const FDynam... |
PrimaryBiTangents() |
|
|
FDynamicMesh... |
PrimaryBiTangents() |
|
|
const FDynam... |
PrimaryColors() |
|
|
FDynamicMesh... |
PrimaryColors() |
|
|
const FDynam... |
PrimaryNormals() |
|
|
FDynamicMesh... |
PrimaryNormals() |
|
|
const FDynam... |
PrimaryTangents() |
|
|
FDynamicMesh... |
PrimaryTangents() |
|
|
const FDynam... |
PrimaryUV() |
|
|
FDynamicMesh... |
PrimaryUV() |
|
|
RemoveAttribute ( |
||
|
RemoveSkinWeightsAttribute ( |
Remove a skin weights attribute matching the given profile name. |
|
|
Serialize ( |
Serialize to and from an archive. |
|
|
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 ( |
Name |
Description |
---|---|
GenericAttributesMap |
|
SkinWeightAttributesMap |