![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <DynamicAttribute.h>
Inheritance diagram for UE::Geometry::TDynamicAttributeBase< ParentType >:Protected Member Functions | |
| virtual void | CopyParentClassData (const TDynamicAttributeBase< ParentType > &Other) |
Protected Attributes | |
| FName | Name = FName() |
Friends | |
| FArchive & | operator<< (FArchive &Ar, TDynamicAttributeBase< ParentType > &Attr) |
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
|
inlinevirtual |
|
pure virtual |
Add elements from the Source attribute, using the AppendInfo to determine the range to copy.
Implemented in UE::Geometry::TDynamicMeshTriangleAttribute< AttribValueType, AttribDimension >, UE::Geometry::TDynamicMeshTriangleAttribute< RealType, 1 >, UE::Geometry::TDynamicBoneAttributeBase< ParentType, AttribValueType >, UE::Geometry::TDynamicVertexAttribute< AttribValueType, AttribDimension, ParentType >, and UE::Geometry::TDynamicVertexSkinWeightsAttribute< ParentType >.
|
pure virtual |
Add default-valued elements, using the AppendInfo to determine the range to add. Called when appending from a mesh that does not have this attribute.
Implemented in UE::Geometry::FNonManifoldSourceVertexIdAttribute, UE::Geometry::TDynamicBoneAttributeBase< ParentType, AttribValueType >, UE::Geometry::TDynamicMeshTriangleAttribute< AttribValueType, AttribDimension >, UE::Geometry::TDynamicMeshTriangleAttribute< RealType, 1 >, UE::Geometry::TDynamicVertexAttribute< AttribValueType, AttribDimension, ParentType >, and UE::Geometry::TDynamicVertexSkinWeightsAttribute< ParentType >.
|
inlinevirtual |
Check validity of attribute
| bAllowNonmanifold | Accept non-manifold topology as valid. Note that this should almost always be true for attributes; non-manifold overlays are generally valid. |
| FailMode | Desired behavior if mesh is found invalid |
Reimplemented in UE::Geometry::TDynamicVertexAttribute< AttribValueType, AttribDimension, ParentType >, and UE::Geometry::TDynamicVertexSkinWeightsAttribute< ParentType >.
|
pure virtual |
Compact the attribute in place
Implemented in UE::Geometry::TDynamicMeshTriangleAttribute< AttribValueType, AttribDimension >, UE::Geometry::TDynamicMeshTriangleAttribute< RealType, 1 >, UE::Geometry::TDynamicVertexAttribute< AttribValueType, AttribDimension, ParentType >, UE::Geometry::FNonManifoldSourceVertexIdAttribute, UE::Geometry::TDynamicBoneAttributeBase< ParentType, AttribValueType >, and UE::Geometry::TDynamicVertexSkinWeightsAttribute< ParentType >.
|
pure virtual |
Generic function to copy data in to an attribute; it's up to the derived class to map RawID to chunks of attribute data
Implemented in UE::Geometry::FNonManifoldSourceVertexIdAttribute, UE::Geometry::TDynamicBoneAttributeBase< ParentType, AttribValueType >, UE::Geometry::TDynamicMeshTriangleAttribute< AttribValueType, AttribDimension >, UE::Geometry::TDynamicMeshTriangleAttribute< RealType, 1 >, UE::Geometry::TDynamicVertexAttribute< AttribValueType, AttribDimension, ParentType >, and UE::Geometry::TDynamicVertexSkinWeightsAttribute< ParentType >.
|
pure virtual |
Generic function to copy data out of an attribute; it's up to the derived class to map RawID to chunks of attribute data
Implemented in UE::Geometry::FNonManifoldSourceVertexIdAttribute, UE::Geometry::TDynamicBoneAttributeBase< ParentType, AttribValueType >, UE::Geometry::TDynamicMeshTriangleAttribute< AttribValueType, AttribDimension >, UE::Geometry::TDynamicMeshTriangleAttribute< RealType, 1 >, UE::Geometry::TDynamicVertexAttribute< AttribValueType, AttribDimension, ParentType >, and UE::Geometry::TDynamicVertexSkinWeightsAttribute< ParentType >.
|
inlineprotectedvirtual |
Implementation of parent-class copy. MakeCopy() and MakeCompactCopy() implementations should call this to transfer any custom data added by parent attribute set class.
|
pure virtual |
Copy data from a different attribute to this one, using the mesh index mapping to determine the correspondence
| Source | copy attribute data from this source |
| Mapping | the correspondence from Source's parent to this attribute's parent |
Implemented in UE::Geometry::TDynamicBoneAttributeBase< ParentType, AttribValueType >, UE::Geometry::TDynamicVertexAttribute< AttribValueType, AttribDimension, ParentType >, and UE::Geometry::TDynamicVertexSkinWeightsAttribute< ParentType >.
|
inlinevirtual |
Reimplemented in UE::Geometry::TDynamicBoneAttributeBase< ParentType, AttribValueType >, UE::Geometry::TDynamicMeshTriangleAttribute< AttribValueType, AttribDimension >, UE::Geometry::TDynamicMeshTriangleAttribute< RealType, 1 >, UE::Geometry::FNonManifoldSourceVertexIdAttribute, UE::Geometry::TDynamicVertexAttribute< AttribValueType, AttribDimension, ParentType >, and UE::Geometry::TDynamicVertexSkinWeightsAttribute< ParentType >.
|
inline |
Get optional identifier for this attribute set.
|
inlinevirtual |
Allocate a new compact copy of the attribute layer, optionally with a different parent. Default implementation does a full copy and then compacts it, usually derived class will want to override this with a more efficient direct compact copy implementation
Reimplemented in UE::Geometry::TDynamicVertexAttribute< AttribValueType, AttribDimension, ParentType >, and UE::Geometry::TDynamicVertexSkinWeightsAttribute< ParentType >.
|
pure virtual |
Allocate a new copy of the attribute layer, optionally with a different parent
Implemented in UE::Geometry::TDynamicBoneAttributeBase< ParentType, AttribValueType >, UE::Geometry::TDynamicVertexAttribute< AttribValueType, AttribDimension, ParentType >, and UE::Geometry::TDynamicVertexSkinWeightsAttribute< ParentType >.
|
pure virtual |
Allocate a new empty instance of the same type of attribute layer
Implemented in UE::Geometry::TDynamicBoneAttributeBase< ParentType, AttribValueType >, UE::Geometry::TDynamicVertexAttribute< AttribValueType, AttribDimension, ParentType >, and UE::Geometry::TDynamicVertexSkinWeightsAttribute< ParentType >.
|
pure virtual |
Implemented in UE::Geometry::FNonManifoldSourceVertexIdAttribute, UE::Geometry::TDynamicBoneAttributeBase< ParentType, AttribValueType >, UE::Geometry::TDynamicMeshTriangleAttribute< AttribValueType, AttribDimension >, UE::Geometry::TDynamicMeshTriangleAttribute< RealType, 1 >, UE::Geometry::TDynamicVertexAttribute< AttribValueType, AttribDimension, ParentType >, and UE::Geometry::TDynamicVertexSkinWeightsAttribute< ParentType >.
|
inlinevirtual |
Update to reflect an edge collapse in the parent mesh
Reimplemented in UE::Geometry::FNonManifoldSourceVertexIdAttribute, UE::Geometry::TDynamicMeshTriangleAttribute< AttribValueType, AttribDimension >, UE::Geometry::TDynamicMeshTriangleAttribute< RealType, 1 >, UE::Geometry::TDynamicVertexAttribute< AttribValueType, AttribDimension, ParentType >, and UE::Geometry::TDynamicVertexSkinWeightsAttribute< ParentType >.
|
inlinevirtual |
Update to reflect an edge flip in the parent mesh
Reimplemented in UE::Geometry::FNonManifoldSourceVertexIdAttribute, UE::Geometry::TDynamicMeshTriangleAttribute< AttribValueType, AttribDimension >, UE::Geometry::TDynamicMeshTriangleAttribute< RealType, 1 >, UE::Geometry::TDynamicVertexAttribute< AttribValueType, AttribDimension, ParentType >, and UE::Geometry::TDynamicVertexSkinWeightsAttribute< ParentType >.
|
inlinevirtual |
Update to reflect an edge merge in the parent mesh
Reimplemented in UE::Geometry::FNonManifoldSourceVertexIdAttribute, UE::Geometry::TDynamicMeshTriangleAttribute< AttribValueType, AttribDimension >, UE::Geometry::TDynamicMeshTriangleAttribute< RealType, 1 >, UE::Geometry::TDynamicVertexAttribute< AttribValueType, AttribDimension, ParentType >, and UE::Geometry::TDynamicVertexSkinWeightsAttribute< ParentType >.
|
inlinevirtual |
Update to reflect a vertex merge that does not resolve as a collapse or edge merge (i.e. a vertex merge that resolves as bowtie creation).
Reimplemented in UE::Geometry::FNonManifoldSourceVertexIdAttribute, UE::Geometry::TDynamicMeshTriangleAttribute< AttribValueType, AttribDimension >, UE::Geometry::TDynamicMeshTriangleAttribute< RealType, 1 >, UE::Geometry::TDynamicVertexAttribute< AttribValueType, AttribDimension, ParentType >, and UE::Geometry::TDynamicVertexSkinWeightsAttribute< ParentType >.
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
Update to reflect a face poke in the parent mesh
Reimplemented in UE::Geometry::FNonManifoldSourceVertexIdAttribute, UE::Geometry::TDynamicMeshTriangleAttribute< AttribValueType, AttribDimension >, UE::Geometry::TDynamicMeshTriangleAttribute< RealType, 1 >, UE::Geometry::TDynamicVertexAttribute< AttribValueType, AttribDimension, ParentType >, and UE::Geometry::TDynamicVertexSkinWeightsAttribute< ParentType >.
|
inlinevirtual |
|
inlinevirtual |
Reimplemented in UE::Geometry::FNonManifoldSourceVertexIdAttribute.
|
inlinevirtual |
|
inlinevirtual |
Update to reflect an edge split in the parent mesh
Reimplemented in UE::Geometry::FNonManifoldSourceVertexIdAttribute, UE::Geometry::TDynamicMeshTriangleAttribute< AttribValueType, AttribDimension >, UE::Geometry::TDynamicMeshTriangleAttribute< RealType, 1 >, UE::Geometry::TDynamicVertexAttribute< AttribValueType, AttribDimension, ParentType >, and UE::Geometry::TDynamicVertexSkinWeightsAttribute< ParentType >.
|
inlinevirtual |
Update to reflect an edge merge in the parent mesh
Reimplemented in UE::Geometry::FNonManifoldSourceVertexIdAttribute, UE::Geometry::TDynamicMeshTriangleAttribute< AttribValueType, AttribDimension >, UE::Geometry::TDynamicMeshTriangleAttribute< RealType, 1 >, UE::Geometry::TDynamicVertexAttribute< AttribValueType, AttribDimension, ParentType >, and UE::Geometry::TDynamicVertexSkinWeightsAttribute< ParentType >.
|
pure virtual |
Update any held pointer to the parent
Implemented in UE::Geometry::TDynamicBoneAttributeBase< ParentType, AttribValueType >.
|
inline |
Serialize to and from an archive.
| Ar | Archive to serialize with. |
|
inline |
Set optional identifier for this attribute set.
|
friend |
Serialization operator for TDynamicAttributeBase.
| Ar | Archive to serialize with. |
| Attr | Mesh attribute to serialize. |
|
protected |
Optional FName identifier for this attribute set. Not guaranteed to be unique.