Navigation
API > API/Developer > API/Developer/SkeletalMeshUtilitiesCommon > API/Developer/SkeletalMeshUtilitiesCommon/FStaticToSkeletalMeshConverter
References
| Module | SkeletalMeshUtilitiesCommon |
| Header | /Engine/Source/Developer/SkeletalMeshUtilitiesCommon/Public/StaticToSkeletalMeshConverter.h |
| Include | #include "StaticToSkeletalMeshConverter.h" |
| Source | /Engine/Source/Developer/SkeletalMeshUtilitiesCommon/Private/StaticToSkeletalMeshConverter.cpp |
static bool InitializeSkeletalMeshFromStaticMesh
(
USkeletalMesh * InSkeletalMesh,
const UStaticMesh * InStaticMesh,
const FReferenceSkeleton & InReferenceSkeleton,
const FName InBindBone
)
Remarks
Initialize a skeletal mesh from the given static mesh and a skeleton. The mesh will initially be created with a rigid binding on the root bone.
Parameters
| Name | Description |
|---|---|
| InSkeletalMesh | The skeletal mesh to initialize. It has to be freshly created and be completely empty. |
| InStaticMesh | The static mesh to convert from. |
| InReferenceSkeleton | The reference skeleton to use. |
| InBindBone | The bone to bind to. If no bone name is given, the binding defaults to the root bone. |