Navigation
API > API/Plugins > API/Plugins/DynamicMesh
Interface for getting the bone weights data. Should be subclassed and implemented if the bone weights data is not stored using the FDynamicMeshVertexSkinWeightsAttribute.
| Name | TBoneWeightsDataSource |
| Type | class |
| Header File | /Engine/Plugins/Runtime/GeometryProcessing/Source/DynamicMesh/Public/Operations/SmoothBoneWeights.h |
| Include Path | #include "Operations/SmoothBoneWeights.h" |
Syntax
template<typename BoneIndexType, typename BoneWeightType>
class TBoneWeightsDataSource
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~TBoneWeightsDataSource() |
Operations/SmoothBoneWeights.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
BoneIndexType GetBoneIndex
(
const int32 InVertexIDs, |
Bone ID of the bone stored at an index Index, where Index is between 0 and GetBoneNum(InVertexIDs). | Operations/SmoothBoneWeights.h | |
int32 GetBoneNum
(
const int32 InVertexIDs |
Number of bones at a vertex. | Operations/SmoothBoneWeights.h | |
BoneWeightType GetBoneWeight
(
const int32 InVertexIDs, |
Bone weight of the bone stored at an index Index, where Index is between 0 and GetBoneNum(InVertexIDs). | Operations/SmoothBoneWeights.h | |
BoneWeightType GetWeightOfBoneOnVertex
(
const int32 InVertexIDs, |
Bone weight of the bone with Bone ID at a vertex. Must return 0 if bone has no influence. | Operations/SmoothBoneWeights.h |