Hi, currently I want to write a plugin that can read camera pose from file and add a sequence with camera key frame for it.
However I haven’t found any tutorial or doc that help with programming with sequence or key frame. I have found some python scrpits that do the job, check below:
value = track_dict[key] # (x,y,z x,y,z x,y,z)
frame = unreal.FrameNumber(int(key))
sequencer_section.get_channels()[0].add_key(frame, value["location_x"])
sequencer_section.get_channels()[1].add_key(frame, value["location_y"])
sequencer_section.get_channels()[2].add_key(frame, value["location_z"])
I wonder if I can do this job in c++, thanks for any reply!