What AnimationClip.SetCurve property name do I need to use to Modify/HardcodeOverride the animators RootT and RootQ values?

I am creating an AnimationClip generator tool that needs to write to/modify the root position (RootT) and rotation (RootQ) of a selected gameobject. Basically to generate animations in unity instead of third party software.

I am currently using AnimationClip.SetCurve(myCurve) (here and here) with m_LocalPosition and localEulerAnglesRaw, but they aren’t exactly what i need. I need to write to the RootT and RootQ of my custom animation.

IS THIS POSSIBLE?

What do i need to put in XXXXXXX and YYYYYYYY to access RootT and RootQ? So that I don’t get the missing! Error.

Notice in the image with the missig, that I can Manually add the RootT/Q property but i need to do this through script.
Also, i notice that the icon for my missing rootT is a transform Icon, not the animator icon like the manually added RootT has.
?169513-missingandmanual.png
I have tried RootT, Root_T, Root T, Animator.RootT, Animator.Root_T…

The icon was the key, Just change typeof from transform to Animator.
I’d also like to point out two silly, but important details:

  1. RootT and RootQ don’t have spaces.
  2. RootT is a vector3, RootQ is a Quaternion, make sure to use the proper xyz (and w) components.

169519-answer.png