Is there an Unreal Engine function that resets the origin to the local spatial anchor created through the HoloLens?

Is there an Unreal Engine function that resets the origin to the local spatial anchor created through the HoloLens?

When I use the azure spatial anchor, I could do that by the function called “Set AR World Origin Location and Rotation” in Unreal Engine.

But now I can’t use the azure spatial anchor because it’s not available for deploying app in window by hololens remote player

I’m doing in unreal engine5.1
I should reset the world origin location and rotation to local spatial anchor