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