Navigation
API > API/Runtime > API/Runtime/GeometryCore
Forward declarations
TDynamicVertexAttribute provides per-vertex storage of bone weights (skin weights)
| Name | TDynamicVertexSkinWeightsAttribute |
| Type | class |
| Header File | /Engine/Source/Runtime/GeometryCore/Public/DynamicMesh/DynamicMeshAttributeSet.h |
| Include Path | #include "DynamicMesh/DynamicMeshAttributeSet.h" |
| Source | /Engine/Source/Runtime/GeometryCore/Public/DynamicMesh/DynamicVertexSkinWeightsAttribute.h |
Syntax
template<typename ParentType>
class TDynamicVertexSkinWeightsAttribute : public UE::Geometry::TDynamicAttributeBase< ParentType >
Inheritance Hierarchy
- TDynamicAttributeBase → TDynamicVertexSkinWeightsAttribute
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Create an empty overlay | DynamicMesh/DynamicVertexSkinWeightsAttribute.h | ||
TDynamicVertexSkinWeightsAttribute
(
ParentType* ParentIn, |
Create an attribute for the given parent | DynamicMesh/DynamicVertexSkinWeightsAttribute.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~TDynamicVertexSkinWeightsAttribute() |
DynamicMesh/DynamicVertexSkinWeightsAttribute.h |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FBoneWeight | UE::AnimationCore::FBoneWeight | DynamicMesh/DynamicVertexSkinWeightsAttribute.h | |
| FBoneWeights | UE::AnimationCore::FBoneWeights | DynamicMesh/DynamicVertexSkinWeightsAttribute.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void CompactCopy
(
const FCompactMaps& CompactMaps, |
DynamicMesh/DynamicVertexSkinWeightsAttribute.h | ||
void Copy
(
const TDynamicVertexSkinWeightsAttribute< ParentType >& Copy |
Set this overlay to contain the same arrays as the copy overlay | DynamicMesh/DynamicVertexSkinWeightsAttribute.h | |
void CopyValue
(
int FromVertexID, |
Copy the attribute value at FromVertexID to ToVertexID | DynamicMesh/DynamicVertexSkinWeightsAttribute.h | |
TSet< int32 > GetBoundBoneIndices() |
Accessors/Queries Returns a list of all unique bone indices that are used by this skin weight attribute. | DynamicMesh/DynamicVertexSkinWeightsAttribute.h | |
ParentType * GetParent () |
DynamicMesh/DynamicVertexSkinWeightsAttribute.h | ||
const ParentType * GetParent () |
DynamicMesh/DynamicVertexSkinWeightsAttribute.h | ||
| Get the element at a given index via a pair of bone index and weight arrays. | DynamicMesh/DynamicVertexSkinWeightsAttribute.h | ||
void GetValue
(
int VertexID, |
Get the element at a given index | DynamicMesh/DynamicVertexSkinWeightsAttribute.h | |
void GetValue
(
int VertexID, |
Get the element at a given index | DynamicMesh/DynamicVertexSkinWeightsAttribute.h | |
void Initialize
(
const FBoneWeights InitialValue |
Initialize the attribute values to the given max vertex ID | DynamicMesh/DynamicVertexSkinWeightsAttribute.h | |
bool ReindexBoneIndicesToSkeleton
(
const TArray< FName >& FromRefSkeleton, |
Re-index bone indices of the skin weights from one reference skeleton (represented by an array of bone names) to another. | DynamicMesh/DynamicVertexSkinWeightsAttribute.h | |
void ResizeAttribStoreIfNeeded
(
int VertexID |
DynamicMesh/DynamicVertexSkinWeightsAttribute.h | ||
void Serialize
(
FArchive& Ar, |
DynamicMesh/DynamicVertexSkinWeightsAttribute.h | ||
void SetNewValue
(
int32 InNewVertexID, |
DynamicMesh/DynamicVertexSkinWeightsAttribute.h | ||
void SetValue
(
int VertexID, |
Set the element at a given index | DynamicMesh/DynamicVertexSkinWeightsAttribute.h | |
void SetValue
(
int VertexID, |
Set the element at a given index | DynamicMesh/DynamicVertexSkinWeightsAttribute.h | |
| Set the element at a given index | DynamicMesh/DynamicVertexSkinWeightsAttribute.h |
Overridden from TDynamicAttributeBase
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool Append
(
const TDynamicAttributeBase< ParentType >& Source, |
Add elements from the Source attribute, using the AppendInfo to determine the range to copy. | DynamicMesh/DynamicVertexSkinWeightsAttribute.h | |
virtual void AppendDefaulted
(
const UE::Geometry::FDynamicMesh3::FAppendInfo& AppendInfo |
Add default-valued elements, using the AppendInfo to determine the range to add. | DynamicMesh/DynamicVertexSkinWeightsAttribute.h | |
virtual bool CheckValidity
(
bool bAllowNonmanifold, |
Check validity of attribute | DynamicMesh/DynamicVertexSkinWeightsAttribute.h | |
virtual void CompactInPlace
(
const FCompactMaps& CompactMaps |
Compact the attribute in place | DynamicMesh/DynamicVertexSkinWeightsAttribute.h | |
virtual 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 | DynamicMesh/DynamicVertexSkinWeightsAttribute.h | |
virtual 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 | DynamicMesh/DynamicVertexSkinWeightsAttribute.h | |
virtual bool CopyThroughMapping
(
const TDynamicAttributeBase< ParentType >* Source, |
Copy data from a different attribute to this one, using the mesh index mapping to determine the correspondence | DynamicMesh/DynamicVertexSkinWeightsAttribute.h | |
virtual SIZE_T GetByteCount() |
DynamicMesh/DynamicVertexSkinWeightsAttribute.h | ||
virtual TDynamicAttributeBase< ParentType > * MakeCompactCopy
(
const FCompactMaps& CompactMaps, |
Allocate a new compact copy of the attribute layer, optionally with a different parent. | DynamicMesh/DynamicVertexSkinWeightsAttribute.h | |
virtual TDynamicAttributeBase< ParentType > * MakeCopy
(
ParentType* ParentIn |
Allocate a new copy of the attribute layer, optionally with a different parent | DynamicMesh/DynamicVertexSkinWeightsAttribute.h | |
virtual TDynamicAttributeBase< ParentType > * MakeNew
(
ParentType* ParentIn |
Allocate a new empty instance of the same type of attribute layer | DynamicMesh/DynamicVertexSkinWeightsAttribute.h | |
virtual TUniquePtr< TDynamicAttributeChangeBase< ParentType > > NewBlankChange() |
DynamicMesh/DynamicVertexSkinWeightsAttribute.h | ||
virtual void OnCollapseEdge
(
const FDynamicMesh3::FEdgeCollapseInfo& CollapseInfo |
Update the overlay to reflect an edge collapse in the parent | DynamicMesh/DynamicVertexSkinWeightsAttribute.h | |
virtual void OnFlipEdge
(
const FDynamicMesh3::FEdgeFlipInfo& FlipInfo |
Update the overlay to reflect an edge flip in the parent | DynamicMesh/DynamicVertexSkinWeightsAttribute.h | |
virtual void OnMergeEdges
(
const FDynamicMesh3::FMergeEdgesInfo& MergeInfo |
Update the overlay to reflect an edge merge in the parent | DynamicMesh/DynamicVertexSkinWeightsAttribute.h | |
virtual void OnMergeVertices
(
const FDynamicMesh3::FMergeVerticesInfo& MergeInfo |
Update the overlay to reflect a vertex merge in the parent | DynamicMesh/DynamicVertexSkinWeightsAttribute.h | |
virtual void OnNewVertex
(
int VertexID, |
DynamicMesh/DynamicVertexSkinWeightsAttribute.h | ||
virtual void OnPokeTriangle
(
const FDynamicMesh3::FPokeTriangleInfo& PokeInfo |
Update the overlay to reflect a face poke in the parent | DynamicMesh/DynamicVertexSkinWeightsAttribute.h | |
virtual void OnSplitEdge
(
const FDynamicMesh3::FEdgeSplitInfo& SplitInfo |
Update the overlay to reflect an edge split in the parent | DynamicMesh/DynamicVertexSkinWeightsAttribute.h | |
virtual void OnSplitVertex
(
const FDynamicMesh3::FVertexSplitInfo& SplitInfo, |
Update the overlay to reflect a vertex split in the parent | DynamicMesh/DynamicVertexSkinWeightsAttribute.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void SetBoneWeightsFromBary
(
int SetAttribute, |
Set the value at an Attribute to be a barycentric interpolation of three other Attributes. | DynamicMesh/DynamicVertexSkinWeightsAttribute.h | |
void SetBoneWeightsFromLerp
(
int SetAttribute, |
Set the value at an Attribute to be a linear interpolation of two other Attributes | DynamicMesh/DynamicVertexSkinWeightsAttribute.h |