The ArcGIS Maps SDK for Unreal Engine includes a comprehensive C++ API to help you set up custom scenes with ArcGIS location services
The SDK samples include scripts that use the C++ API, which can be found in:
Plugins/ArcGISMapsSDK/Source/ArcGISSamples