Added support to query and specify the desired video format for an AR session

#rb: none
#fyi: nick.whiting, jason.bestimt

[CL 4185551 by Joe Graf in Dev-VR branch]
This commit is contained in:
Joe Graf
2018-07-05 14:52:49 -04:00
parent 6b12eca457
commit 396d827fda
14 changed files with 189 additions and 9 deletions
@@ -458,3 +458,13 @@ TSharedPtr<FARGetCandidateObjectAsyncTask, ESPMode::ThreadSafe> UARBlueprintLibr
}
//@joeg -- End additions
TArray<FARVideoFormat> UARBlueprintLibrary::GetSupportedVideoFormats(EARSessionType SessionType)
{
auto ARSystem = GetARSystem();
if (ensure(ARSystem.IsValid()))
{
return ARSystem->GetSupportedVideoFormats(SessionType);
}
return TArray<FARVideoFormat>();
}