Good morning all,
In our Unreal plugin we’ve implemented our own custom Sequencer Tracks / Sections (inheriting from UMovieSceneSection) and have added or our UPROPERTIES as parameters.
Our customers would like to automate the creation and configuration of those using Python. So far we’re able to find our custom track type in the unreal module and can do the following:
anim_track = actor_binding.add_track(unreal.MovieSceneGolaemAnimationTrack)
anim_section = anim_track.add_section()
anim_section has some parameters defined this way:
UPROPERTY(EditAnywhere, Category = “Animation”, meta = (ShowOnlyInnerProperties))
FMovieSceneGolaemCacheParams Params;
and the parameters we’re looking to edit are declared this way:
UPROPERTY()
float CacheStartFrame; // filled when created on track
UPROPERTY()
float CacheEndFrame; // filled when created on track
UPROPERTY(meta = (AllowedClasses = "GolaemCache"))
FSoftObjectPath GolaemCache; // soft path to be able to restore link after reload
We tried using anim_section.get_all_channels() and various accessors to access those but haven’t managed so far. Have we missed some tags when declaring our UPROPERTY to have them binded in the Python API ?
Let us know if anything is unclear or need more details
Thanks in advance