You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
Add support to geolocation to Datasmith API
#jira UE-180009 #preflight 642e78e7da7f9583702b9cff #preflight 642e790df376ab43d22a9e35 #rb benoit.deschenes [CL 24962394 by kerim borchaev in ue5-main branch]
This commit is contained in:
@@ -483,6 +483,19 @@ const TCHAR* FDatasmithFacadeScene::GetAssetsOutputPath() const
|
||||
return SceneExporterRef->GetAssetsOutputPath();
|
||||
}
|
||||
|
||||
void FDatasmithFacadeScene::SetGeolocation(double Latitude, double Longitude, double Elevation)
|
||||
{
|
||||
SceneRef->SetGeolocation(FVector(Latitude, Longitude, Elevation));
|
||||
}
|
||||
|
||||
void FDatasmithFacadeScene::GetGeolocation(double& OutLatitude, double& OutLongitude, double& OutElevation) const
|
||||
{
|
||||
FVector Geolocation = SceneRef->GetGeolocation();
|
||||
OutLatitude = Geolocation.X;
|
||||
OutLongitude = Geolocation.Y;
|
||||
OutElevation = Geolocation.Z;
|
||||
}
|
||||
|
||||
void FDatasmithFacadeScene::Shutdown()
|
||||
{
|
||||
FDatasmithExporterManager::Shutdown();
|
||||
|
||||
Reference in New Issue
Block a user