Want to know what is the equivalent of GetViewportScale node in c++

Hello, I have solve one of my programming problem by using a node in blueprint call GetViewportScale, but I can’t seem to find the equivalent in C++. I try to google the documentation, but so far don’t really have any luck.

I use UE5

UWidgetLayoutLibrary::GetViewportScale()

UWidgetLayoutLibrary::GetViewportScale | Unreal Engine 5.2 Documentation