INNER CODE UNIT · Python

GetAnimationLibrary

mamoniem/UnrealEditorPythonScripts · Animation/CleanNotifiesFromAnimations.py:20

class GetAnimationLibrary(unreal.AnimationLibrary):
    pass

editorUtility = GetEditorUtility()
animLib = GetAnimationLibrary()

selectedAssets = editorUtility.get_selected_assets()

for selectedAsset in selectedAssets:
    selectedAsset.modify(True)
    animLib.remove_all_animation_notify_tracks(selectedAsset)

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…