Navigation
API > API/Plugins > API/Plugins/DynamicMesh > API/Plugins/DynamicMesh/Operations > API/Plugins/DynamicMesh/Operations/FTransferBoneWeights > API/Plugins/DynamicMesh/Operations/FTransferBoneWeights/TransferWeightsToPoint
References
| Module | DynamicMesh |
| Header | /Engine/Plugins/Runtime/GeometryProcessing/Source/DynamicMesh/Public/Operations/TransferBoneWeights.h |
| Include | #include "Operations/TransferBoneWeights.h" |
| Source | /Engine/Plugins/Runtime/GeometryProcessing/Source/DynamicMesh/Private/Operations/TransferBoneWeights.cpp |
virtual bool TransferWeightsToPoint
&40;
UE::AnimationCore::FBoneWeights & OutWeights,
const FVector3d & InPoint,
const TMap< FName, uint16 > &42; TargetBoneToIndex,
const FVector3f & InNormal
&41;
Remarks
Compute the bone weights for a given point using the ETransferBoneWeightsMethod::ClosestPointOnSurface algorithm. true if the algorithm succeeds, false if it failed to find the matching point or was canceled by the user.
Parameters
| Name | Description |
|---|---|
| OutWeights | Bone weight computed for the input transformed point. |
| InPoint | Point for which we are computing the bone weight. |
| TargetBoneToIndex | Optional map from the bone names to the bone indices of the target skeleton. If null, the bone indices of the skinning weights will not be re-indexed after the transfer. |
| InNormal | Normal at the input point. Should be set if NormalThreshold >= 0. |