basic advanced example
This commit is contained in:
1 parent
6fe57915e8
commit
bd8edf5afb
29 files changed
+1501
-38
No files matched your search
@@ -0,0 +1,12 @@
|
||||
"""Optional refresh of bundled enums; other models are preserved. Imports update them automatically."""
|
||||
from ue_workshop.characters import FIGHTER_MODEL, CREATURE_MODEL
|
||||
from ue_workshop.skeletal import import_model
|
||||
|
||||
counts = {}
|
||||
for model, name in (
|
||||
(FIGHTER_MODEL, "Fighter"),
|
||||
(CREATURE_MODEL, "Creature"),
|
||||
):
|
||||
imported = import_model(model, name=name, reimport=False)
|
||||
counts[name + "Animations"] = len(imported.animations)
|
||||
print("Exported animation catalog:", counts)
|
||||
Reference in new issue
Block a user