How can I set a socket's root location?

Hello, I’m extending the Editor for our artists so they can copy sockets over from a skeletal mesh to a static mesh instead of trying to eyeball the socket locations in the static mesh editor. My problem is that I can’t find where to set the location of a socket.

The socket class contains a relative location, which I’ll need as well, but this is an offset from the bone in a skeletal mesh. The socket class also contains const accessors for the matrix and for the transform. That’s fine, but I need a way of setting the location. I can’t find a variable for the socket’s location. One would think you could find it either in the socket class itself or in UObject. What I wish to do is tell the new/copied socket that it’s location is at the relative offset of the bone from the skeletal mesh origin plus the relative location offset from that bone. Does anyone know how I can do this? Thank you.