I have a level sequence with a track with a possesable camera.
Scripting with python, how can I get the camera actor from the track?
Thanks
I have a level sequence with a track with a possesable camera.
Scripting with python, how can I get the camera actor from the track?
Thanks
Found the answer!
In case someone else is looking for this, here’s how I’m doing it:
my_seq = unreal.EditorAssetLibrary().load_asset(sequence_path)
world = unreal.EditorLevelLibrary.get_editor_world()
bound_objects = unreal.SequencerTools().get_bound_objects(world, my_seq,
my_seq.get_bindings(),
my_seq.get_playback_range())
for b_obj in bound_objects:
print b_obj.binding_proxy
print b_obj.bound_objects