You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
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:
@@ -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>();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user