UKismetRenderingLibrary::BreakSkinWeightInfo
#include "Kismet/KismetRenderingLibrary.h"
Access: public
Specifiers: staticUFUNCTIONBlueprintPure
Description
Decomposes an FSkelMeshSkinWeightInfo struct into its four individual bone index/weight pairs. Exposed to Blueprint as the 'Break Skin Weight Info' node.
Caveats & Gotchas
- • Marked NativeBreakFunc, so it renders in Blueprint as a compact 'break struct' node with individual output pins rather than a normal function call.
- • Weight values are returned as raw 0-255 bytes, not normalized floats — divide by 255.0 if you need a 0-1 weight.
- • If the source mesh uses unused influence slots, those slots typically read back as bone index 0 with weight 0 rather than being omitted.
Signature
static void BreakSkinWeightInfo(FSkelMeshSkinWeightInfo InWeight, int32& Bone0, uint8& Weight0, int32& Bone1, uint8& Weight1, int32& Bone2, uint8& Weight2, int32& Bone3, uint8& Weight3) Parameters
| Name | Type | Description | Default |
|---|---|---|---|
| InWeight | FSkelMeshSkinWeightInfo | The skin weight struct to decompose. | — |
| Bone0 | int32& | Out: bone index for the first influence. | — |
| Weight0 | uint8& | Out: weight for the first influence. | — |
| Bone1 | int32& | Out: bone index for the second influence. | — |
| Weight1 | uint8& | Out: weight for the second influence. | — |
| Bone2 | int32& | Out: bone index for the third influence. | — |
| Weight2 | uint8& | Out: weight for the third influence. | — |
| Bone3 | int32& | Out: bone index for the fourth influence. | — |
| Weight3 | uint8& | Out: weight for the fourth influence. | — |
Return Type
void Example
Decompose a skin weight info struct C++
int32 Bone0, Bone1, Bone2, Bone3;
uint8 Weight0, Weight1, Weight2, Weight3;
UKismetRenderingLibrary::BreakSkinWeightInfo(Info, Bone0, Weight0, Bone1, Weight1, Bone2, Weight2, Bone3, Weight3); Tags
Version History
Introduced in: unknown
| Version | Status | Notes |
|---|---|---|
| 5.6 | stable | — |
Feedback
Was this helpful?