RealDocs

UKismetRenderingLibrary::MakeSkinWeightInfo

function Engine Blueprint Since unknown
#include "Kismet/KismetRenderingLibrary.h"
Access: public Specifiers: staticUFUNCTIONBlueprintPure

Description

Constructs an FSkelMeshSkinWeightInfo struct from up to four bone index/weight pairs. Exposed to Blueprint as the 'Make Skin Weight Info' node.

Caveats & Gotchas

  • Weights are 0-255 bytes, not normalized floats — the four Weight values are expected to sum to 255 for a correctly normalized skin weight.
  • This only supports up to 4 influences per vertex; meshes using extra bone influences (more than 4) need a different path and are not representable through this node.
  • Marked NativeMakeFunc, so in Blueprint it renders as a compact 'make struct' node rather than a normal function call.

Signature

static FSkelMeshSkinWeightInfo MakeSkinWeightInfo(int32 Bone0, uint8 Weight0, int32 Bone1, uint8 Weight1, int32 Bone2, uint8 Weight2, int32 Bone3, uint8 Weight3)

Parameters

Name Type Description Default
Bone0 int32 Bone index for the first influence.
Weight0 uint8 Weight (0-255) for the first influence.
Bone1 int32 Bone index for the second influence.
Weight1 uint8 Weight (0-255) for the second influence.
Bone2 int32 Bone index for the third influence.
Weight2 uint8 Weight (0-255) for the third influence.
Bone3 int32 Bone index for the fourth influence.
Weight3 uint8 Weight (0-255) for the fourth influence.

Return Type

FSkelMeshSkinWeightInfo

Example

Build a skin weight info struct C++
FSkelMeshSkinWeightInfo Info = UKismetRenderingLibrary::MakeSkinWeightInfo(0, 200, 1, 55, 0, 0, 0, 0);

Version History

Introduced in: unknown

Version Status Notes
5.6 stable

Feedback

Was this helpful?

Suggest an edit

Select a field above to begin editing.