Skip to content

Commit e14d6b6

Browse files
author
Roberto De Ioris
committed
added support for skeletal meshes manipulation
1 parent 0956fa4 commit e14d6b6

7 files changed

Lines changed: 650 additions & 4 deletions

File tree

‎Source/UnrealEnginePython/Private/UEPyModule.cpp‎

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@
3434
#include "UObject/UEPyAnimSequence.h"
3535

3636

37-
3837
#include "UEPyAssetUserData.h"
3938
#if WITH_EDITOR
4039
#include "UEPyEditor.h"
@@ -683,6 +682,15 @@ static PyMethodDef ue_PyUObject_methods[] = {
683682

684683
{ "skeleton_add_bone", (PyCFunction)py_ue_skeleton_add_bone, METH_VARARGS, "" },
685684

685+
{ "skeletal_mesh_set_soft_vertices", (PyCFunction)py_ue_skeletal_mesh_set_soft_vertices, METH_VARARGS, "" },
686+
{ "skeletal_mesh_get_soft_vertices", (PyCFunction)py_ue_skeletal_mesh_get_soft_vertices, METH_VARARGS, "" },
687+
{ "skeletal_mesh_set_skeleton", (PyCFunction)py_ue_skeletal_mesh_set_skeleton, METH_VARARGS, "" },
688+
689+
690+
{ "skeletal_mesh_get_bone_map", (PyCFunction)py_ue_skeletal_mesh_get_bone_map, METH_VARARGS, "" },
691+
{ "skeletal_mesh_set_bone_map", (PyCFunction)py_ue_skeletal_mesh_set_bone_map, METH_VARARGS, "" },
692+
{ "skeletal_mesh_set_active_bone_indices", (PyCFunction)py_ue_skeletal_mesh_set_active_bone_indices, METH_VARARGS, "" },
693+
{ "skeletal_mesh_set_required_bones", (PyCFunction)py_ue_skeletal_mesh_set_required_bones, METH_VARARGS, "" },
686694

687695
// Timer
688696
{ "set_timer", (PyCFunction)py_ue_set_timer, METH_VARARGS, "" },
@@ -1460,6 +1468,8 @@ void unreal_engine_init_py_module() {
14601468

14611469
ue_python_init_fraw_anim_sequence_track(new_unreal_engine_module);
14621470

1471+
ue_python_init_fsoft_skin_vertex(new_unreal_engine_module);
1472+
14631473
ue_python_init_fpython_output_device(new_unreal_engine_module);
14641474

14651475
ue_python_init_ftimerhandle(new_unreal_engine_module);

0 commit comments

Comments
 (0)