Godot version
4.0 alpha14
System information
Windows 10
Issue description

I have been trying to use a State Machine as the root node of my AnimationTree.
However, I noticed that after adding Animation and BlendTree nodes to my State Machine, they do not appear as Parameters - I am therefore unsure how to access their properties with code, since using the AnimationPlayer methods directly does not work when using the AnimationTree.
Steps to reproduce
- Create new scene with AnimationPlayer and AnimationTree nodes as children of a node that does have animations (necessary to add animations to the State Machine)
- Configure target of the AnimationTree to be the AnimationPlayer as usual.
- Add one of each object (Blendspace1D, Blendspace2D, State Machine, BlendTree, Animation) to the State Machine root.
- Note that neither BlendTree nor AnimationTree are present in the parameters.
Minimal reproduction project
AnimationTreeStateMachineRoot.zip