Also needs AnimationMixer to be modified such that SyncedAnimationGraph is a friend class of AnimationMixer.