Could the devs make it possible for coders to play matinee animations from within custom C++ code, instead of having the feature be exclusive to blueprints?
In the editor, I could create the matinee data for an existing actor in a map, and in that actor’s properties, have an option to store a separate local copy of the actor along with its matinee data in the content browser for reference in code.
Then implement C++ accessor and mutator functions for playing and handling the matinee data.
Like this.
//... Regular C++ hocus pocus here.
// Matinee header functions here.
void SetMatineeData(FName& UniqueMatineeHandler, FMatineeData& MatineeActor, FInterpData& InterpData);
void PlayMatinee(FName& UniqueMatineeHandler, float PlayRate);
void ReverseMatinee(FName& UniqueMatineeHandler);
// etc...
FMatineeData GetMatineeData(FName& UniqueMatineeHandler);
FInterpData GetInterpData(FName& UniqueInterpDataHandler);
// ...