Copying //UE4/Dev-VR to //UE4/Dev-Main (Source: //UE4/Dev-VR @ 4296730)
#lockdown Nick.Penwarden
============================
MAJOR FEATURES & CHANGES
============================
Change 3775128 by Nick.Atamas
Merging //UE4/Partner-Google-VR @ CL 3770408 to Dev-VR (//UE4/Dev-VR)
Change 4166311 by Jason.Bestimt
#DEV-VR - Merge from //UE4/Dev-MagicLeap/... @ CL 4136411
Change 4185551 by Joe.Graf
Added support to query and specify the desired video format for an AR session
Change 4269190 by Ethan.Geller
[Dev-VR] #jira UE-62644 Deescalate resampling logs to display, and make sure that Lumin does not get Resampling settings from Android runtime settings.
Change 4269386 by Ryan.Vance
#jira UE-62274
We need to recompute the view frustum and related distances if the projection matrix is changed.
Change 4269401 by Ryan.Vance
#jira UE-62155
Debug canvas layer fixes
Change 4270710 by Chance.Ivey
Merging //UE4/Dev-Partner-MagicLeap-4.20 to Dev-VR (//UE4/Dev-VR)
- 4262963
- 4261100
- 4261103
- 4265565
Change 4270822 by Ryan.Vance
#jira UE-61462
Work around for csm shadow culling bug on Lumiun
Change 4271396 by Jason.Bestimt
#DEV-VR - Saving off original MLSDK variable for future editor "restarts" within the same process
#JIRA: UE-58634
Change 4271402 by Jason.Bestimt
#DEV-VR - Making bUseMobileRendering non-editable for binary builds
#JIRA: UE-60956
Change 4271454 by Jason.Bestimt
#DEV-VR - Integrating CL 4239939, 4236178 and 4269702 from Partners-Google-VR
Change 4272387 by Ryan.Vance
#jira UEVR-1281
Oculus 1.28 Plugin changes
Change 4273410 by Jason.Bestimt
#DEV-VR - Fixing MagicLeapSDK Settings to be globaluserconfig (by removing the defaultconfig).
#JIRA: UE-62092
Change 4273929 by Ryan.Vance
#jira UE-62744
Fixing missing includes..
Change 4274147 by Kyle.Fung
Round-robin occlusion queries for stereoscopic rendering
With the vr.RoundRobinOcclusion flag turned on, each frame will only render occlusion queries for one eye with an alternating scheme (ie odd frames only left eye, even frames only right eye).
Additionally, the interface for class FPrimitiveOcclusionHistory has been changed along with a slight modification in its implementation. With round-robin occlusion, when extracing history entries we perform a search through the entire history to look for the oldest entry in a primitive's occlusion history.
#jira UEVR-1289
Change 4274206 by Kyle.Fung
Fixed some compiler warnings
#jira UEVR-1289
Change 4275212 by Jason.Bestimt
#DEV-VR - Fixing CIS error (forcing value to bool)
Change 4275973 by Jason.Bestimt
#DEV-VR - Merging CL 4275879 from Partner-Google-VR
GoogleVR 1.170 Release Update.
- Removed reference to GetHMDDeviceType.
- Updated to final version of SDK libraries.
Change 4276154 by Jason.Bestimt
#DEV-VR - fix for CIS warning about PngPtr being used before it is checked
Change 4277171 by Jeff.Fisher
UE-62399 Graphical corruption when opening the debug console
-Switched from the fast hardware clear to the slower shader clear because the slower one works. Perhaps a better fix exists that would make the faster clear work? Costs 60us when debug ui is up, but only when rendering debug to a stereo layer (vr/ar).
#jira UE-62399
#review-4277026
Change 4277633 by Joe.Conley
#jira UE-54565 - "Packaged game/Editor with Stereo Layers crashes when exiting game through steam VR overlay"
Don't call GetStereoLayers if stereo is not enabled.
Change 4277723 by Ryan.Vance
#jira UE-62776
Cleaning up questionable partner code found by SA.
I'm pretty confident the SA warning is a false positive, but there was a lot to fix here regardless.
Change 4280289 by Joe.Graf
Added some "Ignored by ARCore" comments Google requested
Change 4280479 by Joe.Graf
Fixed a member copy step in AppleARKitFrame::operator= that Wanghao reported
Change 4280824 by Jason.Bestimt
#DEV-VR - removing stale comment about ML SDK Settings using defaultengine.ini
Change 4281117 by Jason.Bestimt
#DEV-VR - Removing warnings on LUMIN from trying to load missing modules
#JIRA: UE-62748
Change 4281514 by Jason.Bestimt
#DEV-VR - Moving FunctionalTesting dependency under bCompileAgainstEngine
Change 4281847 by Joe.Graf
Added a UPL file to AppleARKit that modifies the plist to include the requirement of ARKit and request for camera access
#jira: UE-60050, UE-62837
Change 4281945 by Joe.Graf
Removed the ensures from the ARBlueprintLibrary code since the code handles the failure cases properly
#jira: UE-61845, UE-61846
Change 4282098 by Ethan.Geller
#jira UE-62863 fix audio on lumin #rb none
Change 4283974 by Joe.Graf
Deprecated bIsTracked on tracked images and face geo per Google API reunification feedback
Change 4284118 by Jason.Bestimt
#DEV-VR - Moving FunctionalTest dependency to be both non-shipping and CompileAgainstEngine. Allowing FunctionalTesting to be compiled in binary build
Change 4285339 by Ethan.Geller
#jira UE-62087 Whitelist AudioCapture module for mac while not whitelisting the AudioCaptureEditor module, which should only work on Windows.
Change 4286024 by Ryan.Vance
Copying //UE4/Partner-Microsoft-XR to Dev-VR (//UE4/Dev-VR)
Windows mixed reality integration.
Disabled by default
Change 4289812 by Jason.Bestimt
#DEV-VR - Fix for non-unity build issue with windows header
Change 4296399 by Jason.Bestimt
RSync fixes for xml files
#JIRA: UE-62994
Change 4296679 by Jason.Bestimt
#DEV-VR - Fixing remote iOS compile issue with BP projects that require plugins
#JIRA: UE-62967
[CL 4299100 by Jason Bestimt in Main branch]
2018-08-17 19:56:07 -04:00
// Copyright (c) Microsoft Corporation. All rights reserved.
# include "WindowsMixedRealitySpatialInput.h"
2019-06-10 12:22:13 -04:00
# include "MixedRealityInterop.h"
Copying //UE4/Dev-VR to //UE4/Dev-Main (Source: //UE4/Dev-VR @ 4296730)
#lockdown Nick.Penwarden
============================
MAJOR FEATURES & CHANGES
============================
Change 3775128 by Nick.Atamas
Merging //UE4/Partner-Google-VR @ CL 3770408 to Dev-VR (//UE4/Dev-VR)
Change 4166311 by Jason.Bestimt
#DEV-VR - Merge from //UE4/Dev-MagicLeap/... @ CL 4136411
Change 4185551 by Joe.Graf
Added support to query and specify the desired video format for an AR session
Change 4269190 by Ethan.Geller
[Dev-VR] #jira UE-62644 Deescalate resampling logs to display, and make sure that Lumin does not get Resampling settings from Android runtime settings.
Change 4269386 by Ryan.Vance
#jira UE-62274
We need to recompute the view frustum and related distances if the projection matrix is changed.
Change 4269401 by Ryan.Vance
#jira UE-62155
Debug canvas layer fixes
Change 4270710 by Chance.Ivey
Merging //UE4/Dev-Partner-MagicLeap-4.20 to Dev-VR (//UE4/Dev-VR)
- 4262963
- 4261100
- 4261103
- 4265565
Change 4270822 by Ryan.Vance
#jira UE-61462
Work around for csm shadow culling bug on Lumiun
Change 4271396 by Jason.Bestimt
#DEV-VR - Saving off original MLSDK variable for future editor "restarts" within the same process
#JIRA: UE-58634
Change 4271402 by Jason.Bestimt
#DEV-VR - Making bUseMobileRendering non-editable for binary builds
#JIRA: UE-60956
Change 4271454 by Jason.Bestimt
#DEV-VR - Integrating CL 4239939, 4236178 and 4269702 from Partners-Google-VR
Change 4272387 by Ryan.Vance
#jira UEVR-1281
Oculus 1.28 Plugin changes
Change 4273410 by Jason.Bestimt
#DEV-VR - Fixing MagicLeapSDK Settings to be globaluserconfig (by removing the defaultconfig).
#JIRA: UE-62092
Change 4273929 by Ryan.Vance
#jira UE-62744
Fixing missing includes..
Change 4274147 by Kyle.Fung
Round-robin occlusion queries for stereoscopic rendering
With the vr.RoundRobinOcclusion flag turned on, each frame will only render occlusion queries for one eye with an alternating scheme (ie odd frames only left eye, even frames only right eye).
Additionally, the interface for class FPrimitiveOcclusionHistory has been changed along with a slight modification in its implementation. With round-robin occlusion, when extracing history entries we perform a search through the entire history to look for the oldest entry in a primitive's occlusion history.
#jira UEVR-1289
Change 4274206 by Kyle.Fung
Fixed some compiler warnings
#jira UEVR-1289
Change 4275212 by Jason.Bestimt
#DEV-VR - Fixing CIS error (forcing value to bool)
Change 4275973 by Jason.Bestimt
#DEV-VR - Merging CL 4275879 from Partner-Google-VR
GoogleVR 1.170 Release Update.
- Removed reference to GetHMDDeviceType.
- Updated to final version of SDK libraries.
Change 4276154 by Jason.Bestimt
#DEV-VR - fix for CIS warning about PngPtr being used before it is checked
Change 4277171 by Jeff.Fisher
UE-62399 Graphical corruption when opening the debug console
-Switched from the fast hardware clear to the slower shader clear because the slower one works. Perhaps a better fix exists that would make the faster clear work? Costs 60us when debug ui is up, but only when rendering debug to a stereo layer (vr/ar).
#jira UE-62399
#review-4277026
Change 4277633 by Joe.Conley
#jira UE-54565 - "Packaged game/Editor with Stereo Layers crashes when exiting game through steam VR overlay"
Don't call GetStereoLayers if stereo is not enabled.
Change 4277723 by Ryan.Vance
#jira UE-62776
Cleaning up questionable partner code found by SA.
I'm pretty confident the SA warning is a false positive, but there was a lot to fix here regardless.
Change 4280289 by Joe.Graf
Added some "Ignored by ARCore" comments Google requested
Change 4280479 by Joe.Graf
Fixed a member copy step in AppleARKitFrame::operator= that Wanghao reported
Change 4280824 by Jason.Bestimt
#DEV-VR - removing stale comment about ML SDK Settings using defaultengine.ini
Change 4281117 by Jason.Bestimt
#DEV-VR - Removing warnings on LUMIN from trying to load missing modules
#JIRA: UE-62748
Change 4281514 by Jason.Bestimt
#DEV-VR - Moving FunctionalTesting dependency under bCompileAgainstEngine
Change 4281847 by Joe.Graf
Added a UPL file to AppleARKit that modifies the plist to include the requirement of ARKit and request for camera access
#jira: UE-60050, UE-62837
Change 4281945 by Joe.Graf
Removed the ensures from the ARBlueprintLibrary code since the code handles the failure cases properly
#jira: UE-61845, UE-61846
Change 4282098 by Ethan.Geller
#jira UE-62863 fix audio on lumin #rb none
Change 4283974 by Joe.Graf
Deprecated bIsTracked on tracked images and face geo per Google API reunification feedback
Change 4284118 by Jason.Bestimt
#DEV-VR - Moving FunctionalTest dependency to be both non-shipping and CompileAgainstEngine. Allowing FunctionalTesting to be compiled in binary build
Change 4285339 by Ethan.Geller
#jira UE-62087 Whitelist AudioCapture module for mac while not whitelisting the AudioCaptureEditor module, which should only work on Windows.
Change 4286024 by Ryan.Vance
Copying //UE4/Partner-Microsoft-XR to Dev-VR (//UE4/Dev-VR)
Windows mixed reality integration.
Disabled by default
Change 4289812 by Jason.Bestimt
#DEV-VR - Fix for non-unity build issue with windows header
Change 4296399 by Jason.Bestimt
RSync fixes for xml files
#JIRA: UE-62994
Change 4296679 by Jason.Bestimt
#DEV-VR - Fixing remote iOS compile issue with BP projects that require plugins
#JIRA: UE-62967
[CL 4299100 by Jason Bestimt in Main branch]
2018-08-17 19:56:07 -04:00
# include "WindowsMixedRealityStatics.h"
2019-06-10 12:22:13 -04:00
# include "WindowsMixedRealityInteropUtility.h"
# include "Misc/Parse.h"
2020-09-24 00:43:27 -04:00
# include "WindowsMixedRealitySpatialInputFunctionLibrary.h"
2019-06-10 12:22:13 -04:00
# include "WindowsMixedRealitySpatialInputTypes.h"
2019-07-26 15:20:42 -04:00
# include "WindowsMixedRealityAvailability.h"
Copying //UE4/Dev-VR to //UE4/Dev-Main (Source: //UE4/Dev-VR @ 4296730)
#lockdown Nick.Penwarden
============================
MAJOR FEATURES & CHANGES
============================
Change 3775128 by Nick.Atamas
Merging //UE4/Partner-Google-VR @ CL 3770408 to Dev-VR (//UE4/Dev-VR)
Change 4166311 by Jason.Bestimt
#DEV-VR - Merge from //UE4/Dev-MagicLeap/... @ CL 4136411
Change 4185551 by Joe.Graf
Added support to query and specify the desired video format for an AR session
Change 4269190 by Ethan.Geller
[Dev-VR] #jira UE-62644 Deescalate resampling logs to display, and make sure that Lumin does not get Resampling settings from Android runtime settings.
Change 4269386 by Ryan.Vance
#jira UE-62274
We need to recompute the view frustum and related distances if the projection matrix is changed.
Change 4269401 by Ryan.Vance
#jira UE-62155
Debug canvas layer fixes
Change 4270710 by Chance.Ivey
Merging //UE4/Dev-Partner-MagicLeap-4.20 to Dev-VR (//UE4/Dev-VR)
- 4262963
- 4261100
- 4261103
- 4265565
Change 4270822 by Ryan.Vance
#jira UE-61462
Work around for csm shadow culling bug on Lumiun
Change 4271396 by Jason.Bestimt
#DEV-VR - Saving off original MLSDK variable for future editor "restarts" within the same process
#JIRA: UE-58634
Change 4271402 by Jason.Bestimt
#DEV-VR - Making bUseMobileRendering non-editable for binary builds
#JIRA: UE-60956
Change 4271454 by Jason.Bestimt
#DEV-VR - Integrating CL 4239939, 4236178 and 4269702 from Partners-Google-VR
Change 4272387 by Ryan.Vance
#jira UEVR-1281
Oculus 1.28 Plugin changes
Change 4273410 by Jason.Bestimt
#DEV-VR - Fixing MagicLeapSDK Settings to be globaluserconfig (by removing the defaultconfig).
#JIRA: UE-62092
Change 4273929 by Ryan.Vance
#jira UE-62744
Fixing missing includes..
Change 4274147 by Kyle.Fung
Round-robin occlusion queries for stereoscopic rendering
With the vr.RoundRobinOcclusion flag turned on, each frame will only render occlusion queries for one eye with an alternating scheme (ie odd frames only left eye, even frames only right eye).
Additionally, the interface for class FPrimitiveOcclusionHistory has been changed along with a slight modification in its implementation. With round-robin occlusion, when extracing history entries we perform a search through the entire history to look for the oldest entry in a primitive's occlusion history.
#jira UEVR-1289
Change 4274206 by Kyle.Fung
Fixed some compiler warnings
#jira UEVR-1289
Change 4275212 by Jason.Bestimt
#DEV-VR - Fixing CIS error (forcing value to bool)
Change 4275973 by Jason.Bestimt
#DEV-VR - Merging CL 4275879 from Partner-Google-VR
GoogleVR 1.170 Release Update.
- Removed reference to GetHMDDeviceType.
- Updated to final version of SDK libraries.
Change 4276154 by Jason.Bestimt
#DEV-VR - fix for CIS warning about PngPtr being used before it is checked
Change 4277171 by Jeff.Fisher
UE-62399 Graphical corruption when opening the debug console
-Switched from the fast hardware clear to the slower shader clear because the slower one works. Perhaps a better fix exists that would make the faster clear work? Costs 60us when debug ui is up, but only when rendering debug to a stereo layer (vr/ar).
#jira UE-62399
#review-4277026
Change 4277633 by Joe.Conley
#jira UE-54565 - "Packaged game/Editor with Stereo Layers crashes when exiting game through steam VR overlay"
Don't call GetStereoLayers if stereo is not enabled.
Change 4277723 by Ryan.Vance
#jira UE-62776
Cleaning up questionable partner code found by SA.
I'm pretty confident the SA warning is a false positive, but there was a lot to fix here regardless.
Change 4280289 by Joe.Graf
Added some "Ignored by ARCore" comments Google requested
Change 4280479 by Joe.Graf
Fixed a member copy step in AppleARKitFrame::operator= that Wanghao reported
Change 4280824 by Jason.Bestimt
#DEV-VR - removing stale comment about ML SDK Settings using defaultengine.ini
Change 4281117 by Jason.Bestimt
#DEV-VR - Removing warnings on LUMIN from trying to load missing modules
#JIRA: UE-62748
Change 4281514 by Jason.Bestimt
#DEV-VR - Moving FunctionalTesting dependency under bCompileAgainstEngine
Change 4281847 by Joe.Graf
Added a UPL file to AppleARKit that modifies the plist to include the requirement of ARKit and request for camera access
#jira: UE-60050, UE-62837
Change 4281945 by Joe.Graf
Removed the ensures from the ARBlueprintLibrary code since the code handles the failure cases properly
#jira: UE-61845, UE-61846
Change 4282098 by Ethan.Geller
#jira UE-62863 fix audio on lumin #rb none
Change 4283974 by Joe.Graf
Deprecated bIsTracked on tracked images and face geo per Google API reunification feedback
Change 4284118 by Jason.Bestimt
#DEV-VR - Moving FunctionalTest dependency to be both non-shipping and CompileAgainstEngine. Allowing FunctionalTesting to be compiled in binary build
Change 4285339 by Ethan.Geller
#jira UE-62087 Whitelist AudioCapture module for mac while not whitelisting the AudioCaptureEditor module, which should only work on Windows.
Change 4286024 by Ryan.Vance
Copying //UE4/Partner-Microsoft-XR to Dev-VR (//UE4/Dev-VR)
Windows mixed reality integration.
Disabled by default
Change 4289812 by Jason.Bestimt
#DEV-VR - Fix for non-unity build issue with windows header
Change 4296399 by Jason.Bestimt
RSync fixes for xml files
#JIRA: UE-62994
Change 4296679 by Jason.Bestimt
#DEV-VR - Fixing remote iOS compile issue with BP projects that require plugins
#JIRA: UE-62967
[CL 4299100 by Jason Bestimt in Main branch]
2018-08-17 19:56:07 -04:00
# define LOCTEXT_NAMESPACE "WindowsMixedRealitySpatialInput"
# define MotionControllerDeviceTypeName "WindowsMixedRealitySpatialInput"
# define WindowsMixedRealityCategory "WindowsMixedRealitySubCategory"
# define WindowsMixedRealityCategoryName "WindowsMixedReality"
# define WindowsMixedRealityCategoryFriendlyName "Windows Mixed Reality"
namespace WindowsMixedReality
{
FWindowsMixedRealitySpatialInput : : FWindowsMixedRealitySpatialInput (
const TSharedRef < FGenericApplicationMessageHandler > & InMessageHandler )
: MessageHandler ( InMessageHandler )
{
InitializeSpatialInput ( ) ;
}
FWindowsMixedRealitySpatialInput : : ~ FWindowsMixedRealitySpatialInput ( )
{
2020-09-24 00:43:27 -04:00
FWindowsMixedRealityStatics : : OnConfigureGesturesDelegate . Remove ( FWindowsMixedRealityStatics : : ConfigureGesturesHandle ) ;
FWindowsMixedRealityStatics : : ConfigureGesturesHandle . Reset ( ) ;
Copying //UE4/Dev-VR to //UE4/Dev-Main (Source: //UE4/Dev-VR @ 4296730)
#lockdown Nick.Penwarden
============================
MAJOR FEATURES & CHANGES
============================
Change 3775128 by Nick.Atamas
Merging //UE4/Partner-Google-VR @ CL 3770408 to Dev-VR (//UE4/Dev-VR)
Change 4166311 by Jason.Bestimt
#DEV-VR - Merge from //UE4/Dev-MagicLeap/... @ CL 4136411
Change 4185551 by Joe.Graf
Added support to query and specify the desired video format for an AR session
Change 4269190 by Ethan.Geller
[Dev-VR] #jira UE-62644 Deescalate resampling logs to display, and make sure that Lumin does not get Resampling settings from Android runtime settings.
Change 4269386 by Ryan.Vance
#jira UE-62274
We need to recompute the view frustum and related distances if the projection matrix is changed.
Change 4269401 by Ryan.Vance
#jira UE-62155
Debug canvas layer fixes
Change 4270710 by Chance.Ivey
Merging //UE4/Dev-Partner-MagicLeap-4.20 to Dev-VR (//UE4/Dev-VR)
- 4262963
- 4261100
- 4261103
- 4265565
Change 4270822 by Ryan.Vance
#jira UE-61462
Work around for csm shadow culling bug on Lumiun
Change 4271396 by Jason.Bestimt
#DEV-VR - Saving off original MLSDK variable for future editor "restarts" within the same process
#JIRA: UE-58634
Change 4271402 by Jason.Bestimt
#DEV-VR - Making bUseMobileRendering non-editable for binary builds
#JIRA: UE-60956
Change 4271454 by Jason.Bestimt
#DEV-VR - Integrating CL 4239939, 4236178 and 4269702 from Partners-Google-VR
Change 4272387 by Ryan.Vance
#jira UEVR-1281
Oculus 1.28 Plugin changes
Change 4273410 by Jason.Bestimt
#DEV-VR - Fixing MagicLeapSDK Settings to be globaluserconfig (by removing the defaultconfig).
#JIRA: UE-62092
Change 4273929 by Ryan.Vance
#jira UE-62744
Fixing missing includes..
Change 4274147 by Kyle.Fung
Round-robin occlusion queries for stereoscopic rendering
With the vr.RoundRobinOcclusion flag turned on, each frame will only render occlusion queries for one eye with an alternating scheme (ie odd frames only left eye, even frames only right eye).
Additionally, the interface for class FPrimitiveOcclusionHistory has been changed along with a slight modification in its implementation. With round-robin occlusion, when extracing history entries we perform a search through the entire history to look for the oldest entry in a primitive's occlusion history.
#jira UEVR-1289
Change 4274206 by Kyle.Fung
Fixed some compiler warnings
#jira UEVR-1289
Change 4275212 by Jason.Bestimt
#DEV-VR - Fixing CIS error (forcing value to bool)
Change 4275973 by Jason.Bestimt
#DEV-VR - Merging CL 4275879 from Partner-Google-VR
GoogleVR 1.170 Release Update.
- Removed reference to GetHMDDeviceType.
- Updated to final version of SDK libraries.
Change 4276154 by Jason.Bestimt
#DEV-VR - fix for CIS warning about PngPtr being used before it is checked
Change 4277171 by Jeff.Fisher
UE-62399 Graphical corruption when opening the debug console
-Switched from the fast hardware clear to the slower shader clear because the slower one works. Perhaps a better fix exists that would make the faster clear work? Costs 60us when debug ui is up, but only when rendering debug to a stereo layer (vr/ar).
#jira UE-62399
#review-4277026
Change 4277633 by Joe.Conley
#jira UE-54565 - "Packaged game/Editor with Stereo Layers crashes when exiting game through steam VR overlay"
Don't call GetStereoLayers if stereo is not enabled.
Change 4277723 by Ryan.Vance
#jira UE-62776
Cleaning up questionable partner code found by SA.
I'm pretty confident the SA warning is a false positive, but there was a lot to fix here regardless.
Change 4280289 by Joe.Graf
Added some "Ignored by ARCore" comments Google requested
Change 4280479 by Joe.Graf
Fixed a member copy step in AppleARKitFrame::operator= that Wanghao reported
Change 4280824 by Jason.Bestimt
#DEV-VR - removing stale comment about ML SDK Settings using defaultengine.ini
Change 4281117 by Jason.Bestimt
#DEV-VR - Removing warnings on LUMIN from trying to load missing modules
#JIRA: UE-62748
Change 4281514 by Jason.Bestimt
#DEV-VR - Moving FunctionalTesting dependency under bCompileAgainstEngine
Change 4281847 by Joe.Graf
Added a UPL file to AppleARKit that modifies the plist to include the requirement of ARKit and request for camera access
#jira: UE-60050, UE-62837
Change 4281945 by Joe.Graf
Removed the ensures from the ARBlueprintLibrary code since the code handles the failure cases properly
#jira: UE-61845, UE-61846
Change 4282098 by Ethan.Geller
#jira UE-62863 fix audio on lumin #rb none
Change 4283974 by Joe.Graf
Deprecated bIsTracked on tracked images and face geo per Google API reunification feedback
Change 4284118 by Jason.Bestimt
#DEV-VR - Moving FunctionalTest dependency to be both non-shipping and CompileAgainstEngine. Allowing FunctionalTesting to be compiled in binary build
Change 4285339 by Ethan.Geller
#jira UE-62087 Whitelist AudioCapture module for mac while not whitelisting the AudioCaptureEditor module, which should only work on Windows.
Change 4286024 by Ryan.Vance
Copying //UE4/Partner-Microsoft-XR to Dev-VR (//UE4/Dev-VR)
Windows mixed reality integration.
Disabled by default
Change 4289812 by Jason.Bestimt
#DEV-VR - Fix for non-unity build issue with windows header
Change 4296399 by Jason.Bestimt
RSync fixes for xml files
#JIRA: UE-62994
Change 4296679 by Jason.Bestimt
#DEV-VR - Fixing remote iOS compile issue with BP projects that require plugins
#JIRA: UE-62967
[CL 4299100 by Jason Bestimt in Main branch]
2018-08-17 19:56:07 -04:00
UninitializeSpatialInput ( ) ;
}
void FWindowsMixedRealitySpatialInput : : Tick ( float DeltaTime )
{
if ( ! FWindowsMixedRealityStatics : : SupportsSpatialInput ( ) )
{
return ;
}
if ( ! IsInitialized )
{
// We failed to initialize in the constructor. Try again.
InitializeSpatialInput ( ) ;
return ;
}
}
void FWindowsMixedRealitySpatialInput : : SendControllerEvents ( )
{
2019-01-28 16:31:25 -05:00
# if WITH_WINDOWS_MIXED_REALITY
2019-07-26 15:20:42 -04:00
SendQueuedButtonAndAxisEvents ( ) ;
2019-01-28 16:31:25 -05:00
if ( ! FWindowsMixedRealityStatics : : PollInput ( ) )
{
return ;
}
Copying //UE4/Dev-VR to //UE4/Dev-Main (Source: //UE4/Dev-VR @ 4296730)
#lockdown Nick.Penwarden
============================
MAJOR FEATURES & CHANGES
============================
Change 3775128 by Nick.Atamas
Merging //UE4/Partner-Google-VR @ CL 3770408 to Dev-VR (//UE4/Dev-VR)
Change 4166311 by Jason.Bestimt
#DEV-VR - Merge from //UE4/Dev-MagicLeap/... @ CL 4136411
Change 4185551 by Joe.Graf
Added support to query and specify the desired video format for an AR session
Change 4269190 by Ethan.Geller
[Dev-VR] #jira UE-62644 Deescalate resampling logs to display, and make sure that Lumin does not get Resampling settings from Android runtime settings.
Change 4269386 by Ryan.Vance
#jira UE-62274
We need to recompute the view frustum and related distances if the projection matrix is changed.
Change 4269401 by Ryan.Vance
#jira UE-62155
Debug canvas layer fixes
Change 4270710 by Chance.Ivey
Merging //UE4/Dev-Partner-MagicLeap-4.20 to Dev-VR (//UE4/Dev-VR)
- 4262963
- 4261100
- 4261103
- 4265565
Change 4270822 by Ryan.Vance
#jira UE-61462
Work around for csm shadow culling bug on Lumiun
Change 4271396 by Jason.Bestimt
#DEV-VR - Saving off original MLSDK variable for future editor "restarts" within the same process
#JIRA: UE-58634
Change 4271402 by Jason.Bestimt
#DEV-VR - Making bUseMobileRendering non-editable for binary builds
#JIRA: UE-60956
Change 4271454 by Jason.Bestimt
#DEV-VR - Integrating CL 4239939, 4236178 and 4269702 from Partners-Google-VR
Change 4272387 by Ryan.Vance
#jira UEVR-1281
Oculus 1.28 Plugin changes
Change 4273410 by Jason.Bestimt
#DEV-VR - Fixing MagicLeapSDK Settings to be globaluserconfig (by removing the defaultconfig).
#JIRA: UE-62092
Change 4273929 by Ryan.Vance
#jira UE-62744
Fixing missing includes..
Change 4274147 by Kyle.Fung
Round-robin occlusion queries for stereoscopic rendering
With the vr.RoundRobinOcclusion flag turned on, each frame will only render occlusion queries for one eye with an alternating scheme (ie odd frames only left eye, even frames only right eye).
Additionally, the interface for class FPrimitiveOcclusionHistory has been changed along with a slight modification in its implementation. With round-robin occlusion, when extracing history entries we perform a search through the entire history to look for the oldest entry in a primitive's occlusion history.
#jira UEVR-1289
Change 4274206 by Kyle.Fung
Fixed some compiler warnings
#jira UEVR-1289
Change 4275212 by Jason.Bestimt
#DEV-VR - Fixing CIS error (forcing value to bool)
Change 4275973 by Jason.Bestimt
#DEV-VR - Merging CL 4275879 from Partner-Google-VR
GoogleVR 1.170 Release Update.
- Removed reference to GetHMDDeviceType.
- Updated to final version of SDK libraries.
Change 4276154 by Jason.Bestimt
#DEV-VR - fix for CIS warning about PngPtr being used before it is checked
Change 4277171 by Jeff.Fisher
UE-62399 Graphical corruption when opening the debug console
-Switched from the fast hardware clear to the slower shader clear because the slower one works. Perhaps a better fix exists that would make the faster clear work? Costs 60us when debug ui is up, but only when rendering debug to a stereo layer (vr/ar).
#jira UE-62399
#review-4277026
Change 4277633 by Joe.Conley
#jira UE-54565 - "Packaged game/Editor with Stereo Layers crashes when exiting game through steam VR overlay"
Don't call GetStereoLayers if stereo is not enabled.
Change 4277723 by Ryan.Vance
#jira UE-62776
Cleaning up questionable partner code found by SA.
I'm pretty confident the SA warning is a false positive, but there was a lot to fix here regardless.
Change 4280289 by Joe.Graf
Added some "Ignored by ARCore" comments Google requested
Change 4280479 by Joe.Graf
Fixed a member copy step in AppleARKitFrame::operator= that Wanghao reported
Change 4280824 by Jason.Bestimt
#DEV-VR - removing stale comment about ML SDK Settings using defaultengine.ini
Change 4281117 by Jason.Bestimt
#DEV-VR - Removing warnings on LUMIN from trying to load missing modules
#JIRA: UE-62748
Change 4281514 by Jason.Bestimt
#DEV-VR - Moving FunctionalTesting dependency under bCompileAgainstEngine
Change 4281847 by Joe.Graf
Added a UPL file to AppleARKit that modifies the plist to include the requirement of ARKit and request for camera access
#jira: UE-60050, UE-62837
Change 4281945 by Joe.Graf
Removed the ensures from the ARBlueprintLibrary code since the code handles the failure cases properly
#jira: UE-61845, UE-61846
Change 4282098 by Ethan.Geller
#jira UE-62863 fix audio on lumin #rb none
Change 4283974 by Joe.Graf
Deprecated bIsTracked on tracked images and face geo per Google API reunification feedback
Change 4284118 by Jason.Bestimt
#DEV-VR - Moving FunctionalTest dependency to be both non-shipping and CompileAgainstEngine. Allowing FunctionalTesting to be compiled in binary build
Change 4285339 by Ethan.Geller
#jira UE-62087 Whitelist AudioCapture module for mac while not whitelisting the AudioCaptureEditor module, which should only work on Windows.
Change 4286024 by Ryan.Vance
Copying //UE4/Partner-Microsoft-XR to Dev-VR (//UE4/Dev-VR)
Windows mixed reality integration.
Disabled by default
Change 4289812 by Jason.Bestimt
#DEV-VR - Fix for non-unity build issue with windows header
Change 4296399 by Jason.Bestimt
RSync fixes for xml files
#JIRA: UE-62994
Change 4296679 by Jason.Bestimt
#DEV-VR - Fixing remote iOS compile issue with BP projects that require plugins
#JIRA: UE-62967
[CL 4299100 by Jason Bestimt in Main branch]
2018-08-17 19:56:07 -04:00
const uint32 sourceId = 0 ;
SendButtonEvents ( sourceId ) ;
SendAxisEvents ( sourceId ) ;
2019-01-28 16:31:25 -05:00
# endif
Copying //UE4/Dev-VR to //UE4/Dev-Main (Source: //UE4/Dev-VR @ 4296730)
#lockdown Nick.Penwarden
============================
MAJOR FEATURES & CHANGES
============================
Change 3775128 by Nick.Atamas
Merging //UE4/Partner-Google-VR @ CL 3770408 to Dev-VR (//UE4/Dev-VR)
Change 4166311 by Jason.Bestimt
#DEV-VR - Merge from //UE4/Dev-MagicLeap/... @ CL 4136411
Change 4185551 by Joe.Graf
Added support to query and specify the desired video format for an AR session
Change 4269190 by Ethan.Geller
[Dev-VR] #jira UE-62644 Deescalate resampling logs to display, and make sure that Lumin does not get Resampling settings from Android runtime settings.
Change 4269386 by Ryan.Vance
#jira UE-62274
We need to recompute the view frustum and related distances if the projection matrix is changed.
Change 4269401 by Ryan.Vance
#jira UE-62155
Debug canvas layer fixes
Change 4270710 by Chance.Ivey
Merging //UE4/Dev-Partner-MagicLeap-4.20 to Dev-VR (//UE4/Dev-VR)
- 4262963
- 4261100
- 4261103
- 4265565
Change 4270822 by Ryan.Vance
#jira UE-61462
Work around for csm shadow culling bug on Lumiun
Change 4271396 by Jason.Bestimt
#DEV-VR - Saving off original MLSDK variable for future editor "restarts" within the same process
#JIRA: UE-58634
Change 4271402 by Jason.Bestimt
#DEV-VR - Making bUseMobileRendering non-editable for binary builds
#JIRA: UE-60956
Change 4271454 by Jason.Bestimt
#DEV-VR - Integrating CL 4239939, 4236178 and 4269702 from Partners-Google-VR
Change 4272387 by Ryan.Vance
#jira UEVR-1281
Oculus 1.28 Plugin changes
Change 4273410 by Jason.Bestimt
#DEV-VR - Fixing MagicLeapSDK Settings to be globaluserconfig (by removing the defaultconfig).
#JIRA: UE-62092
Change 4273929 by Ryan.Vance
#jira UE-62744
Fixing missing includes..
Change 4274147 by Kyle.Fung
Round-robin occlusion queries for stereoscopic rendering
With the vr.RoundRobinOcclusion flag turned on, each frame will only render occlusion queries for one eye with an alternating scheme (ie odd frames only left eye, even frames only right eye).
Additionally, the interface for class FPrimitiveOcclusionHistory has been changed along with a slight modification in its implementation. With round-robin occlusion, when extracing history entries we perform a search through the entire history to look for the oldest entry in a primitive's occlusion history.
#jira UEVR-1289
Change 4274206 by Kyle.Fung
Fixed some compiler warnings
#jira UEVR-1289
Change 4275212 by Jason.Bestimt
#DEV-VR - Fixing CIS error (forcing value to bool)
Change 4275973 by Jason.Bestimt
#DEV-VR - Merging CL 4275879 from Partner-Google-VR
GoogleVR 1.170 Release Update.
- Removed reference to GetHMDDeviceType.
- Updated to final version of SDK libraries.
Change 4276154 by Jason.Bestimt
#DEV-VR - fix for CIS warning about PngPtr being used before it is checked
Change 4277171 by Jeff.Fisher
UE-62399 Graphical corruption when opening the debug console
-Switched from the fast hardware clear to the slower shader clear because the slower one works. Perhaps a better fix exists that would make the faster clear work? Costs 60us when debug ui is up, but only when rendering debug to a stereo layer (vr/ar).
#jira UE-62399
#review-4277026
Change 4277633 by Joe.Conley
#jira UE-54565 - "Packaged game/Editor with Stereo Layers crashes when exiting game through steam VR overlay"
Don't call GetStereoLayers if stereo is not enabled.
Change 4277723 by Ryan.Vance
#jira UE-62776
Cleaning up questionable partner code found by SA.
I'm pretty confident the SA warning is a false positive, but there was a lot to fix here regardless.
Change 4280289 by Joe.Graf
Added some "Ignored by ARCore" comments Google requested
Change 4280479 by Joe.Graf
Fixed a member copy step in AppleARKitFrame::operator= that Wanghao reported
Change 4280824 by Jason.Bestimt
#DEV-VR - removing stale comment about ML SDK Settings using defaultengine.ini
Change 4281117 by Jason.Bestimt
#DEV-VR - Removing warnings on LUMIN from trying to load missing modules
#JIRA: UE-62748
Change 4281514 by Jason.Bestimt
#DEV-VR - Moving FunctionalTesting dependency under bCompileAgainstEngine
Change 4281847 by Joe.Graf
Added a UPL file to AppleARKit that modifies the plist to include the requirement of ARKit and request for camera access
#jira: UE-60050, UE-62837
Change 4281945 by Joe.Graf
Removed the ensures from the ARBlueprintLibrary code since the code handles the failure cases properly
#jira: UE-61845, UE-61846
Change 4282098 by Ethan.Geller
#jira UE-62863 fix audio on lumin #rb none
Change 4283974 by Joe.Graf
Deprecated bIsTracked on tracked images and face geo per Google API reunification feedback
Change 4284118 by Jason.Bestimt
#DEV-VR - Moving FunctionalTest dependency to be both non-shipping and CompileAgainstEngine. Allowing FunctionalTesting to be compiled in binary build
Change 4285339 by Ethan.Geller
#jira UE-62087 Whitelist AudioCapture module for mac while not whitelisting the AudioCaptureEditor module, which should only work on Windows.
Change 4286024 by Ryan.Vance
Copying //UE4/Partner-Microsoft-XR to Dev-VR (//UE4/Dev-VR)
Windows mixed reality integration.
Disabled by default
Change 4289812 by Jason.Bestimt
#DEV-VR - Fix for non-unity build issue with windows header
Change 4296399 by Jason.Bestimt
RSync fixes for xml files
#JIRA: UE-62994
Change 4296679 by Jason.Bestimt
#DEV-VR - Fixing remote iOS compile issue with BP projects that require plugins
#JIRA: UE-62967
[CL 4299100 by Jason Bestimt in Main branch]
2018-08-17 19:56:07 -04:00
}
2019-01-28 16:31:25 -05:00
# if WITH_WINDOWS_MIXED_REALITY
Copying //UE4/Dev-VR to //UE4/Dev-Main (Source: //UE4/Dev-VR @ 4296730)
#lockdown Nick.Penwarden
============================
MAJOR FEATURES & CHANGES
============================
Change 3775128 by Nick.Atamas
Merging //UE4/Partner-Google-VR @ CL 3770408 to Dev-VR (//UE4/Dev-VR)
Change 4166311 by Jason.Bestimt
#DEV-VR - Merge from //UE4/Dev-MagicLeap/... @ CL 4136411
Change 4185551 by Joe.Graf
Added support to query and specify the desired video format for an AR session
Change 4269190 by Ethan.Geller
[Dev-VR] #jira UE-62644 Deescalate resampling logs to display, and make sure that Lumin does not get Resampling settings from Android runtime settings.
Change 4269386 by Ryan.Vance
#jira UE-62274
We need to recompute the view frustum and related distances if the projection matrix is changed.
Change 4269401 by Ryan.Vance
#jira UE-62155
Debug canvas layer fixes
Change 4270710 by Chance.Ivey
Merging //UE4/Dev-Partner-MagicLeap-4.20 to Dev-VR (//UE4/Dev-VR)
- 4262963
- 4261100
- 4261103
- 4265565
Change 4270822 by Ryan.Vance
#jira UE-61462
Work around for csm shadow culling bug on Lumiun
Change 4271396 by Jason.Bestimt
#DEV-VR - Saving off original MLSDK variable for future editor "restarts" within the same process
#JIRA: UE-58634
Change 4271402 by Jason.Bestimt
#DEV-VR - Making bUseMobileRendering non-editable for binary builds
#JIRA: UE-60956
Change 4271454 by Jason.Bestimt
#DEV-VR - Integrating CL 4239939, 4236178 and 4269702 from Partners-Google-VR
Change 4272387 by Ryan.Vance
#jira UEVR-1281
Oculus 1.28 Plugin changes
Change 4273410 by Jason.Bestimt
#DEV-VR - Fixing MagicLeapSDK Settings to be globaluserconfig (by removing the defaultconfig).
#JIRA: UE-62092
Change 4273929 by Ryan.Vance
#jira UE-62744
Fixing missing includes..
Change 4274147 by Kyle.Fung
Round-robin occlusion queries for stereoscopic rendering
With the vr.RoundRobinOcclusion flag turned on, each frame will only render occlusion queries for one eye with an alternating scheme (ie odd frames only left eye, even frames only right eye).
Additionally, the interface for class FPrimitiveOcclusionHistory has been changed along with a slight modification in its implementation. With round-robin occlusion, when extracing history entries we perform a search through the entire history to look for the oldest entry in a primitive's occlusion history.
#jira UEVR-1289
Change 4274206 by Kyle.Fung
Fixed some compiler warnings
#jira UEVR-1289
Change 4275212 by Jason.Bestimt
#DEV-VR - Fixing CIS error (forcing value to bool)
Change 4275973 by Jason.Bestimt
#DEV-VR - Merging CL 4275879 from Partner-Google-VR
GoogleVR 1.170 Release Update.
- Removed reference to GetHMDDeviceType.
- Updated to final version of SDK libraries.
Change 4276154 by Jason.Bestimt
#DEV-VR - fix for CIS warning about PngPtr being used before it is checked
Change 4277171 by Jeff.Fisher
UE-62399 Graphical corruption when opening the debug console
-Switched from the fast hardware clear to the slower shader clear because the slower one works. Perhaps a better fix exists that would make the faster clear work? Costs 60us when debug ui is up, but only when rendering debug to a stereo layer (vr/ar).
#jira UE-62399
#review-4277026
Change 4277633 by Joe.Conley
#jira UE-54565 - "Packaged game/Editor with Stereo Layers crashes when exiting game through steam VR overlay"
Don't call GetStereoLayers if stereo is not enabled.
Change 4277723 by Ryan.Vance
#jira UE-62776
Cleaning up questionable partner code found by SA.
I'm pretty confident the SA warning is a false positive, but there was a lot to fix here regardless.
Change 4280289 by Joe.Graf
Added some "Ignored by ARCore" comments Google requested
Change 4280479 by Joe.Graf
Fixed a member copy step in AppleARKitFrame::operator= that Wanghao reported
Change 4280824 by Jason.Bestimt
#DEV-VR - removing stale comment about ML SDK Settings using defaultengine.ini
Change 4281117 by Jason.Bestimt
#DEV-VR - Removing warnings on LUMIN from trying to load missing modules
#JIRA: UE-62748
Change 4281514 by Jason.Bestimt
#DEV-VR - Moving FunctionalTesting dependency under bCompileAgainstEngine
Change 4281847 by Joe.Graf
Added a UPL file to AppleARKit that modifies the plist to include the requirement of ARKit and request for camera access
#jira: UE-60050, UE-62837
Change 4281945 by Joe.Graf
Removed the ensures from the ARBlueprintLibrary code since the code handles the failure cases properly
#jira: UE-61845, UE-61846
Change 4282098 by Ethan.Geller
#jira UE-62863 fix audio on lumin #rb none
Change 4283974 by Joe.Graf
Deprecated bIsTracked on tracked images and face geo per Google API reunification feedback
Change 4284118 by Jason.Bestimt
#DEV-VR - Moving FunctionalTest dependency to be both non-shipping and CompileAgainstEngine. Allowing FunctionalTesting to be compiled in binary build
Change 4285339 by Ethan.Geller
#jira UE-62087 Whitelist AudioCapture module for mac while not whitelisting the AudioCaptureEditor module, which should only work on Windows.
Change 4286024 by Ryan.Vance
Copying //UE4/Partner-Microsoft-XR to Dev-VR (//UE4/Dev-VR)
Windows mixed reality integration.
Disabled by default
Change 4289812 by Jason.Bestimt
#DEV-VR - Fix for non-unity build issue with windows header
Change 4296399 by Jason.Bestimt
RSync fixes for xml files
#JIRA: UE-62994
Change 4296679 by Jason.Bestimt
#DEV-VR - Fixing remote iOS compile issue with BP projects that require plugins
#JIRA: UE-62967
[CL 4299100 by Jason Bestimt in Main branch]
2018-08-17 19:56:07 -04:00
void SendControllerButtonEvent (
TSharedPtr < FGenericApplicationMessageHandler > messageHandler ,
uint32 controllerId ,
FKey button ,
2019-06-10 12:22:13 -04:00
HMDInputPressState pressState ) noexcept
Copying //UE4/Dev-VR to //UE4/Dev-Main (Source: //UE4/Dev-VR @ 4296730)
#lockdown Nick.Penwarden
============================
MAJOR FEATURES & CHANGES
============================
Change 3775128 by Nick.Atamas
Merging //UE4/Partner-Google-VR @ CL 3770408 to Dev-VR (//UE4/Dev-VR)
Change 4166311 by Jason.Bestimt
#DEV-VR - Merge from //UE4/Dev-MagicLeap/... @ CL 4136411
Change 4185551 by Joe.Graf
Added support to query and specify the desired video format for an AR session
Change 4269190 by Ethan.Geller
[Dev-VR] #jira UE-62644 Deescalate resampling logs to display, and make sure that Lumin does not get Resampling settings from Android runtime settings.
Change 4269386 by Ryan.Vance
#jira UE-62274
We need to recompute the view frustum and related distances if the projection matrix is changed.
Change 4269401 by Ryan.Vance
#jira UE-62155
Debug canvas layer fixes
Change 4270710 by Chance.Ivey
Merging //UE4/Dev-Partner-MagicLeap-4.20 to Dev-VR (//UE4/Dev-VR)
- 4262963
- 4261100
- 4261103
- 4265565
Change 4270822 by Ryan.Vance
#jira UE-61462
Work around for csm shadow culling bug on Lumiun
Change 4271396 by Jason.Bestimt
#DEV-VR - Saving off original MLSDK variable for future editor "restarts" within the same process
#JIRA: UE-58634
Change 4271402 by Jason.Bestimt
#DEV-VR - Making bUseMobileRendering non-editable for binary builds
#JIRA: UE-60956
Change 4271454 by Jason.Bestimt
#DEV-VR - Integrating CL 4239939, 4236178 and 4269702 from Partners-Google-VR
Change 4272387 by Ryan.Vance
#jira UEVR-1281
Oculus 1.28 Plugin changes
Change 4273410 by Jason.Bestimt
#DEV-VR - Fixing MagicLeapSDK Settings to be globaluserconfig (by removing the defaultconfig).
#JIRA: UE-62092
Change 4273929 by Ryan.Vance
#jira UE-62744
Fixing missing includes..
Change 4274147 by Kyle.Fung
Round-robin occlusion queries for stereoscopic rendering
With the vr.RoundRobinOcclusion flag turned on, each frame will only render occlusion queries for one eye with an alternating scheme (ie odd frames only left eye, even frames only right eye).
Additionally, the interface for class FPrimitiveOcclusionHistory has been changed along with a slight modification in its implementation. With round-robin occlusion, when extracing history entries we perform a search through the entire history to look for the oldest entry in a primitive's occlusion history.
#jira UEVR-1289
Change 4274206 by Kyle.Fung
Fixed some compiler warnings
#jira UEVR-1289
Change 4275212 by Jason.Bestimt
#DEV-VR - Fixing CIS error (forcing value to bool)
Change 4275973 by Jason.Bestimt
#DEV-VR - Merging CL 4275879 from Partner-Google-VR
GoogleVR 1.170 Release Update.
- Removed reference to GetHMDDeviceType.
- Updated to final version of SDK libraries.
Change 4276154 by Jason.Bestimt
#DEV-VR - fix for CIS warning about PngPtr being used before it is checked
Change 4277171 by Jeff.Fisher
UE-62399 Graphical corruption when opening the debug console
-Switched from the fast hardware clear to the slower shader clear because the slower one works. Perhaps a better fix exists that would make the faster clear work? Costs 60us when debug ui is up, but only when rendering debug to a stereo layer (vr/ar).
#jira UE-62399
#review-4277026
Change 4277633 by Joe.Conley
#jira UE-54565 - "Packaged game/Editor with Stereo Layers crashes when exiting game through steam VR overlay"
Don't call GetStereoLayers if stereo is not enabled.
Change 4277723 by Ryan.Vance
#jira UE-62776
Cleaning up questionable partner code found by SA.
I'm pretty confident the SA warning is a false positive, but there was a lot to fix here regardless.
Change 4280289 by Joe.Graf
Added some "Ignored by ARCore" comments Google requested
Change 4280479 by Joe.Graf
Fixed a member copy step in AppleARKitFrame::operator= that Wanghao reported
Change 4280824 by Jason.Bestimt
#DEV-VR - removing stale comment about ML SDK Settings using defaultengine.ini
Change 4281117 by Jason.Bestimt
#DEV-VR - Removing warnings on LUMIN from trying to load missing modules
#JIRA: UE-62748
Change 4281514 by Jason.Bestimt
#DEV-VR - Moving FunctionalTesting dependency under bCompileAgainstEngine
Change 4281847 by Joe.Graf
Added a UPL file to AppleARKit that modifies the plist to include the requirement of ARKit and request for camera access
#jira: UE-60050, UE-62837
Change 4281945 by Joe.Graf
Removed the ensures from the ARBlueprintLibrary code since the code handles the failure cases properly
#jira: UE-61845, UE-61846
Change 4282098 by Ethan.Geller
#jira UE-62863 fix audio on lumin #rb none
Change 4283974 by Joe.Graf
Deprecated bIsTracked on tracked images and face geo per Google API reunification feedback
Change 4284118 by Jason.Bestimt
#DEV-VR - Moving FunctionalTest dependency to be both non-shipping and CompileAgainstEngine. Allowing FunctionalTesting to be compiled in binary build
Change 4285339 by Ethan.Geller
#jira UE-62087 Whitelist AudioCapture module for mac while not whitelisting the AudioCaptureEditor module, which should only work on Windows.
Change 4286024 by Ryan.Vance
Copying //UE4/Partner-Microsoft-XR to Dev-VR (//UE4/Dev-VR)
Windows mixed reality integration.
Disabled by default
Change 4289812 by Jason.Bestimt
#DEV-VR - Fix for non-unity build issue with windows header
Change 4296399 by Jason.Bestimt
RSync fixes for xml files
#JIRA: UE-62994
Change 4296679 by Jason.Bestimt
#DEV-VR - Fixing remote iOS compile issue with BP projects that require plugins
#JIRA: UE-62967
[CL 4299100 by Jason Bestimt in Main branch]
2018-08-17 19:56:07 -04:00
{
2019-07-26 15:20:42 -04:00
check ( IsInGameThread ( ) ) ;
Copying //UE4/Dev-VR to //UE4/Dev-Main (Source: //UE4/Dev-VR @ 4296730)
#lockdown Nick.Penwarden
============================
MAJOR FEATURES & CHANGES
============================
Change 3775128 by Nick.Atamas
Merging //UE4/Partner-Google-VR @ CL 3770408 to Dev-VR (//UE4/Dev-VR)
Change 4166311 by Jason.Bestimt
#DEV-VR - Merge from //UE4/Dev-MagicLeap/... @ CL 4136411
Change 4185551 by Joe.Graf
Added support to query and specify the desired video format for an AR session
Change 4269190 by Ethan.Geller
[Dev-VR] #jira UE-62644 Deescalate resampling logs to display, and make sure that Lumin does not get Resampling settings from Android runtime settings.
Change 4269386 by Ryan.Vance
#jira UE-62274
We need to recompute the view frustum and related distances if the projection matrix is changed.
Change 4269401 by Ryan.Vance
#jira UE-62155
Debug canvas layer fixes
Change 4270710 by Chance.Ivey
Merging //UE4/Dev-Partner-MagicLeap-4.20 to Dev-VR (//UE4/Dev-VR)
- 4262963
- 4261100
- 4261103
- 4265565
Change 4270822 by Ryan.Vance
#jira UE-61462
Work around for csm shadow culling bug on Lumiun
Change 4271396 by Jason.Bestimt
#DEV-VR - Saving off original MLSDK variable for future editor "restarts" within the same process
#JIRA: UE-58634
Change 4271402 by Jason.Bestimt
#DEV-VR - Making bUseMobileRendering non-editable for binary builds
#JIRA: UE-60956
Change 4271454 by Jason.Bestimt
#DEV-VR - Integrating CL 4239939, 4236178 and 4269702 from Partners-Google-VR
Change 4272387 by Ryan.Vance
#jira UEVR-1281
Oculus 1.28 Plugin changes
Change 4273410 by Jason.Bestimt
#DEV-VR - Fixing MagicLeapSDK Settings to be globaluserconfig (by removing the defaultconfig).
#JIRA: UE-62092
Change 4273929 by Ryan.Vance
#jira UE-62744
Fixing missing includes..
Change 4274147 by Kyle.Fung
Round-robin occlusion queries for stereoscopic rendering
With the vr.RoundRobinOcclusion flag turned on, each frame will only render occlusion queries for one eye with an alternating scheme (ie odd frames only left eye, even frames only right eye).
Additionally, the interface for class FPrimitiveOcclusionHistory has been changed along with a slight modification in its implementation. With round-robin occlusion, when extracing history entries we perform a search through the entire history to look for the oldest entry in a primitive's occlusion history.
#jira UEVR-1289
Change 4274206 by Kyle.Fung
Fixed some compiler warnings
#jira UEVR-1289
Change 4275212 by Jason.Bestimt
#DEV-VR - Fixing CIS error (forcing value to bool)
Change 4275973 by Jason.Bestimt
#DEV-VR - Merging CL 4275879 from Partner-Google-VR
GoogleVR 1.170 Release Update.
- Removed reference to GetHMDDeviceType.
- Updated to final version of SDK libraries.
Change 4276154 by Jason.Bestimt
#DEV-VR - fix for CIS warning about PngPtr being used before it is checked
Change 4277171 by Jeff.Fisher
UE-62399 Graphical corruption when opening the debug console
-Switched from the fast hardware clear to the slower shader clear because the slower one works. Perhaps a better fix exists that would make the faster clear work? Costs 60us when debug ui is up, but only when rendering debug to a stereo layer (vr/ar).
#jira UE-62399
#review-4277026
Change 4277633 by Joe.Conley
#jira UE-54565 - "Packaged game/Editor with Stereo Layers crashes when exiting game through steam VR overlay"
Don't call GetStereoLayers if stereo is not enabled.
Change 4277723 by Ryan.Vance
#jira UE-62776
Cleaning up questionable partner code found by SA.
I'm pretty confident the SA warning is a false positive, but there was a lot to fix here regardless.
Change 4280289 by Joe.Graf
Added some "Ignored by ARCore" comments Google requested
Change 4280479 by Joe.Graf
Fixed a member copy step in AppleARKitFrame::operator= that Wanghao reported
Change 4280824 by Jason.Bestimt
#DEV-VR - removing stale comment about ML SDK Settings using defaultengine.ini
Change 4281117 by Jason.Bestimt
#DEV-VR - Removing warnings on LUMIN from trying to load missing modules
#JIRA: UE-62748
Change 4281514 by Jason.Bestimt
#DEV-VR - Moving FunctionalTesting dependency under bCompileAgainstEngine
Change 4281847 by Joe.Graf
Added a UPL file to AppleARKit that modifies the plist to include the requirement of ARKit and request for camera access
#jira: UE-60050, UE-62837
Change 4281945 by Joe.Graf
Removed the ensures from the ARBlueprintLibrary code since the code handles the failure cases properly
#jira: UE-61845, UE-61846
Change 4282098 by Ethan.Geller
#jira UE-62863 fix audio on lumin #rb none
Change 4283974 by Joe.Graf
Deprecated bIsTracked on tracked images and face geo per Google API reunification feedback
Change 4284118 by Jason.Bestimt
#DEV-VR - Moving FunctionalTest dependency to be both non-shipping and CompileAgainstEngine. Allowing FunctionalTesting to be compiled in binary build
Change 4285339 by Ethan.Geller
#jira UE-62087 Whitelist AudioCapture module for mac while not whitelisting the AudioCaptureEditor module, which should only work on Windows.
Change 4286024 by Ryan.Vance
Copying //UE4/Partner-Microsoft-XR to Dev-VR (//UE4/Dev-VR)
Windows mixed reality integration.
Disabled by default
Change 4289812 by Jason.Bestimt
#DEV-VR - Fix for non-unity build issue with windows header
Change 4296399 by Jason.Bestimt
RSync fixes for xml files
#JIRA: UE-62994
Change 4296679 by Jason.Bestimt
#DEV-VR - Fixing remote iOS compile issue with BP projects that require plugins
#JIRA: UE-62967
[CL 4299100 by Jason Bestimt in Main branch]
2018-08-17 19:56:07 -04:00
FName buttonName = button . GetFName ( ) ;
2019-06-10 12:22:13 -04:00
if ( pressState = = HMDInputPressState : : NotApplicable )
Copying //UE4/Dev-VR to //UE4/Dev-Main (Source: //UE4/Dev-VR @ 4296730)
#lockdown Nick.Penwarden
============================
MAJOR FEATURES & CHANGES
============================
Change 3775128 by Nick.Atamas
Merging //UE4/Partner-Google-VR @ CL 3770408 to Dev-VR (//UE4/Dev-VR)
Change 4166311 by Jason.Bestimt
#DEV-VR - Merge from //UE4/Dev-MagicLeap/... @ CL 4136411
Change 4185551 by Joe.Graf
Added support to query and specify the desired video format for an AR session
Change 4269190 by Ethan.Geller
[Dev-VR] #jira UE-62644 Deescalate resampling logs to display, and make sure that Lumin does not get Resampling settings from Android runtime settings.
Change 4269386 by Ryan.Vance
#jira UE-62274
We need to recompute the view frustum and related distances if the projection matrix is changed.
Change 4269401 by Ryan.Vance
#jira UE-62155
Debug canvas layer fixes
Change 4270710 by Chance.Ivey
Merging //UE4/Dev-Partner-MagicLeap-4.20 to Dev-VR (//UE4/Dev-VR)
- 4262963
- 4261100
- 4261103
- 4265565
Change 4270822 by Ryan.Vance
#jira UE-61462
Work around for csm shadow culling bug on Lumiun
Change 4271396 by Jason.Bestimt
#DEV-VR - Saving off original MLSDK variable for future editor "restarts" within the same process
#JIRA: UE-58634
Change 4271402 by Jason.Bestimt
#DEV-VR - Making bUseMobileRendering non-editable for binary builds
#JIRA: UE-60956
Change 4271454 by Jason.Bestimt
#DEV-VR - Integrating CL 4239939, 4236178 and 4269702 from Partners-Google-VR
Change 4272387 by Ryan.Vance
#jira UEVR-1281
Oculus 1.28 Plugin changes
Change 4273410 by Jason.Bestimt
#DEV-VR - Fixing MagicLeapSDK Settings to be globaluserconfig (by removing the defaultconfig).
#JIRA: UE-62092
Change 4273929 by Ryan.Vance
#jira UE-62744
Fixing missing includes..
Change 4274147 by Kyle.Fung
Round-robin occlusion queries for stereoscopic rendering
With the vr.RoundRobinOcclusion flag turned on, each frame will only render occlusion queries for one eye with an alternating scheme (ie odd frames only left eye, even frames only right eye).
Additionally, the interface for class FPrimitiveOcclusionHistory has been changed along with a slight modification in its implementation. With round-robin occlusion, when extracing history entries we perform a search through the entire history to look for the oldest entry in a primitive's occlusion history.
#jira UEVR-1289
Change 4274206 by Kyle.Fung
Fixed some compiler warnings
#jira UEVR-1289
Change 4275212 by Jason.Bestimt
#DEV-VR - Fixing CIS error (forcing value to bool)
Change 4275973 by Jason.Bestimt
#DEV-VR - Merging CL 4275879 from Partner-Google-VR
GoogleVR 1.170 Release Update.
- Removed reference to GetHMDDeviceType.
- Updated to final version of SDK libraries.
Change 4276154 by Jason.Bestimt
#DEV-VR - fix for CIS warning about PngPtr being used before it is checked
Change 4277171 by Jeff.Fisher
UE-62399 Graphical corruption when opening the debug console
-Switched from the fast hardware clear to the slower shader clear because the slower one works. Perhaps a better fix exists that would make the faster clear work? Costs 60us when debug ui is up, but only when rendering debug to a stereo layer (vr/ar).
#jira UE-62399
#review-4277026
Change 4277633 by Joe.Conley
#jira UE-54565 - "Packaged game/Editor with Stereo Layers crashes when exiting game through steam VR overlay"
Don't call GetStereoLayers if stereo is not enabled.
Change 4277723 by Ryan.Vance
#jira UE-62776
Cleaning up questionable partner code found by SA.
I'm pretty confident the SA warning is a false positive, but there was a lot to fix here regardless.
Change 4280289 by Joe.Graf
Added some "Ignored by ARCore" comments Google requested
Change 4280479 by Joe.Graf
Fixed a member copy step in AppleARKitFrame::operator= that Wanghao reported
Change 4280824 by Jason.Bestimt
#DEV-VR - removing stale comment about ML SDK Settings using defaultengine.ini
Change 4281117 by Jason.Bestimt
#DEV-VR - Removing warnings on LUMIN from trying to load missing modules
#JIRA: UE-62748
Change 4281514 by Jason.Bestimt
#DEV-VR - Moving FunctionalTesting dependency under bCompileAgainstEngine
Change 4281847 by Joe.Graf
Added a UPL file to AppleARKit that modifies the plist to include the requirement of ARKit and request for camera access
#jira: UE-60050, UE-62837
Change 4281945 by Joe.Graf
Removed the ensures from the ARBlueprintLibrary code since the code handles the failure cases properly
#jira: UE-61845, UE-61846
Change 4282098 by Ethan.Geller
#jira UE-62863 fix audio on lumin #rb none
Change 4283974 by Joe.Graf
Deprecated bIsTracked on tracked images and face geo per Google API reunification feedback
Change 4284118 by Jason.Bestimt
#DEV-VR - Moving FunctionalTest dependency to be both non-shipping and CompileAgainstEngine. Allowing FunctionalTesting to be compiled in binary build
Change 4285339 by Ethan.Geller
#jira UE-62087 Whitelist AudioCapture module for mac while not whitelisting the AudioCaptureEditor module, which should only work on Windows.
Change 4286024 by Ryan.Vance
Copying //UE4/Partner-Microsoft-XR to Dev-VR (//UE4/Dev-VR)
Windows mixed reality integration.
Disabled by default
Change 4289812 by Jason.Bestimt
#DEV-VR - Fix for non-unity build issue with windows header
Change 4296399 by Jason.Bestimt
RSync fixes for xml files
#JIRA: UE-62994
Change 4296679 by Jason.Bestimt
#DEV-VR - Fixing remote iOS compile issue with BP projects that require plugins
#JIRA: UE-62967
[CL 4299100 by Jason Bestimt in Main branch]
2018-08-17 19:56:07 -04:00
{
// No event should be sent.
return ;
}
2019-06-10 12:22:13 -04:00
if ( pressState = = HMDInputPressState : : Pressed )
Copying //UE4/Dev-VR to //UE4/Dev-Main (Source: //UE4/Dev-VR @ 4296730)
#lockdown Nick.Penwarden
============================
MAJOR FEATURES & CHANGES
============================
Change 3775128 by Nick.Atamas
Merging //UE4/Partner-Google-VR @ CL 3770408 to Dev-VR (//UE4/Dev-VR)
Change 4166311 by Jason.Bestimt
#DEV-VR - Merge from //UE4/Dev-MagicLeap/... @ CL 4136411
Change 4185551 by Joe.Graf
Added support to query and specify the desired video format for an AR session
Change 4269190 by Ethan.Geller
[Dev-VR] #jira UE-62644 Deescalate resampling logs to display, and make sure that Lumin does not get Resampling settings from Android runtime settings.
Change 4269386 by Ryan.Vance
#jira UE-62274
We need to recompute the view frustum and related distances if the projection matrix is changed.
Change 4269401 by Ryan.Vance
#jira UE-62155
Debug canvas layer fixes
Change 4270710 by Chance.Ivey
Merging //UE4/Dev-Partner-MagicLeap-4.20 to Dev-VR (//UE4/Dev-VR)
- 4262963
- 4261100
- 4261103
- 4265565
Change 4270822 by Ryan.Vance
#jira UE-61462
Work around for csm shadow culling bug on Lumiun
Change 4271396 by Jason.Bestimt
#DEV-VR - Saving off original MLSDK variable for future editor "restarts" within the same process
#JIRA: UE-58634
Change 4271402 by Jason.Bestimt
#DEV-VR - Making bUseMobileRendering non-editable for binary builds
#JIRA: UE-60956
Change 4271454 by Jason.Bestimt
#DEV-VR - Integrating CL 4239939, 4236178 and 4269702 from Partners-Google-VR
Change 4272387 by Ryan.Vance
#jira UEVR-1281
Oculus 1.28 Plugin changes
Change 4273410 by Jason.Bestimt
#DEV-VR - Fixing MagicLeapSDK Settings to be globaluserconfig (by removing the defaultconfig).
#JIRA: UE-62092
Change 4273929 by Ryan.Vance
#jira UE-62744
Fixing missing includes..
Change 4274147 by Kyle.Fung
Round-robin occlusion queries for stereoscopic rendering
With the vr.RoundRobinOcclusion flag turned on, each frame will only render occlusion queries for one eye with an alternating scheme (ie odd frames only left eye, even frames only right eye).
Additionally, the interface for class FPrimitiveOcclusionHistory has been changed along with a slight modification in its implementation. With round-robin occlusion, when extracing history entries we perform a search through the entire history to look for the oldest entry in a primitive's occlusion history.
#jira UEVR-1289
Change 4274206 by Kyle.Fung
Fixed some compiler warnings
#jira UEVR-1289
Change 4275212 by Jason.Bestimt
#DEV-VR - Fixing CIS error (forcing value to bool)
Change 4275973 by Jason.Bestimt
#DEV-VR - Merging CL 4275879 from Partner-Google-VR
GoogleVR 1.170 Release Update.
- Removed reference to GetHMDDeviceType.
- Updated to final version of SDK libraries.
Change 4276154 by Jason.Bestimt
#DEV-VR - fix for CIS warning about PngPtr being used before it is checked
Change 4277171 by Jeff.Fisher
UE-62399 Graphical corruption when opening the debug console
-Switched from the fast hardware clear to the slower shader clear because the slower one works. Perhaps a better fix exists that would make the faster clear work? Costs 60us when debug ui is up, but only when rendering debug to a stereo layer (vr/ar).
#jira UE-62399
#review-4277026
Change 4277633 by Joe.Conley
#jira UE-54565 - "Packaged game/Editor with Stereo Layers crashes when exiting game through steam VR overlay"
Don't call GetStereoLayers if stereo is not enabled.
Change 4277723 by Ryan.Vance
#jira UE-62776
Cleaning up questionable partner code found by SA.
I'm pretty confident the SA warning is a false positive, but there was a lot to fix here regardless.
Change 4280289 by Joe.Graf
Added some "Ignored by ARCore" comments Google requested
Change 4280479 by Joe.Graf
Fixed a member copy step in AppleARKitFrame::operator= that Wanghao reported
Change 4280824 by Jason.Bestimt
#DEV-VR - removing stale comment about ML SDK Settings using defaultengine.ini
Change 4281117 by Jason.Bestimt
#DEV-VR - Removing warnings on LUMIN from trying to load missing modules
#JIRA: UE-62748
Change 4281514 by Jason.Bestimt
#DEV-VR - Moving FunctionalTesting dependency under bCompileAgainstEngine
Change 4281847 by Joe.Graf
Added a UPL file to AppleARKit that modifies the plist to include the requirement of ARKit and request for camera access
#jira: UE-60050, UE-62837
Change 4281945 by Joe.Graf
Removed the ensures from the ARBlueprintLibrary code since the code handles the failure cases properly
#jira: UE-61845, UE-61846
Change 4282098 by Ethan.Geller
#jira UE-62863 fix audio on lumin #rb none
Change 4283974 by Joe.Graf
Deprecated bIsTracked on tracked images and face geo per Google API reunification feedback
Change 4284118 by Jason.Bestimt
#DEV-VR - Moving FunctionalTest dependency to be both non-shipping and CompileAgainstEngine. Allowing FunctionalTesting to be compiled in binary build
Change 4285339 by Ethan.Geller
#jira UE-62087 Whitelist AudioCapture module for mac while not whitelisting the AudioCaptureEditor module, which should only work on Windows.
Change 4286024 by Ryan.Vance
Copying //UE4/Partner-Microsoft-XR to Dev-VR (//UE4/Dev-VR)
Windows mixed reality integration.
Disabled by default
Change 4289812 by Jason.Bestimt
#DEV-VR - Fix for non-unity build issue with windows header
Change 4296399 by Jason.Bestimt
RSync fixes for xml files
#JIRA: UE-62994
Change 4296679 by Jason.Bestimt
#DEV-VR - Fixing remote iOS compile issue with BP projects that require plugins
#JIRA: UE-62967
[CL 4299100 by Jason Bestimt in Main branch]
2018-08-17 19:56:07 -04:00
{
// Send the press event.
messageHandler - > OnControllerButtonPressed (
buttonName ,
static_cast < int32 > ( controllerId ) ,
false ) ;
}
else
{
// Send the release event
messageHandler - > OnControllerButtonReleased (
buttonName ,
static_cast < int32 > ( controllerId ) ,
false ) ;
}
}
void SendControllerAxisEvent (
TSharedPtr < FGenericApplicationMessageHandler > messageHandler ,
uint32 controllerId ,
FKey axis ,
double axisPosition ) noexcept
{
2019-07-26 15:20:42 -04:00
check ( IsInGameThread ( ) ) ;
Copying //UE4/Dev-VR to //UE4/Dev-Main (Source: //UE4/Dev-VR @ 4296730)
#lockdown Nick.Penwarden
============================
MAJOR FEATURES & CHANGES
============================
Change 3775128 by Nick.Atamas
Merging //UE4/Partner-Google-VR @ CL 3770408 to Dev-VR (//UE4/Dev-VR)
Change 4166311 by Jason.Bestimt
#DEV-VR - Merge from //UE4/Dev-MagicLeap/... @ CL 4136411
Change 4185551 by Joe.Graf
Added support to query and specify the desired video format for an AR session
Change 4269190 by Ethan.Geller
[Dev-VR] #jira UE-62644 Deescalate resampling logs to display, and make sure that Lumin does not get Resampling settings from Android runtime settings.
Change 4269386 by Ryan.Vance
#jira UE-62274
We need to recompute the view frustum and related distances if the projection matrix is changed.
Change 4269401 by Ryan.Vance
#jira UE-62155
Debug canvas layer fixes
Change 4270710 by Chance.Ivey
Merging //UE4/Dev-Partner-MagicLeap-4.20 to Dev-VR (//UE4/Dev-VR)
- 4262963
- 4261100
- 4261103
- 4265565
Change 4270822 by Ryan.Vance
#jira UE-61462
Work around for csm shadow culling bug on Lumiun
Change 4271396 by Jason.Bestimt
#DEV-VR - Saving off original MLSDK variable for future editor "restarts" within the same process
#JIRA: UE-58634
Change 4271402 by Jason.Bestimt
#DEV-VR - Making bUseMobileRendering non-editable for binary builds
#JIRA: UE-60956
Change 4271454 by Jason.Bestimt
#DEV-VR - Integrating CL 4239939, 4236178 and 4269702 from Partners-Google-VR
Change 4272387 by Ryan.Vance
#jira UEVR-1281
Oculus 1.28 Plugin changes
Change 4273410 by Jason.Bestimt
#DEV-VR - Fixing MagicLeapSDK Settings to be globaluserconfig (by removing the defaultconfig).
#JIRA: UE-62092
Change 4273929 by Ryan.Vance
#jira UE-62744
Fixing missing includes..
Change 4274147 by Kyle.Fung
Round-robin occlusion queries for stereoscopic rendering
With the vr.RoundRobinOcclusion flag turned on, each frame will only render occlusion queries for one eye with an alternating scheme (ie odd frames only left eye, even frames only right eye).
Additionally, the interface for class FPrimitiveOcclusionHistory has been changed along with a slight modification in its implementation. With round-robin occlusion, when extracing history entries we perform a search through the entire history to look for the oldest entry in a primitive's occlusion history.
#jira UEVR-1289
Change 4274206 by Kyle.Fung
Fixed some compiler warnings
#jira UEVR-1289
Change 4275212 by Jason.Bestimt
#DEV-VR - Fixing CIS error (forcing value to bool)
Change 4275973 by Jason.Bestimt
#DEV-VR - Merging CL 4275879 from Partner-Google-VR
GoogleVR 1.170 Release Update.
- Removed reference to GetHMDDeviceType.
- Updated to final version of SDK libraries.
Change 4276154 by Jason.Bestimt
#DEV-VR - fix for CIS warning about PngPtr being used before it is checked
Change 4277171 by Jeff.Fisher
UE-62399 Graphical corruption when opening the debug console
-Switched from the fast hardware clear to the slower shader clear because the slower one works. Perhaps a better fix exists that would make the faster clear work? Costs 60us when debug ui is up, but only when rendering debug to a stereo layer (vr/ar).
#jira UE-62399
#review-4277026
Change 4277633 by Joe.Conley
#jira UE-54565 - "Packaged game/Editor with Stereo Layers crashes when exiting game through steam VR overlay"
Don't call GetStereoLayers if stereo is not enabled.
Change 4277723 by Ryan.Vance
#jira UE-62776
Cleaning up questionable partner code found by SA.
I'm pretty confident the SA warning is a false positive, but there was a lot to fix here regardless.
Change 4280289 by Joe.Graf
Added some "Ignored by ARCore" comments Google requested
Change 4280479 by Joe.Graf
Fixed a member copy step in AppleARKitFrame::operator= that Wanghao reported
Change 4280824 by Jason.Bestimt
#DEV-VR - removing stale comment about ML SDK Settings using defaultengine.ini
Change 4281117 by Jason.Bestimt
#DEV-VR - Removing warnings on LUMIN from trying to load missing modules
#JIRA: UE-62748
Change 4281514 by Jason.Bestimt
#DEV-VR - Moving FunctionalTesting dependency under bCompileAgainstEngine
Change 4281847 by Joe.Graf
Added a UPL file to AppleARKit that modifies the plist to include the requirement of ARKit and request for camera access
#jira: UE-60050, UE-62837
Change 4281945 by Joe.Graf
Removed the ensures from the ARBlueprintLibrary code since the code handles the failure cases properly
#jira: UE-61845, UE-61846
Change 4282098 by Ethan.Geller
#jira UE-62863 fix audio on lumin #rb none
Change 4283974 by Joe.Graf
Deprecated bIsTracked on tracked images and face geo per Google API reunification feedback
Change 4284118 by Jason.Bestimt
#DEV-VR - Moving FunctionalTest dependency to be both non-shipping and CompileAgainstEngine. Allowing FunctionalTesting to be compiled in binary build
Change 4285339 by Ethan.Geller
#jira UE-62087 Whitelist AudioCapture module for mac while not whitelisting the AudioCaptureEditor module, which should only work on Windows.
Change 4286024 by Ryan.Vance
Copying //UE4/Partner-Microsoft-XR to Dev-VR (//UE4/Dev-VR)
Windows mixed reality integration.
Disabled by default
Change 4289812 by Jason.Bestimt
#DEV-VR - Fix for non-unity build issue with windows header
Change 4296399 by Jason.Bestimt
RSync fixes for xml files
#JIRA: UE-62994
Change 4296679 by Jason.Bestimt
#DEV-VR - Fixing remote iOS compile issue with BP projects that require plugins
#JIRA: UE-62967
[CL 4299100 by Jason Bestimt in Main branch]
2018-08-17 19:56:07 -04:00
FName axisName = axis . GetFName ( ) ;
messageHandler - > OnControllerAnalog (
axisName ,
static_cast < int32 > ( controllerId ) ,
static_cast < float > ( axisPosition ) ) ;
}
2019-11-13 19:14:43 -05:00
FKey GetThumbstickDirectionKey ( FVector2D TouchDir , HMDHand Hand )
{
const FVector2D UpDir ( 0.f , 1.f ) ;
const FVector2D RightDir ( 1.f , 0.f ) ;
const float VerticalDot = TouchDir | UpDir ;
const float RightDot = TouchDir | RightDir ;
if ( VerticalDot > = UE_HALF_SQRT_2 )
{
return ( Hand = = HMDHand : : Left ) ?
EKeys : : MixedReality_Left_Thumbstick_Up :
EKeys : : MixedReality_Right_Thumbstick_Up ;
}
else if ( VerticalDot < = - UE_HALF_SQRT_2 )
{
return ( Hand = = HMDHand : : Left ) ?
EKeys : : MixedReality_Left_Thumbstick_Down :
EKeys : : MixedReality_Right_Thumbstick_Down ;
}
else if ( RightDot < = - UE_HALF_SQRT_2 )
{
return ( Hand = = HMDHand : : Left ) ?
EKeys : : MixedReality_Left_Thumbstick_Left :
EKeys : : MixedReality_Right_Thumbstick_Left ;
}
else if ( RightDot > = UE_HALF_SQRT_2 )
{
return ( Hand = = HMDHand : : Left ) ?
EKeys : : MixedReality_Left_Thumbstick_Right :
EKeys : : MixedReality_Right_Thumbstick_Right ;
}
return EKeys : : Invalid ;
}
FKey GetTouchpadDirectionKey ( FVector2D TouchDir , HMDHand Hand )
{
const FVector2D UpDir ( 0.f , 1.f ) ;
const FVector2D RightDir ( 1.f , 0.f ) ;
const float VerticalDot = TouchDir | UpDir ;
const float RightDot = TouchDir | RightDir ;
if ( VerticalDot > = UE_HALF_SQRT_2 )
{
return ( Hand = = HMDHand : : Left ) ?
EKeys : : MixedReality_Left_Trackpad_Up :
EKeys : : MixedReality_Right_Trackpad_Up ;
}
else if ( VerticalDot < = - UE_HALF_SQRT_2 )
{
return ( Hand = = HMDHand : : Left ) ?
EKeys : : MixedReality_Left_Trackpad_Down :
EKeys : : MixedReality_Right_Trackpad_Down ;
}
else if ( RightDot < = - UE_HALF_SQRT_2 )
{
return ( Hand = = HMDHand : : Left ) ?
EKeys : : MixedReality_Left_Trackpad_Left :
EKeys : : MixedReality_Right_Trackpad_Left ;
}
else if ( RightDot > = UE_HALF_SQRT_2 )
{
return ( Hand = = HMDHand : : Left ) ?
EKeys : : MixedReality_Left_Trackpad_Right :
EKeys : : MixedReality_Right_Trackpad_Right ;
}
return EKeys : : Invalid ;
}
2019-07-26 15:20:42 -04:00
// Gesture events come in from some microsoft thread, so we have to queue them up and send them from the game thread
// to avoid problems with systems that handle the events directly (UI is an example).
void FWindowsMixedRealitySpatialInput : : EnqueueControllerButtonEvent (
uint32 controllerId ,
FKey button ,
HMDInputPressState pressState ) noexcept
{
FScopeLock IndexLock ( & EnqueuedContollerEventBufferWriteIndexMutex ) ;
TArray < FEnqueuedControllerEvent > & WriteBuffer = EnqueuedControllerEventBuffers [ EnqueuedContollerEventBufferWriteIndex ] ;
WriteBuffer . Add ( FEnqueuedControllerEvent ( controllerId , button , pressState ) ) ;
}
void FWindowsMixedRealitySpatialInput : : EnqueueControllerAxisEvent (
uint32 controllerId ,
FKey axis ,
double axisPosition ) noexcept
{
FScopeLock IndexLock ( & EnqueuedContollerEventBufferWriteIndexMutex ) ;
TArray < FEnqueuedControllerEvent > & WriteBuffer = EnqueuedControllerEventBuffers [ EnqueuedContollerEventBufferWriteIndex ] ;
WriteBuffer . Add ( FEnqueuedControllerEvent ( controllerId , axis , axisPosition ) ) ;
}
void FWindowsMixedRealitySpatialInput : : SendQueuedButtonAndAxisEvents ( )
{
check ( IsInGameThread ( ) ) ;
// Flip the buffer
{
FScopeLock IndexLock ( & EnqueuedContollerEventBufferWriteIndexMutex ) ;
EnqueuedContollerEventBufferWriteIndex = 1 - EnqueuedContollerEventBufferWriteIndex ;
}
// Send any queued events FIFO
TArray < FEnqueuedControllerEvent > & ReadBuffer = EnqueuedControllerEventBuffers [ 1 - EnqueuedContollerEventBufferWriteIndex ] ;
for ( const FEnqueuedControllerEvent & Event : ReadBuffer )
{
if ( Event . bIsAxis )
{
SendControllerAxisEvent ( MessageHandler , Event . ControllerId , Event . Key , Event . AxisPosition ) ;
}
else
{
SendControllerButtonEvent ( MessageHandler , Event . ControllerId , Event . Key , Event . PressState ) ;
}
}
// Clear the buffer
ReadBuffer . Empty ( ) ;
}
# endif
2019-01-28 16:31:25 -05:00
# if WITH_WINDOWS_MIXED_REALITY
Copying //UE4/Dev-VR to //UE4/Dev-Main (Source: //UE4/Dev-VR @ 4296730)
#lockdown Nick.Penwarden
============================
MAJOR FEATURES & CHANGES
============================
Change 3775128 by Nick.Atamas
Merging //UE4/Partner-Google-VR @ CL 3770408 to Dev-VR (//UE4/Dev-VR)
Change 4166311 by Jason.Bestimt
#DEV-VR - Merge from //UE4/Dev-MagicLeap/... @ CL 4136411
Change 4185551 by Joe.Graf
Added support to query and specify the desired video format for an AR session
Change 4269190 by Ethan.Geller
[Dev-VR] #jira UE-62644 Deescalate resampling logs to display, and make sure that Lumin does not get Resampling settings from Android runtime settings.
Change 4269386 by Ryan.Vance
#jira UE-62274
We need to recompute the view frustum and related distances if the projection matrix is changed.
Change 4269401 by Ryan.Vance
#jira UE-62155
Debug canvas layer fixes
Change 4270710 by Chance.Ivey
Merging //UE4/Dev-Partner-MagicLeap-4.20 to Dev-VR (//UE4/Dev-VR)
- 4262963
- 4261100
- 4261103
- 4265565
Change 4270822 by Ryan.Vance
#jira UE-61462
Work around for csm shadow culling bug on Lumiun
Change 4271396 by Jason.Bestimt
#DEV-VR - Saving off original MLSDK variable for future editor "restarts" within the same process
#JIRA: UE-58634
Change 4271402 by Jason.Bestimt
#DEV-VR - Making bUseMobileRendering non-editable for binary builds
#JIRA: UE-60956
Change 4271454 by Jason.Bestimt
#DEV-VR - Integrating CL 4239939, 4236178 and 4269702 from Partners-Google-VR
Change 4272387 by Ryan.Vance
#jira UEVR-1281
Oculus 1.28 Plugin changes
Change 4273410 by Jason.Bestimt
#DEV-VR - Fixing MagicLeapSDK Settings to be globaluserconfig (by removing the defaultconfig).
#JIRA: UE-62092
Change 4273929 by Ryan.Vance
#jira UE-62744
Fixing missing includes..
Change 4274147 by Kyle.Fung
Round-robin occlusion queries for stereoscopic rendering
With the vr.RoundRobinOcclusion flag turned on, each frame will only render occlusion queries for one eye with an alternating scheme (ie odd frames only left eye, even frames only right eye).
Additionally, the interface for class FPrimitiveOcclusionHistory has been changed along with a slight modification in its implementation. With round-robin occlusion, when extracing history entries we perform a search through the entire history to look for the oldest entry in a primitive's occlusion history.
#jira UEVR-1289
Change 4274206 by Kyle.Fung
Fixed some compiler warnings
#jira UEVR-1289
Change 4275212 by Jason.Bestimt
#DEV-VR - Fixing CIS error (forcing value to bool)
Change 4275973 by Jason.Bestimt
#DEV-VR - Merging CL 4275879 from Partner-Google-VR
GoogleVR 1.170 Release Update.
- Removed reference to GetHMDDeviceType.
- Updated to final version of SDK libraries.
Change 4276154 by Jason.Bestimt
#DEV-VR - fix for CIS warning about PngPtr being used before it is checked
Change 4277171 by Jeff.Fisher
UE-62399 Graphical corruption when opening the debug console
-Switched from the fast hardware clear to the slower shader clear because the slower one works. Perhaps a better fix exists that would make the faster clear work? Costs 60us when debug ui is up, but only when rendering debug to a stereo layer (vr/ar).
#jira UE-62399
#review-4277026
Change 4277633 by Joe.Conley
#jira UE-54565 - "Packaged game/Editor with Stereo Layers crashes when exiting game through steam VR overlay"
Don't call GetStereoLayers if stereo is not enabled.
Change 4277723 by Ryan.Vance
#jira UE-62776
Cleaning up questionable partner code found by SA.
I'm pretty confident the SA warning is a false positive, but there was a lot to fix here regardless.
Change 4280289 by Joe.Graf
Added some "Ignored by ARCore" comments Google requested
Change 4280479 by Joe.Graf
Fixed a member copy step in AppleARKitFrame::operator= that Wanghao reported
Change 4280824 by Jason.Bestimt
#DEV-VR - removing stale comment about ML SDK Settings using defaultengine.ini
Change 4281117 by Jason.Bestimt
#DEV-VR - Removing warnings on LUMIN from trying to load missing modules
#JIRA: UE-62748
Change 4281514 by Jason.Bestimt
#DEV-VR - Moving FunctionalTesting dependency under bCompileAgainstEngine
Change 4281847 by Joe.Graf
Added a UPL file to AppleARKit that modifies the plist to include the requirement of ARKit and request for camera access
#jira: UE-60050, UE-62837
Change 4281945 by Joe.Graf
Removed the ensures from the ARBlueprintLibrary code since the code handles the failure cases properly
#jira: UE-61845, UE-61846
Change 4282098 by Ethan.Geller
#jira UE-62863 fix audio on lumin #rb none
Change 4283974 by Joe.Graf
Deprecated bIsTracked on tracked images and face geo per Google API reunification feedback
Change 4284118 by Jason.Bestimt
#DEV-VR - Moving FunctionalTest dependency to be both non-shipping and CompileAgainstEngine. Allowing FunctionalTesting to be compiled in binary build
Change 4285339 by Ethan.Geller
#jira UE-62087 Whitelist AudioCapture module for mac while not whitelisting the AudioCaptureEditor module, which should only work on Windows.
Change 4286024 by Ryan.Vance
Copying //UE4/Partner-Microsoft-XR to Dev-VR (//UE4/Dev-VR)
Windows mixed reality integration.
Disabled by default
Change 4289812 by Jason.Bestimt
#DEV-VR - Fix for non-unity build issue with windows header
Change 4296399 by Jason.Bestimt
RSync fixes for xml files
#JIRA: UE-62994
Change 4296679 by Jason.Bestimt
#DEV-VR - Fixing remote iOS compile issue with BP projects that require plugins
#JIRA: UE-62967
[CL 4299100 by Jason Bestimt in Main branch]
2018-08-17 19:56:07 -04:00
void FWindowsMixedRealitySpatialInput : : SendAxisEvents ( uint32 source )
{
FKey key ;
2019-11-13 19:14:43 -05:00
FVector2D position ;
Copying //UE4/Dev-VR to //UE4/Dev-Main (Source: //UE4/Dev-VR @ 4296730)
#lockdown Nick.Penwarden
============================
MAJOR FEATURES & CHANGES
============================
Change 3775128 by Nick.Atamas
Merging //UE4/Partner-Google-VR @ CL 3770408 to Dev-VR (//UE4/Dev-VR)
Change 4166311 by Jason.Bestimt
#DEV-VR - Merge from //UE4/Dev-MagicLeap/... @ CL 4136411
Change 4185551 by Joe.Graf
Added support to query and specify the desired video format for an AR session
Change 4269190 by Ethan.Geller
[Dev-VR] #jira UE-62644 Deescalate resampling logs to display, and make sure that Lumin does not get Resampling settings from Android runtime settings.
Change 4269386 by Ryan.Vance
#jira UE-62274
We need to recompute the view frustum and related distances if the projection matrix is changed.
Change 4269401 by Ryan.Vance
#jira UE-62155
Debug canvas layer fixes
Change 4270710 by Chance.Ivey
Merging //UE4/Dev-Partner-MagicLeap-4.20 to Dev-VR (//UE4/Dev-VR)
- 4262963
- 4261100
- 4261103
- 4265565
Change 4270822 by Ryan.Vance
#jira UE-61462
Work around for csm shadow culling bug on Lumiun
Change 4271396 by Jason.Bestimt
#DEV-VR - Saving off original MLSDK variable for future editor "restarts" within the same process
#JIRA: UE-58634
Change 4271402 by Jason.Bestimt
#DEV-VR - Making bUseMobileRendering non-editable for binary builds
#JIRA: UE-60956
Change 4271454 by Jason.Bestimt
#DEV-VR - Integrating CL 4239939, 4236178 and 4269702 from Partners-Google-VR
Change 4272387 by Ryan.Vance
#jira UEVR-1281
Oculus 1.28 Plugin changes
Change 4273410 by Jason.Bestimt
#DEV-VR - Fixing MagicLeapSDK Settings to be globaluserconfig (by removing the defaultconfig).
#JIRA: UE-62092
Change 4273929 by Ryan.Vance
#jira UE-62744
Fixing missing includes..
Change 4274147 by Kyle.Fung
Round-robin occlusion queries for stereoscopic rendering
With the vr.RoundRobinOcclusion flag turned on, each frame will only render occlusion queries for one eye with an alternating scheme (ie odd frames only left eye, even frames only right eye).
Additionally, the interface for class FPrimitiveOcclusionHistory has been changed along with a slight modification in its implementation. With round-robin occlusion, when extracing history entries we perform a search through the entire history to look for the oldest entry in a primitive's occlusion history.
#jira UEVR-1289
Change 4274206 by Kyle.Fung
Fixed some compiler warnings
#jira UEVR-1289
Change 4275212 by Jason.Bestimt
#DEV-VR - Fixing CIS error (forcing value to bool)
Change 4275973 by Jason.Bestimt
#DEV-VR - Merging CL 4275879 from Partner-Google-VR
GoogleVR 1.170 Release Update.
- Removed reference to GetHMDDeviceType.
- Updated to final version of SDK libraries.
Change 4276154 by Jason.Bestimt
#DEV-VR - fix for CIS warning about PngPtr being used before it is checked
Change 4277171 by Jeff.Fisher
UE-62399 Graphical corruption when opening the debug console
-Switched from the fast hardware clear to the slower shader clear because the slower one works. Perhaps a better fix exists that would make the faster clear work? Costs 60us when debug ui is up, but only when rendering debug to a stereo layer (vr/ar).
#jira UE-62399
#review-4277026
Change 4277633 by Joe.Conley
#jira UE-54565 - "Packaged game/Editor with Stereo Layers crashes when exiting game through steam VR overlay"
Don't call GetStereoLayers if stereo is not enabled.
Change 4277723 by Ryan.Vance
#jira UE-62776
Cleaning up questionable partner code found by SA.
I'm pretty confident the SA warning is a false positive, but there was a lot to fix here regardless.
Change 4280289 by Joe.Graf
Added some "Ignored by ARCore" comments Google requested
Change 4280479 by Joe.Graf
Fixed a member copy step in AppleARKitFrame::operator= that Wanghao reported
Change 4280824 by Jason.Bestimt
#DEV-VR - removing stale comment about ML SDK Settings using defaultengine.ini
Change 4281117 by Jason.Bestimt
#DEV-VR - Removing warnings on LUMIN from trying to load missing modules
#JIRA: UE-62748
Change 4281514 by Jason.Bestimt
#DEV-VR - Moving FunctionalTesting dependency under bCompileAgainstEngine
Change 4281847 by Joe.Graf
Added a UPL file to AppleARKit that modifies the plist to include the requirement of ARKit and request for camera access
#jira: UE-60050, UE-62837
Change 4281945 by Joe.Graf
Removed the ensures from the ARBlueprintLibrary code since the code handles the failure cases properly
#jira: UE-61845, UE-61846
Change 4282098 by Ethan.Geller
#jira UE-62863 fix audio on lumin #rb none
Change 4283974 by Joe.Graf
Deprecated bIsTracked on tracked images and face geo per Google API reunification feedback
Change 4284118 by Jason.Bestimt
#DEV-VR - Moving FunctionalTest dependency to be both non-shipping and CompileAgainstEngine. Allowing FunctionalTesting to be compiled in binary build
Change 4285339 by Ethan.Geller
#jira UE-62087 Whitelist AudioCapture module for mac while not whitelisting the AudioCaptureEditor module, which should only work on Windows.
Change 4286024 by Ryan.Vance
Copying //UE4/Partner-Microsoft-XR to Dev-VR (//UE4/Dev-VR)
Windows mixed reality integration.
Disabled by default
Change 4289812 by Jason.Bestimt
#DEV-VR - Fix for non-unity build issue with windows header
Change 4296399 by Jason.Bestimt
RSync fixes for xml files
#JIRA: UE-62994
Change 4296679 by Jason.Bestimt
#DEV-VR - Fixing remote iOS compile issue with BP projects that require plugins
#JIRA: UE-62967
[CL 4299100 by Jason Bestimt in Main branch]
2018-08-17 19:56:07 -04:00
for ( int i = 0 ; i < 2 ; i + + )
{
2019-06-10 12:22:13 -04:00
HMDHand hand = ( HMDHand ) i ;
Copying //UE4/Dev-VR to //UE4/Dev-Main (Source: //UE4/Dev-VR @ 4296730)
#lockdown Nick.Penwarden
============================
MAJOR FEATURES & CHANGES
============================
Change 3775128 by Nick.Atamas
Merging //UE4/Partner-Google-VR @ CL 3770408 to Dev-VR (//UE4/Dev-VR)
Change 4166311 by Jason.Bestimt
#DEV-VR - Merge from //UE4/Dev-MagicLeap/... @ CL 4136411
Change 4185551 by Joe.Graf
Added support to query and specify the desired video format for an AR session
Change 4269190 by Ethan.Geller
[Dev-VR] #jira UE-62644 Deescalate resampling logs to display, and make sure that Lumin does not get Resampling settings from Android runtime settings.
Change 4269386 by Ryan.Vance
#jira UE-62274
We need to recompute the view frustum and related distances if the projection matrix is changed.
Change 4269401 by Ryan.Vance
#jira UE-62155
Debug canvas layer fixes
Change 4270710 by Chance.Ivey
Merging //UE4/Dev-Partner-MagicLeap-4.20 to Dev-VR (//UE4/Dev-VR)
- 4262963
- 4261100
- 4261103
- 4265565
Change 4270822 by Ryan.Vance
#jira UE-61462
Work around for csm shadow culling bug on Lumiun
Change 4271396 by Jason.Bestimt
#DEV-VR - Saving off original MLSDK variable for future editor "restarts" within the same process
#JIRA: UE-58634
Change 4271402 by Jason.Bestimt
#DEV-VR - Making bUseMobileRendering non-editable for binary builds
#JIRA: UE-60956
Change 4271454 by Jason.Bestimt
#DEV-VR - Integrating CL 4239939, 4236178 and 4269702 from Partners-Google-VR
Change 4272387 by Ryan.Vance
#jira UEVR-1281
Oculus 1.28 Plugin changes
Change 4273410 by Jason.Bestimt
#DEV-VR - Fixing MagicLeapSDK Settings to be globaluserconfig (by removing the defaultconfig).
#JIRA: UE-62092
Change 4273929 by Ryan.Vance
#jira UE-62744
Fixing missing includes..
Change 4274147 by Kyle.Fung
Round-robin occlusion queries for stereoscopic rendering
With the vr.RoundRobinOcclusion flag turned on, each frame will only render occlusion queries for one eye with an alternating scheme (ie odd frames only left eye, even frames only right eye).
Additionally, the interface for class FPrimitiveOcclusionHistory has been changed along with a slight modification in its implementation. With round-robin occlusion, when extracing history entries we perform a search through the entire history to look for the oldest entry in a primitive's occlusion history.
#jira UEVR-1289
Change 4274206 by Kyle.Fung
Fixed some compiler warnings
#jira UEVR-1289
Change 4275212 by Jason.Bestimt
#DEV-VR - Fixing CIS error (forcing value to bool)
Change 4275973 by Jason.Bestimt
#DEV-VR - Merging CL 4275879 from Partner-Google-VR
GoogleVR 1.170 Release Update.
- Removed reference to GetHMDDeviceType.
- Updated to final version of SDK libraries.
Change 4276154 by Jason.Bestimt
#DEV-VR - fix for CIS warning about PngPtr being used before it is checked
Change 4277171 by Jeff.Fisher
UE-62399 Graphical corruption when opening the debug console
-Switched from the fast hardware clear to the slower shader clear because the slower one works. Perhaps a better fix exists that would make the faster clear work? Costs 60us when debug ui is up, but only when rendering debug to a stereo layer (vr/ar).
#jira UE-62399
#review-4277026
Change 4277633 by Joe.Conley
#jira UE-54565 - "Packaged game/Editor with Stereo Layers crashes when exiting game through steam VR overlay"
Don't call GetStereoLayers if stereo is not enabled.
Change 4277723 by Ryan.Vance
#jira UE-62776
Cleaning up questionable partner code found by SA.
I'm pretty confident the SA warning is a false positive, but there was a lot to fix here regardless.
Change 4280289 by Joe.Graf
Added some "Ignored by ARCore" comments Google requested
Change 4280479 by Joe.Graf
Fixed a member copy step in AppleARKitFrame::operator= that Wanghao reported
Change 4280824 by Jason.Bestimt
#DEV-VR - removing stale comment about ML SDK Settings using defaultengine.ini
Change 4281117 by Jason.Bestimt
#DEV-VR - Removing warnings on LUMIN from trying to load missing modules
#JIRA: UE-62748
Change 4281514 by Jason.Bestimt
#DEV-VR - Moving FunctionalTesting dependency under bCompileAgainstEngine
Change 4281847 by Joe.Graf
Added a UPL file to AppleARKit that modifies the plist to include the requirement of ARKit and request for camera access
#jira: UE-60050, UE-62837
Change 4281945 by Joe.Graf
Removed the ensures from the ARBlueprintLibrary code since the code handles the failure cases properly
#jira: UE-61845, UE-61846
Change 4282098 by Ethan.Geller
#jira UE-62863 fix audio on lumin #rb none
Change 4283974 by Joe.Graf
Deprecated bIsTracked on tracked images and face geo per Google API reunification feedback
Change 4284118 by Jason.Bestimt
#DEV-VR - Moving FunctionalTest dependency to be both non-shipping and CompileAgainstEngine. Allowing FunctionalTesting to be compiled in binary build
Change 4285339 by Ethan.Geller
#jira UE-62087 Whitelist AudioCapture module for mac while not whitelisting the AudioCaptureEditor module, which should only work on Windows.
Change 4286024 by Ryan.Vance
Copying //UE4/Partner-Microsoft-XR to Dev-VR (//UE4/Dev-VR)
Windows mixed reality integration.
Disabled by default
Change 4289812 by Jason.Bestimt
#DEV-VR - Fix for non-unity build issue with windows header
Change 4296399 by Jason.Bestimt
RSync fixes for xml files
#JIRA: UE-62994
Change 4296679 by Jason.Bestimt
#DEV-VR - Fixing remote iOS compile issue with BP projects that require plugins
#JIRA: UE-62967
[CL 4299100 by Jason Bestimt in Main branch]
2018-08-17 19:56:07 -04:00
2019-03-06 12:44:29 -05:00
// Trigger
2019-11-01 15:43:44 -04:00
position . X = FWindowsMixedRealityStatics : : GetAxisPosition ( hand , HMDInputControllerAxes : : SelectValue ) ;
key = ( hand = = HMDHand : : Left ) ?
EKeys : : MixedReality_Left_Trigger_Axis :
EKeys : : MixedReality_Right_Trigger_Axis ;
SendControllerAxisEvent ( MessageHandler , source , key , position . X ) ;
2019-03-06 12:44:29 -05:00
Copying //UE4/Dev-VR to //UE4/Dev-Main (Source: //UE4/Dev-VR @ 4296730)
#lockdown Nick.Penwarden
============================
MAJOR FEATURES & CHANGES
============================
Change 3775128 by Nick.Atamas
Merging //UE4/Partner-Google-VR @ CL 3770408 to Dev-VR (//UE4/Dev-VR)
Change 4166311 by Jason.Bestimt
#DEV-VR - Merge from //UE4/Dev-MagicLeap/... @ CL 4136411
Change 4185551 by Joe.Graf
Added support to query and specify the desired video format for an AR session
Change 4269190 by Ethan.Geller
[Dev-VR] #jira UE-62644 Deescalate resampling logs to display, and make sure that Lumin does not get Resampling settings from Android runtime settings.
Change 4269386 by Ryan.Vance
#jira UE-62274
We need to recompute the view frustum and related distances if the projection matrix is changed.
Change 4269401 by Ryan.Vance
#jira UE-62155
Debug canvas layer fixes
Change 4270710 by Chance.Ivey
Merging //UE4/Dev-Partner-MagicLeap-4.20 to Dev-VR (//UE4/Dev-VR)
- 4262963
- 4261100
- 4261103
- 4265565
Change 4270822 by Ryan.Vance
#jira UE-61462
Work around for csm shadow culling bug on Lumiun
Change 4271396 by Jason.Bestimt
#DEV-VR - Saving off original MLSDK variable for future editor "restarts" within the same process
#JIRA: UE-58634
Change 4271402 by Jason.Bestimt
#DEV-VR - Making bUseMobileRendering non-editable for binary builds
#JIRA: UE-60956
Change 4271454 by Jason.Bestimt
#DEV-VR - Integrating CL 4239939, 4236178 and 4269702 from Partners-Google-VR
Change 4272387 by Ryan.Vance
#jira UEVR-1281
Oculus 1.28 Plugin changes
Change 4273410 by Jason.Bestimt
#DEV-VR - Fixing MagicLeapSDK Settings to be globaluserconfig (by removing the defaultconfig).
#JIRA: UE-62092
Change 4273929 by Ryan.Vance
#jira UE-62744
Fixing missing includes..
Change 4274147 by Kyle.Fung
Round-robin occlusion queries for stereoscopic rendering
With the vr.RoundRobinOcclusion flag turned on, each frame will only render occlusion queries for one eye with an alternating scheme (ie odd frames only left eye, even frames only right eye).
Additionally, the interface for class FPrimitiveOcclusionHistory has been changed along with a slight modification in its implementation. With round-robin occlusion, when extracing history entries we perform a search through the entire history to look for the oldest entry in a primitive's occlusion history.
#jira UEVR-1289
Change 4274206 by Kyle.Fung
Fixed some compiler warnings
#jira UEVR-1289
Change 4275212 by Jason.Bestimt
#DEV-VR - Fixing CIS error (forcing value to bool)
Change 4275973 by Jason.Bestimt
#DEV-VR - Merging CL 4275879 from Partner-Google-VR
GoogleVR 1.170 Release Update.
- Removed reference to GetHMDDeviceType.
- Updated to final version of SDK libraries.
Change 4276154 by Jason.Bestimt
#DEV-VR - fix for CIS warning about PngPtr being used before it is checked
Change 4277171 by Jeff.Fisher
UE-62399 Graphical corruption when opening the debug console
-Switched from the fast hardware clear to the slower shader clear because the slower one works. Perhaps a better fix exists that would make the faster clear work? Costs 60us when debug ui is up, but only when rendering debug to a stereo layer (vr/ar).
#jira UE-62399
#review-4277026
Change 4277633 by Joe.Conley
#jira UE-54565 - "Packaged game/Editor with Stereo Layers crashes when exiting game through steam VR overlay"
Don't call GetStereoLayers if stereo is not enabled.
Change 4277723 by Ryan.Vance
#jira UE-62776
Cleaning up questionable partner code found by SA.
I'm pretty confident the SA warning is a false positive, but there was a lot to fix here regardless.
Change 4280289 by Joe.Graf
Added some "Ignored by ARCore" comments Google requested
Change 4280479 by Joe.Graf
Fixed a member copy step in AppleARKitFrame::operator= that Wanghao reported
Change 4280824 by Jason.Bestimt
#DEV-VR - removing stale comment about ML SDK Settings using defaultengine.ini
Change 4281117 by Jason.Bestimt
#DEV-VR - Removing warnings on LUMIN from trying to load missing modules
#JIRA: UE-62748
Change 4281514 by Jason.Bestimt
#DEV-VR - Moving FunctionalTesting dependency under bCompileAgainstEngine
Change 4281847 by Joe.Graf
Added a UPL file to AppleARKit that modifies the plist to include the requirement of ARKit and request for camera access
#jira: UE-60050, UE-62837
Change 4281945 by Joe.Graf
Removed the ensures from the ARBlueprintLibrary code since the code handles the failure cases properly
#jira: UE-61845, UE-61846
Change 4282098 by Ethan.Geller
#jira UE-62863 fix audio on lumin #rb none
Change 4283974 by Joe.Graf
Deprecated bIsTracked on tracked images and face geo per Google API reunification feedback
Change 4284118 by Jason.Bestimt
#DEV-VR - Moving FunctionalTest dependency to be both non-shipping and CompileAgainstEngine. Allowing FunctionalTesting to be compiled in binary build
Change 4285339 by Ethan.Geller
#jira UE-62087 Whitelist AudioCapture module for mac while not whitelisting the AudioCaptureEditor module, which should only work on Windows.
Change 4286024 by Ryan.Vance
Copying //UE4/Partner-Microsoft-XR to Dev-VR (//UE4/Dev-VR)
Windows mixed reality integration.
Disabled by default
Change 4289812 by Jason.Bestimt
#DEV-VR - Fix for non-unity build issue with windows header
Change 4296399 by Jason.Bestimt
RSync fixes for xml files
#JIRA: UE-62994
Change 4296679 by Jason.Bestimt
#DEV-VR - Fixing remote iOS compile issue with BP projects that require plugins
#JIRA: UE-62967
[CL 4299100 by Jason Bestimt in Main branch]
2018-08-17 19:56:07 -04:00
// Thumbstick X
2019-11-01 15:43:44 -04:00
position . X = FWindowsMixedRealityStatics : : GetAxisPosition ( hand , HMDInputControllerAxes : : ThumbstickX ) ;
key = ( hand = = HMDHand : : Left ) ?
EKeys : : MixedReality_Left_Thumbstick_X :
EKeys : : MixedReality_Right_Thumbstick_X ;
SendControllerAxisEvent ( MessageHandler , source , key , position . X ) ;
Copying //UE4/Dev-VR to //UE4/Dev-Main (Source: //UE4/Dev-VR @ 4296730)
#lockdown Nick.Penwarden
============================
MAJOR FEATURES & CHANGES
============================
Change 3775128 by Nick.Atamas
Merging //UE4/Partner-Google-VR @ CL 3770408 to Dev-VR (//UE4/Dev-VR)
Change 4166311 by Jason.Bestimt
#DEV-VR - Merge from //UE4/Dev-MagicLeap/... @ CL 4136411
Change 4185551 by Joe.Graf
Added support to query and specify the desired video format for an AR session
Change 4269190 by Ethan.Geller
[Dev-VR] #jira UE-62644 Deescalate resampling logs to display, and make sure that Lumin does not get Resampling settings from Android runtime settings.
Change 4269386 by Ryan.Vance
#jira UE-62274
We need to recompute the view frustum and related distances if the projection matrix is changed.
Change 4269401 by Ryan.Vance
#jira UE-62155
Debug canvas layer fixes
Change 4270710 by Chance.Ivey
Merging //UE4/Dev-Partner-MagicLeap-4.20 to Dev-VR (//UE4/Dev-VR)
- 4262963
- 4261100
- 4261103
- 4265565
Change 4270822 by Ryan.Vance
#jira UE-61462
Work around for csm shadow culling bug on Lumiun
Change 4271396 by Jason.Bestimt
#DEV-VR - Saving off original MLSDK variable for future editor "restarts" within the same process
#JIRA: UE-58634
Change 4271402 by Jason.Bestimt
#DEV-VR - Making bUseMobileRendering non-editable for binary builds
#JIRA: UE-60956
Change 4271454 by Jason.Bestimt
#DEV-VR - Integrating CL 4239939, 4236178 and 4269702 from Partners-Google-VR
Change 4272387 by Ryan.Vance
#jira UEVR-1281
Oculus 1.28 Plugin changes
Change 4273410 by Jason.Bestimt
#DEV-VR - Fixing MagicLeapSDK Settings to be globaluserconfig (by removing the defaultconfig).
#JIRA: UE-62092
Change 4273929 by Ryan.Vance
#jira UE-62744
Fixing missing includes..
Change 4274147 by Kyle.Fung
Round-robin occlusion queries for stereoscopic rendering
With the vr.RoundRobinOcclusion flag turned on, each frame will only render occlusion queries for one eye with an alternating scheme (ie odd frames only left eye, even frames only right eye).
Additionally, the interface for class FPrimitiveOcclusionHistory has been changed along with a slight modification in its implementation. With round-robin occlusion, when extracing history entries we perform a search through the entire history to look for the oldest entry in a primitive's occlusion history.
#jira UEVR-1289
Change 4274206 by Kyle.Fung
Fixed some compiler warnings
#jira UEVR-1289
Change 4275212 by Jason.Bestimt
#DEV-VR - Fixing CIS error (forcing value to bool)
Change 4275973 by Jason.Bestimt
#DEV-VR - Merging CL 4275879 from Partner-Google-VR
GoogleVR 1.170 Release Update.
- Removed reference to GetHMDDeviceType.
- Updated to final version of SDK libraries.
Change 4276154 by Jason.Bestimt
#DEV-VR - fix for CIS warning about PngPtr being used before it is checked
Change 4277171 by Jeff.Fisher
UE-62399 Graphical corruption when opening the debug console
-Switched from the fast hardware clear to the slower shader clear because the slower one works. Perhaps a better fix exists that would make the faster clear work? Costs 60us when debug ui is up, but only when rendering debug to a stereo layer (vr/ar).
#jira UE-62399
#review-4277026
Change 4277633 by Joe.Conley
#jira UE-54565 - "Packaged game/Editor with Stereo Layers crashes when exiting game through steam VR overlay"
Don't call GetStereoLayers if stereo is not enabled.
Change 4277723 by Ryan.Vance
#jira UE-62776
Cleaning up questionable partner code found by SA.
I'm pretty confident the SA warning is a false positive, but there was a lot to fix here regardless.
Change 4280289 by Joe.Graf
Added some "Ignored by ARCore" comments Google requested
Change 4280479 by Joe.Graf
Fixed a member copy step in AppleARKitFrame::operator= that Wanghao reported
Change 4280824 by Jason.Bestimt
#DEV-VR - removing stale comment about ML SDK Settings using defaultengine.ini
Change 4281117 by Jason.Bestimt
#DEV-VR - Removing warnings on LUMIN from trying to load missing modules
#JIRA: UE-62748
Change 4281514 by Jason.Bestimt
#DEV-VR - Moving FunctionalTesting dependency under bCompileAgainstEngine
Change 4281847 by Joe.Graf
Added a UPL file to AppleARKit that modifies the plist to include the requirement of ARKit and request for camera access
#jira: UE-60050, UE-62837
Change 4281945 by Joe.Graf
Removed the ensures from the ARBlueprintLibrary code since the code handles the failure cases properly
#jira: UE-61845, UE-61846
Change 4282098 by Ethan.Geller
#jira UE-62863 fix audio on lumin #rb none
Change 4283974 by Joe.Graf
Deprecated bIsTracked on tracked images and face geo per Google API reunification feedback
Change 4284118 by Jason.Bestimt
#DEV-VR - Moving FunctionalTest dependency to be both non-shipping and CompileAgainstEngine. Allowing FunctionalTesting to be compiled in binary build
Change 4285339 by Ethan.Geller
#jira UE-62087 Whitelist AudioCapture module for mac while not whitelisting the AudioCaptureEditor module, which should only work on Windows.
Change 4286024 by Ryan.Vance
Copying //UE4/Partner-Microsoft-XR to Dev-VR (//UE4/Dev-VR)
Windows mixed reality integration.
Disabled by default
Change 4289812 by Jason.Bestimt
#DEV-VR - Fix for non-unity build issue with windows header
Change 4296399 by Jason.Bestimt
RSync fixes for xml files
#JIRA: UE-62994
Change 4296679 by Jason.Bestimt
#DEV-VR - Fixing remote iOS compile issue with BP projects that require plugins
#JIRA: UE-62967
[CL 4299100 by Jason Bestimt in Main branch]
2018-08-17 19:56:07 -04:00
// Thumbstick Y
2019-11-01 15:43:44 -04:00
position . Y = FWindowsMixedRealityStatics : : GetAxisPosition ( hand , HMDInputControllerAxes : : ThumbstickY ) ;
key = ( hand = = HMDHand : : Left ) ?
EKeys : : MixedReality_Left_Thumbstick_Y :
EKeys : : MixedReality_Right_Thumbstick_Y ;
SendControllerAxisEvent ( MessageHandler , source , key , position . Y ) ;
Copying //UE4/Dev-VR to //UE4/Dev-Main (Source: //UE4/Dev-VR @ 4296730)
#lockdown Nick.Penwarden
============================
MAJOR FEATURES & CHANGES
============================
Change 3775128 by Nick.Atamas
Merging //UE4/Partner-Google-VR @ CL 3770408 to Dev-VR (//UE4/Dev-VR)
Change 4166311 by Jason.Bestimt
#DEV-VR - Merge from //UE4/Dev-MagicLeap/... @ CL 4136411
Change 4185551 by Joe.Graf
Added support to query and specify the desired video format for an AR session
Change 4269190 by Ethan.Geller
[Dev-VR] #jira UE-62644 Deescalate resampling logs to display, and make sure that Lumin does not get Resampling settings from Android runtime settings.
Change 4269386 by Ryan.Vance
#jira UE-62274
We need to recompute the view frustum and related distances if the projection matrix is changed.
Change 4269401 by Ryan.Vance
#jira UE-62155
Debug canvas layer fixes
Change 4270710 by Chance.Ivey
Merging //UE4/Dev-Partner-MagicLeap-4.20 to Dev-VR (//UE4/Dev-VR)
- 4262963
- 4261100
- 4261103
- 4265565
Change 4270822 by Ryan.Vance
#jira UE-61462
Work around for csm shadow culling bug on Lumiun
Change 4271396 by Jason.Bestimt
#DEV-VR - Saving off original MLSDK variable for future editor "restarts" within the same process
#JIRA: UE-58634
Change 4271402 by Jason.Bestimt
#DEV-VR - Making bUseMobileRendering non-editable for binary builds
#JIRA: UE-60956
Change 4271454 by Jason.Bestimt
#DEV-VR - Integrating CL 4239939, 4236178 and 4269702 from Partners-Google-VR
Change 4272387 by Ryan.Vance
#jira UEVR-1281
Oculus 1.28 Plugin changes
Change 4273410 by Jason.Bestimt
#DEV-VR - Fixing MagicLeapSDK Settings to be globaluserconfig (by removing the defaultconfig).
#JIRA: UE-62092
Change 4273929 by Ryan.Vance
#jira UE-62744
Fixing missing includes..
Change 4274147 by Kyle.Fung
Round-robin occlusion queries for stereoscopic rendering
With the vr.RoundRobinOcclusion flag turned on, each frame will only render occlusion queries for one eye with an alternating scheme (ie odd frames only left eye, even frames only right eye).
Additionally, the interface for class FPrimitiveOcclusionHistory has been changed along with a slight modification in its implementation. With round-robin occlusion, when extracing history entries we perform a search through the entire history to look for the oldest entry in a primitive's occlusion history.
#jira UEVR-1289
Change 4274206 by Kyle.Fung
Fixed some compiler warnings
#jira UEVR-1289
Change 4275212 by Jason.Bestimt
#DEV-VR - Fixing CIS error (forcing value to bool)
Change 4275973 by Jason.Bestimt
#DEV-VR - Merging CL 4275879 from Partner-Google-VR
GoogleVR 1.170 Release Update.
- Removed reference to GetHMDDeviceType.
- Updated to final version of SDK libraries.
Change 4276154 by Jason.Bestimt
#DEV-VR - fix for CIS warning about PngPtr being used before it is checked
Change 4277171 by Jeff.Fisher
UE-62399 Graphical corruption when opening the debug console
-Switched from the fast hardware clear to the slower shader clear because the slower one works. Perhaps a better fix exists that would make the faster clear work? Costs 60us when debug ui is up, but only when rendering debug to a stereo layer (vr/ar).
#jira UE-62399
#review-4277026
Change 4277633 by Joe.Conley
#jira UE-54565 - "Packaged game/Editor with Stereo Layers crashes when exiting game through steam VR overlay"
Don't call GetStereoLayers if stereo is not enabled.
Change 4277723 by Ryan.Vance
#jira UE-62776
Cleaning up questionable partner code found by SA.
I'm pretty confident the SA warning is a false positive, but there was a lot to fix here regardless.
Change 4280289 by Joe.Graf
Added some "Ignored by ARCore" comments Google requested
Change 4280479 by Joe.Graf
Fixed a member copy step in AppleARKitFrame::operator= that Wanghao reported
Change 4280824 by Jason.Bestimt
#DEV-VR - removing stale comment about ML SDK Settings using defaultengine.ini
Change 4281117 by Jason.Bestimt
#DEV-VR - Removing warnings on LUMIN from trying to load missing modules
#JIRA: UE-62748
Change 4281514 by Jason.Bestimt
#DEV-VR - Moving FunctionalTesting dependency under bCompileAgainstEngine
Change 4281847 by Joe.Graf
Added a UPL file to AppleARKit that modifies the plist to include the requirement of ARKit and request for camera access
#jira: UE-60050, UE-62837
Change 4281945 by Joe.Graf
Removed the ensures from the ARBlueprintLibrary code since the code handles the failure cases properly
#jira: UE-61845, UE-61846
Change 4282098 by Ethan.Geller
#jira UE-62863 fix audio on lumin #rb none
Change 4283974 by Joe.Graf
Deprecated bIsTracked on tracked images and face geo per Google API reunification feedback
Change 4284118 by Jason.Bestimt
#DEV-VR - Moving FunctionalTest dependency to be both non-shipping and CompileAgainstEngine. Allowing FunctionalTesting to be compiled in binary build
Change 4285339 by Ethan.Geller
#jira UE-62087 Whitelist AudioCapture module for mac while not whitelisting the AudioCaptureEditor module, which should only work on Windows.
Change 4286024 by Ryan.Vance
Copying //UE4/Partner-Microsoft-XR to Dev-VR (//UE4/Dev-VR)
Windows mixed reality integration.
Disabled by default
Change 4289812 by Jason.Bestimt
#DEV-VR - Fix for non-unity build issue with windows header
Change 4296399 by Jason.Bestimt
RSync fixes for xml files
#JIRA: UE-62994
Change 4296679 by Jason.Bestimt
#DEV-VR - Fixing remote iOS compile issue with BP projects that require plugins
#JIRA: UE-62967
[CL 4299100 by Jason Bestimt in Main branch]
2018-08-17 19:56:07 -04:00
2019-11-13 19:14:43 -05:00
// Thumbstick direction
if ( position . Size ( ) > 0.5f )
{
key = GetThumbstickDirectionKey ( position , hand ) ;
2019-11-25 16:59:11 -05:00
if ( key . IsValid ( ) )
2019-11-13 19:14:43 -05:00
{
2019-11-25 16:59:11 -05:00
if ( ThumbstickDirection [ i ] . IsValid ( ) & & key ! = ThumbstickDirection [ i ] )
{
SendControllerButtonEvent ( MessageHandler , source , ThumbstickDirection [ i ] , HMDInputPressState : : Released ) ;
}
2019-11-13 19:14:43 -05:00
SendControllerButtonEvent ( MessageHandler , source , key , HMDInputPressState : : Pressed ) ;
}
ThumbstickDirection [ i ] = key ;
}
else
{
if ( ThumbstickDirection [ i ] . IsValid ( ) )
{
SendControllerButtonEvent ( MessageHandler , source , ThumbstickDirection [ i ] , HMDInputPressState : : Released ) ;
}
ThumbstickDirection [ i ] = EKeys : : Invalid ;
}
Copying //UE4/Dev-VR to //UE4/Dev-Main (Source: //UE4/Dev-VR @ 4296730)
#lockdown Nick.Penwarden
============================
MAJOR FEATURES & CHANGES
============================
Change 3775128 by Nick.Atamas
Merging //UE4/Partner-Google-VR @ CL 3770408 to Dev-VR (//UE4/Dev-VR)
Change 4166311 by Jason.Bestimt
#DEV-VR - Merge from //UE4/Dev-MagicLeap/... @ CL 4136411
Change 4185551 by Joe.Graf
Added support to query and specify the desired video format for an AR session
Change 4269190 by Ethan.Geller
[Dev-VR] #jira UE-62644 Deescalate resampling logs to display, and make sure that Lumin does not get Resampling settings from Android runtime settings.
Change 4269386 by Ryan.Vance
#jira UE-62274
We need to recompute the view frustum and related distances if the projection matrix is changed.
Change 4269401 by Ryan.Vance
#jira UE-62155
Debug canvas layer fixes
Change 4270710 by Chance.Ivey
Merging //UE4/Dev-Partner-MagicLeap-4.20 to Dev-VR (//UE4/Dev-VR)
- 4262963
- 4261100
- 4261103
- 4265565
Change 4270822 by Ryan.Vance
#jira UE-61462
Work around for csm shadow culling bug on Lumiun
Change 4271396 by Jason.Bestimt
#DEV-VR - Saving off original MLSDK variable for future editor "restarts" within the same process
#JIRA: UE-58634
Change 4271402 by Jason.Bestimt
#DEV-VR - Making bUseMobileRendering non-editable for binary builds
#JIRA: UE-60956
Change 4271454 by Jason.Bestimt
#DEV-VR - Integrating CL 4239939, 4236178 and 4269702 from Partners-Google-VR
Change 4272387 by Ryan.Vance
#jira UEVR-1281
Oculus 1.28 Plugin changes
Change 4273410 by Jason.Bestimt
#DEV-VR - Fixing MagicLeapSDK Settings to be globaluserconfig (by removing the defaultconfig).
#JIRA: UE-62092
Change 4273929 by Ryan.Vance
#jira UE-62744
Fixing missing includes..
Change 4274147 by Kyle.Fung
Round-robin occlusion queries for stereoscopic rendering
With the vr.RoundRobinOcclusion flag turned on, each frame will only render occlusion queries for one eye with an alternating scheme (ie odd frames only left eye, even frames only right eye).
Additionally, the interface for class FPrimitiveOcclusionHistory has been changed along with a slight modification in its implementation. With round-robin occlusion, when extracing history entries we perform a search through the entire history to look for the oldest entry in a primitive's occlusion history.
#jira UEVR-1289
Change 4274206 by Kyle.Fung
Fixed some compiler warnings
#jira UEVR-1289
Change 4275212 by Jason.Bestimt
#DEV-VR - Fixing CIS error (forcing value to bool)
Change 4275973 by Jason.Bestimt
#DEV-VR - Merging CL 4275879 from Partner-Google-VR
GoogleVR 1.170 Release Update.
- Removed reference to GetHMDDeviceType.
- Updated to final version of SDK libraries.
Change 4276154 by Jason.Bestimt
#DEV-VR - fix for CIS warning about PngPtr being used before it is checked
Change 4277171 by Jeff.Fisher
UE-62399 Graphical corruption when opening the debug console
-Switched from the fast hardware clear to the slower shader clear because the slower one works. Perhaps a better fix exists that would make the faster clear work? Costs 60us when debug ui is up, but only when rendering debug to a stereo layer (vr/ar).
#jira UE-62399
#review-4277026
Change 4277633 by Joe.Conley
#jira UE-54565 - "Packaged game/Editor with Stereo Layers crashes when exiting game through steam VR overlay"
Don't call GetStereoLayers if stereo is not enabled.
Change 4277723 by Ryan.Vance
#jira UE-62776
Cleaning up questionable partner code found by SA.
I'm pretty confident the SA warning is a false positive, but there was a lot to fix here regardless.
Change 4280289 by Joe.Graf
Added some "Ignored by ARCore" comments Google requested
Change 4280479 by Joe.Graf
Fixed a member copy step in AppleARKitFrame::operator= that Wanghao reported
Change 4280824 by Jason.Bestimt
#DEV-VR - removing stale comment about ML SDK Settings using defaultengine.ini
Change 4281117 by Jason.Bestimt
#DEV-VR - Removing warnings on LUMIN from trying to load missing modules
#JIRA: UE-62748
Change 4281514 by Jason.Bestimt
#DEV-VR - Moving FunctionalTesting dependency under bCompileAgainstEngine
Change 4281847 by Joe.Graf
Added a UPL file to AppleARKit that modifies the plist to include the requirement of ARKit and request for camera access
#jira: UE-60050, UE-62837
Change 4281945 by Joe.Graf
Removed the ensures from the ARBlueprintLibrary code since the code handles the failure cases properly
#jira: UE-61845, UE-61846
Change 4282098 by Ethan.Geller
#jira UE-62863 fix audio on lumin #rb none
Change 4283974 by Joe.Graf
Deprecated bIsTracked on tracked images and face geo per Google API reunification feedback
Change 4284118 by Jason.Bestimt
#DEV-VR - Moving FunctionalTest dependency to be both non-shipping and CompileAgainstEngine. Allowing FunctionalTesting to be compiled in binary build
Change 4285339 by Ethan.Geller
#jira UE-62087 Whitelist AudioCapture module for mac while not whitelisting the AudioCaptureEditor module, which should only work on Windows.
Change 4286024 by Ryan.Vance
Copying //UE4/Partner-Microsoft-XR to Dev-VR (//UE4/Dev-VR)
Windows mixed reality integration.
Disabled by default
Change 4289812 by Jason.Bestimt
#DEV-VR - Fix for non-unity build issue with windows header
Change 4296399 by Jason.Bestimt
RSync fixes for xml files
#JIRA: UE-62994
Change 4296679 by Jason.Bestimt
#DEV-VR - Fixing remote iOS compile issue with BP projects that require plugins
#JIRA: UE-62967
[CL 4299100 by Jason Bestimt in Main branch]
2018-08-17 19:56:07 -04:00
// Touchpad X
2019-11-01 15:43:44 -04:00
position . X = FWindowsMixedRealityStatics : : GetAxisPosition ( hand , HMDInputControllerAxes : : TouchpadX ) ;
2019-06-10 12:22:13 -04:00
key = ( hand = = HMDHand : : Left ) ?
2019-11-01 15:43:44 -04:00
EKeys : : MixedReality_Left_Trackpad_X :
EKeys : : MixedReality_Right_Trackpad_X ;
Copying //UE4/Dev-VR to //UE4/Dev-Main (Source: //UE4/Dev-VR @ 4296730)
#lockdown Nick.Penwarden
============================
MAJOR FEATURES & CHANGES
============================
Change 3775128 by Nick.Atamas
Merging //UE4/Partner-Google-VR @ CL 3770408 to Dev-VR (//UE4/Dev-VR)
Change 4166311 by Jason.Bestimt
#DEV-VR - Merge from //UE4/Dev-MagicLeap/... @ CL 4136411
Change 4185551 by Joe.Graf
Added support to query and specify the desired video format for an AR session
Change 4269190 by Ethan.Geller
[Dev-VR] #jira UE-62644 Deescalate resampling logs to display, and make sure that Lumin does not get Resampling settings from Android runtime settings.
Change 4269386 by Ryan.Vance
#jira UE-62274
We need to recompute the view frustum and related distances if the projection matrix is changed.
Change 4269401 by Ryan.Vance
#jira UE-62155
Debug canvas layer fixes
Change 4270710 by Chance.Ivey
Merging //UE4/Dev-Partner-MagicLeap-4.20 to Dev-VR (//UE4/Dev-VR)
- 4262963
- 4261100
- 4261103
- 4265565
Change 4270822 by Ryan.Vance
#jira UE-61462
Work around for csm shadow culling bug on Lumiun
Change 4271396 by Jason.Bestimt
#DEV-VR - Saving off original MLSDK variable for future editor "restarts" within the same process
#JIRA: UE-58634
Change 4271402 by Jason.Bestimt
#DEV-VR - Making bUseMobileRendering non-editable for binary builds
#JIRA: UE-60956
Change 4271454 by Jason.Bestimt
#DEV-VR - Integrating CL 4239939, 4236178 and 4269702 from Partners-Google-VR
Change 4272387 by Ryan.Vance
#jira UEVR-1281
Oculus 1.28 Plugin changes
Change 4273410 by Jason.Bestimt
#DEV-VR - Fixing MagicLeapSDK Settings to be globaluserconfig (by removing the defaultconfig).
#JIRA: UE-62092
Change 4273929 by Ryan.Vance
#jira UE-62744
Fixing missing includes..
Change 4274147 by Kyle.Fung
Round-robin occlusion queries for stereoscopic rendering
With the vr.RoundRobinOcclusion flag turned on, each frame will only render occlusion queries for one eye with an alternating scheme (ie odd frames only left eye, even frames only right eye).
Additionally, the interface for class FPrimitiveOcclusionHistory has been changed along with a slight modification in its implementation. With round-robin occlusion, when extracing history entries we perform a search through the entire history to look for the oldest entry in a primitive's occlusion history.
#jira UEVR-1289
Change 4274206 by Kyle.Fung
Fixed some compiler warnings
#jira UEVR-1289
Change 4275212 by Jason.Bestimt
#DEV-VR - Fixing CIS error (forcing value to bool)
Change 4275973 by Jason.Bestimt
#DEV-VR - Merging CL 4275879 from Partner-Google-VR
GoogleVR 1.170 Release Update.
- Removed reference to GetHMDDeviceType.
- Updated to final version of SDK libraries.
Change 4276154 by Jason.Bestimt
#DEV-VR - fix for CIS warning about PngPtr being used before it is checked
Change 4277171 by Jeff.Fisher
UE-62399 Graphical corruption when opening the debug console
-Switched from the fast hardware clear to the slower shader clear because the slower one works. Perhaps a better fix exists that would make the faster clear work? Costs 60us when debug ui is up, but only when rendering debug to a stereo layer (vr/ar).
#jira UE-62399
#review-4277026
Change 4277633 by Joe.Conley
#jira UE-54565 - "Packaged game/Editor with Stereo Layers crashes when exiting game through steam VR overlay"
Don't call GetStereoLayers if stereo is not enabled.
Change 4277723 by Ryan.Vance
#jira UE-62776
Cleaning up questionable partner code found by SA.
I'm pretty confident the SA warning is a false positive, but there was a lot to fix here regardless.
Change 4280289 by Joe.Graf
Added some "Ignored by ARCore" comments Google requested
Change 4280479 by Joe.Graf
Fixed a member copy step in AppleARKitFrame::operator= that Wanghao reported
Change 4280824 by Jason.Bestimt
#DEV-VR - removing stale comment about ML SDK Settings using defaultengine.ini
Change 4281117 by Jason.Bestimt
#DEV-VR - Removing warnings on LUMIN from trying to load missing modules
#JIRA: UE-62748
Change 4281514 by Jason.Bestimt
#DEV-VR - Moving FunctionalTesting dependency under bCompileAgainstEngine
Change 4281847 by Joe.Graf
Added a UPL file to AppleARKit that modifies the plist to include the requirement of ARKit and request for camera access
#jira: UE-60050, UE-62837
Change 4281945 by Joe.Graf
Removed the ensures from the ARBlueprintLibrary code since the code handles the failure cases properly
#jira: UE-61845, UE-61846
Change 4282098 by Ethan.Geller
#jira UE-62863 fix audio on lumin #rb none
Change 4283974 by Joe.Graf
Deprecated bIsTracked on tracked images and face geo per Google API reunification feedback
Change 4284118 by Jason.Bestimt
#DEV-VR - Moving FunctionalTest dependency to be both non-shipping and CompileAgainstEngine. Allowing FunctionalTesting to be compiled in binary build
Change 4285339 by Ethan.Geller
#jira UE-62087 Whitelist AudioCapture module for mac while not whitelisting the AudioCaptureEditor module, which should only work on Windows.
Change 4286024 by Ryan.Vance
Copying //UE4/Partner-Microsoft-XR to Dev-VR (//UE4/Dev-VR)
Windows mixed reality integration.
Disabled by default
Change 4289812 by Jason.Bestimt
#DEV-VR - Fix for non-unity build issue with windows header
Change 4296399 by Jason.Bestimt
RSync fixes for xml files
#JIRA: UE-62994
Change 4296679 by Jason.Bestimt
#DEV-VR - Fixing remote iOS compile issue with BP projects that require plugins
#JIRA: UE-62967
[CL 4299100 by Jason Bestimt in Main branch]
2018-08-17 19:56:07 -04:00
2019-11-01 15:43:44 -04:00
if ( ( key = = EKeys : : MixedReality_Left_Trackpad_X & & ! isLeftTouchpadTouched ) | |
( key = = EKeys : : MixedReality_Right_Trackpad_X & & ! isRightTouchpadTouched ) )
Copying //UE4/Dev-VR to //UE4/Dev-Main (Source: //UE4/Dev-VR @ 4296730)
#lockdown Nick.Penwarden
============================
MAJOR FEATURES & CHANGES
============================
Change 3775128 by Nick.Atamas
Merging //UE4/Partner-Google-VR @ CL 3770408 to Dev-VR (//UE4/Dev-VR)
Change 4166311 by Jason.Bestimt
#DEV-VR - Merge from //UE4/Dev-MagicLeap/... @ CL 4136411
Change 4185551 by Joe.Graf
Added support to query and specify the desired video format for an AR session
Change 4269190 by Ethan.Geller
[Dev-VR] #jira UE-62644 Deescalate resampling logs to display, and make sure that Lumin does not get Resampling settings from Android runtime settings.
Change 4269386 by Ryan.Vance
#jira UE-62274
We need to recompute the view frustum and related distances if the projection matrix is changed.
Change 4269401 by Ryan.Vance
#jira UE-62155
Debug canvas layer fixes
Change 4270710 by Chance.Ivey
Merging //UE4/Dev-Partner-MagicLeap-4.20 to Dev-VR (//UE4/Dev-VR)
- 4262963
- 4261100
- 4261103
- 4265565
Change 4270822 by Ryan.Vance
#jira UE-61462
Work around for csm shadow culling bug on Lumiun
Change 4271396 by Jason.Bestimt
#DEV-VR - Saving off original MLSDK variable for future editor "restarts" within the same process
#JIRA: UE-58634
Change 4271402 by Jason.Bestimt
#DEV-VR - Making bUseMobileRendering non-editable for binary builds
#JIRA: UE-60956
Change 4271454 by Jason.Bestimt
#DEV-VR - Integrating CL 4239939, 4236178 and 4269702 from Partners-Google-VR
Change 4272387 by Ryan.Vance
#jira UEVR-1281
Oculus 1.28 Plugin changes
Change 4273410 by Jason.Bestimt
#DEV-VR - Fixing MagicLeapSDK Settings to be globaluserconfig (by removing the defaultconfig).
#JIRA: UE-62092
Change 4273929 by Ryan.Vance
#jira UE-62744
Fixing missing includes..
Change 4274147 by Kyle.Fung
Round-robin occlusion queries for stereoscopic rendering
With the vr.RoundRobinOcclusion flag turned on, each frame will only render occlusion queries for one eye with an alternating scheme (ie odd frames only left eye, even frames only right eye).
Additionally, the interface for class FPrimitiveOcclusionHistory has been changed along with a slight modification in its implementation. With round-robin occlusion, when extracing history entries we perform a search through the entire history to look for the oldest entry in a primitive's occlusion history.
#jira UEVR-1289
Change 4274206 by Kyle.Fung
Fixed some compiler warnings
#jira UEVR-1289
Change 4275212 by Jason.Bestimt
#DEV-VR - Fixing CIS error (forcing value to bool)
Change 4275973 by Jason.Bestimt
#DEV-VR - Merging CL 4275879 from Partner-Google-VR
GoogleVR 1.170 Release Update.
- Removed reference to GetHMDDeviceType.
- Updated to final version of SDK libraries.
Change 4276154 by Jason.Bestimt
#DEV-VR - fix for CIS warning about PngPtr being used before it is checked
Change 4277171 by Jeff.Fisher
UE-62399 Graphical corruption when opening the debug console
-Switched from the fast hardware clear to the slower shader clear because the slower one works. Perhaps a better fix exists that would make the faster clear work? Costs 60us when debug ui is up, but only when rendering debug to a stereo layer (vr/ar).
#jira UE-62399
#review-4277026
Change 4277633 by Joe.Conley
#jira UE-54565 - "Packaged game/Editor with Stereo Layers crashes when exiting game through steam VR overlay"
Don't call GetStereoLayers if stereo is not enabled.
Change 4277723 by Ryan.Vance
#jira UE-62776
Cleaning up questionable partner code found by SA.
I'm pretty confident the SA warning is a false positive, but there was a lot to fix here regardless.
Change 4280289 by Joe.Graf
Added some "Ignored by ARCore" comments Google requested
Change 4280479 by Joe.Graf
Fixed a member copy step in AppleARKitFrame::operator= that Wanghao reported
Change 4280824 by Jason.Bestimt
#DEV-VR - removing stale comment about ML SDK Settings using defaultengine.ini
Change 4281117 by Jason.Bestimt
#DEV-VR - Removing warnings on LUMIN from trying to load missing modules
#JIRA: UE-62748
Change 4281514 by Jason.Bestimt
#DEV-VR - Moving FunctionalTesting dependency under bCompileAgainstEngine
Change 4281847 by Joe.Graf
Added a UPL file to AppleARKit that modifies the plist to include the requirement of ARKit and request for camera access
#jira: UE-60050, UE-62837
Change 4281945 by Joe.Graf
Removed the ensures from the ARBlueprintLibrary code since the code handles the failure cases properly
#jira: UE-61845, UE-61846
Change 4282098 by Ethan.Geller
#jira UE-62863 fix audio on lumin #rb none
Change 4283974 by Joe.Graf
Deprecated bIsTracked on tracked images and face geo per Google API reunification feedback
Change 4284118 by Jason.Bestimt
#DEV-VR - Moving FunctionalTest dependency to be both non-shipping and CompileAgainstEngine. Allowing FunctionalTesting to be compiled in binary build
Change 4285339 by Ethan.Geller
#jira UE-62087 Whitelist AudioCapture module for mac while not whitelisting the AudioCaptureEditor module, which should only work on Windows.
Change 4286024 by Ryan.Vance
Copying //UE4/Partner-Microsoft-XR to Dev-VR (//UE4/Dev-VR)
Windows mixed reality integration.
Disabled by default
Change 4289812 by Jason.Bestimt
#DEV-VR - Fix for non-unity build issue with windows header
Change 4296399 by Jason.Bestimt
RSync fixes for xml files
#JIRA: UE-62994
Change 4296679 by Jason.Bestimt
#DEV-VR - Fixing remote iOS compile issue with BP projects that require plugins
#JIRA: UE-62967
[CL 4299100 by Jason Bestimt in Main branch]
2018-08-17 19:56:07 -04:00
{
2019-11-01 15:43:44 -04:00
position . X = 0.0f ;
Copying //UE4/Dev-VR to //UE4/Dev-Main (Source: //UE4/Dev-VR @ 4296730)
#lockdown Nick.Penwarden
============================
MAJOR FEATURES & CHANGES
============================
Change 3775128 by Nick.Atamas
Merging //UE4/Partner-Google-VR @ CL 3770408 to Dev-VR (//UE4/Dev-VR)
Change 4166311 by Jason.Bestimt
#DEV-VR - Merge from //UE4/Dev-MagicLeap/... @ CL 4136411
Change 4185551 by Joe.Graf
Added support to query and specify the desired video format for an AR session
Change 4269190 by Ethan.Geller
[Dev-VR] #jira UE-62644 Deescalate resampling logs to display, and make sure that Lumin does not get Resampling settings from Android runtime settings.
Change 4269386 by Ryan.Vance
#jira UE-62274
We need to recompute the view frustum and related distances if the projection matrix is changed.
Change 4269401 by Ryan.Vance
#jira UE-62155
Debug canvas layer fixes
Change 4270710 by Chance.Ivey
Merging //UE4/Dev-Partner-MagicLeap-4.20 to Dev-VR (//UE4/Dev-VR)
- 4262963
- 4261100
- 4261103
- 4265565
Change 4270822 by Ryan.Vance
#jira UE-61462
Work around for csm shadow culling bug on Lumiun
Change 4271396 by Jason.Bestimt
#DEV-VR - Saving off original MLSDK variable for future editor "restarts" within the same process
#JIRA: UE-58634
Change 4271402 by Jason.Bestimt
#DEV-VR - Making bUseMobileRendering non-editable for binary builds
#JIRA: UE-60956
Change 4271454 by Jason.Bestimt
#DEV-VR - Integrating CL 4239939, 4236178 and 4269702 from Partners-Google-VR
Change 4272387 by Ryan.Vance
#jira UEVR-1281
Oculus 1.28 Plugin changes
Change 4273410 by Jason.Bestimt
#DEV-VR - Fixing MagicLeapSDK Settings to be globaluserconfig (by removing the defaultconfig).
#JIRA: UE-62092
Change 4273929 by Ryan.Vance
#jira UE-62744
Fixing missing includes..
Change 4274147 by Kyle.Fung
Round-robin occlusion queries for stereoscopic rendering
With the vr.RoundRobinOcclusion flag turned on, each frame will only render occlusion queries for one eye with an alternating scheme (ie odd frames only left eye, even frames only right eye).
Additionally, the interface for class FPrimitiveOcclusionHistory has been changed along with a slight modification in its implementation. With round-robin occlusion, when extracing history entries we perform a search through the entire history to look for the oldest entry in a primitive's occlusion history.
#jira UEVR-1289
Change 4274206 by Kyle.Fung
Fixed some compiler warnings
#jira UEVR-1289
Change 4275212 by Jason.Bestimt
#DEV-VR - Fixing CIS error (forcing value to bool)
Change 4275973 by Jason.Bestimt
#DEV-VR - Merging CL 4275879 from Partner-Google-VR
GoogleVR 1.170 Release Update.
- Removed reference to GetHMDDeviceType.
- Updated to final version of SDK libraries.
Change 4276154 by Jason.Bestimt
#DEV-VR - fix for CIS warning about PngPtr being used before it is checked
Change 4277171 by Jeff.Fisher
UE-62399 Graphical corruption when opening the debug console
-Switched from the fast hardware clear to the slower shader clear because the slower one works. Perhaps a better fix exists that would make the faster clear work? Costs 60us when debug ui is up, but only when rendering debug to a stereo layer (vr/ar).
#jira UE-62399
#review-4277026
Change 4277633 by Joe.Conley
#jira UE-54565 - "Packaged game/Editor with Stereo Layers crashes when exiting game through steam VR overlay"
Don't call GetStereoLayers if stereo is not enabled.
Change 4277723 by Ryan.Vance
#jira UE-62776
Cleaning up questionable partner code found by SA.
I'm pretty confident the SA warning is a false positive, but there was a lot to fix here regardless.
Change 4280289 by Joe.Graf
Added some "Ignored by ARCore" comments Google requested
Change 4280479 by Joe.Graf
Fixed a member copy step in AppleARKitFrame::operator= that Wanghao reported
Change 4280824 by Jason.Bestimt
#DEV-VR - removing stale comment about ML SDK Settings using defaultengine.ini
Change 4281117 by Jason.Bestimt
#DEV-VR - Removing warnings on LUMIN from trying to load missing modules
#JIRA: UE-62748
Change 4281514 by Jason.Bestimt
#DEV-VR - Moving FunctionalTesting dependency under bCompileAgainstEngine
Change 4281847 by Joe.Graf
Added a UPL file to AppleARKit that modifies the plist to include the requirement of ARKit and request for camera access
#jira: UE-60050, UE-62837
Change 4281945 by Joe.Graf
Removed the ensures from the ARBlueprintLibrary code since the code handles the failure cases properly
#jira: UE-61845, UE-61846
Change 4282098 by Ethan.Geller
#jira UE-62863 fix audio on lumin #rb none
Change 4283974 by Joe.Graf
Deprecated bIsTracked on tracked images and face geo per Google API reunification feedback
Change 4284118 by Jason.Bestimt
#DEV-VR - Moving FunctionalTest dependency to be both non-shipping and CompileAgainstEngine. Allowing FunctionalTesting to be compiled in binary build
Change 4285339 by Ethan.Geller
#jira UE-62087 Whitelist AudioCapture module for mac while not whitelisting the AudioCaptureEditor module, which should only work on Windows.
Change 4286024 by Ryan.Vance
Copying //UE4/Partner-Microsoft-XR to Dev-VR (//UE4/Dev-VR)
Windows mixed reality integration.
Disabled by default
Change 4289812 by Jason.Bestimt
#DEV-VR - Fix for non-unity build issue with windows header
Change 4296399 by Jason.Bestimt
RSync fixes for xml files
#JIRA: UE-62994
Change 4296679 by Jason.Bestimt
#DEV-VR - Fixing remote iOS compile issue with BP projects that require plugins
#JIRA: UE-62967
[CL 4299100 by Jason Bestimt in Main branch]
2018-08-17 19:56:07 -04:00
}
2019-11-01 15:43:44 -04:00
SendControllerAxisEvent ( MessageHandler , source , key , position . X ) ;
Copying //UE4/Dev-VR to //UE4/Dev-Main (Source: //UE4/Dev-VR @ 4296730)
#lockdown Nick.Penwarden
============================
MAJOR FEATURES & CHANGES
============================
Change 3775128 by Nick.Atamas
Merging //UE4/Partner-Google-VR @ CL 3770408 to Dev-VR (//UE4/Dev-VR)
Change 4166311 by Jason.Bestimt
#DEV-VR - Merge from //UE4/Dev-MagicLeap/... @ CL 4136411
Change 4185551 by Joe.Graf
Added support to query and specify the desired video format for an AR session
Change 4269190 by Ethan.Geller
[Dev-VR] #jira UE-62644 Deescalate resampling logs to display, and make sure that Lumin does not get Resampling settings from Android runtime settings.
Change 4269386 by Ryan.Vance
#jira UE-62274
We need to recompute the view frustum and related distances if the projection matrix is changed.
Change 4269401 by Ryan.Vance
#jira UE-62155
Debug canvas layer fixes
Change 4270710 by Chance.Ivey
Merging //UE4/Dev-Partner-MagicLeap-4.20 to Dev-VR (//UE4/Dev-VR)
- 4262963
- 4261100
- 4261103
- 4265565
Change 4270822 by Ryan.Vance
#jira UE-61462
Work around for csm shadow culling bug on Lumiun
Change 4271396 by Jason.Bestimt
#DEV-VR - Saving off original MLSDK variable for future editor "restarts" within the same process
#JIRA: UE-58634
Change 4271402 by Jason.Bestimt
#DEV-VR - Making bUseMobileRendering non-editable for binary builds
#JIRA: UE-60956
Change 4271454 by Jason.Bestimt
#DEV-VR - Integrating CL 4239939, 4236178 and 4269702 from Partners-Google-VR
Change 4272387 by Ryan.Vance
#jira UEVR-1281
Oculus 1.28 Plugin changes
Change 4273410 by Jason.Bestimt
#DEV-VR - Fixing MagicLeapSDK Settings to be globaluserconfig (by removing the defaultconfig).
#JIRA: UE-62092
Change 4273929 by Ryan.Vance
#jira UE-62744
Fixing missing includes..
Change 4274147 by Kyle.Fung
Round-robin occlusion queries for stereoscopic rendering
With the vr.RoundRobinOcclusion flag turned on, each frame will only render occlusion queries for one eye with an alternating scheme (ie odd frames only left eye, even frames only right eye).
Additionally, the interface for class FPrimitiveOcclusionHistory has been changed along with a slight modification in its implementation. With round-robin occlusion, when extracing history entries we perform a search through the entire history to look for the oldest entry in a primitive's occlusion history.
#jira UEVR-1289
Change 4274206 by Kyle.Fung
Fixed some compiler warnings
#jira UEVR-1289
Change 4275212 by Jason.Bestimt
#DEV-VR - Fixing CIS error (forcing value to bool)
Change 4275973 by Jason.Bestimt
#DEV-VR - Merging CL 4275879 from Partner-Google-VR
GoogleVR 1.170 Release Update.
- Removed reference to GetHMDDeviceType.
- Updated to final version of SDK libraries.
Change 4276154 by Jason.Bestimt
#DEV-VR - fix for CIS warning about PngPtr being used before it is checked
Change 4277171 by Jeff.Fisher
UE-62399 Graphical corruption when opening the debug console
-Switched from the fast hardware clear to the slower shader clear because the slower one works. Perhaps a better fix exists that would make the faster clear work? Costs 60us when debug ui is up, but only when rendering debug to a stereo layer (vr/ar).
#jira UE-62399
#review-4277026
Change 4277633 by Joe.Conley
#jira UE-54565 - "Packaged game/Editor with Stereo Layers crashes when exiting game through steam VR overlay"
Don't call GetStereoLayers if stereo is not enabled.
Change 4277723 by Ryan.Vance
#jira UE-62776
Cleaning up questionable partner code found by SA.
I'm pretty confident the SA warning is a false positive, but there was a lot to fix here regardless.
Change 4280289 by Joe.Graf
Added some "Ignored by ARCore" comments Google requested
Change 4280479 by Joe.Graf
Fixed a member copy step in AppleARKitFrame::operator= that Wanghao reported
Change 4280824 by Jason.Bestimt
#DEV-VR - removing stale comment about ML SDK Settings using defaultengine.ini
Change 4281117 by Jason.Bestimt
#DEV-VR - Removing warnings on LUMIN from trying to load missing modules
#JIRA: UE-62748
Change 4281514 by Jason.Bestimt
#DEV-VR - Moving FunctionalTesting dependency under bCompileAgainstEngine
Change 4281847 by Joe.Graf
Added a UPL file to AppleARKit that modifies the plist to include the requirement of ARKit and request for camera access
#jira: UE-60050, UE-62837
Change 4281945 by Joe.Graf
Removed the ensures from the ARBlueprintLibrary code since the code handles the failure cases properly
#jira: UE-61845, UE-61846
Change 4282098 by Ethan.Geller
#jira UE-62863 fix audio on lumin #rb none
Change 4283974 by Joe.Graf
Deprecated bIsTracked on tracked images and face geo per Google API reunification feedback
Change 4284118 by Jason.Bestimt
#DEV-VR - Moving FunctionalTest dependency to be both non-shipping and CompileAgainstEngine. Allowing FunctionalTesting to be compiled in binary build
Change 4285339 by Ethan.Geller
#jira UE-62087 Whitelist AudioCapture module for mac while not whitelisting the AudioCaptureEditor module, which should only work on Windows.
Change 4286024 by Ryan.Vance
Copying //UE4/Partner-Microsoft-XR to Dev-VR (//UE4/Dev-VR)
Windows mixed reality integration.
Disabled by default
Change 4289812 by Jason.Bestimt
#DEV-VR - Fix for non-unity build issue with windows header
Change 4296399 by Jason.Bestimt
RSync fixes for xml files
#JIRA: UE-62994
Change 4296679 by Jason.Bestimt
#DEV-VR - Fixing remote iOS compile issue with BP projects that require plugins
#JIRA: UE-62967
[CL 4299100 by Jason Bestimt in Main branch]
2018-08-17 19:56:07 -04:00
// Touchpad Y
2019-11-01 15:43:44 -04:00
position . Y = FWindowsMixedRealityStatics : : GetAxisPosition ( hand , HMDInputControllerAxes : : TouchpadY ) ;
2019-06-10 12:22:13 -04:00
key = ( hand = = HMDHand : : Left ) ?
2019-11-01 15:43:44 -04:00
EKeys : : MixedReality_Left_Trackpad_Y :
EKeys : : MixedReality_Right_Trackpad_Y ;
Copying //UE4/Dev-VR to //UE4/Dev-Main (Source: //UE4/Dev-VR @ 4296730)
#lockdown Nick.Penwarden
============================
MAJOR FEATURES & CHANGES
============================
Change 3775128 by Nick.Atamas
Merging //UE4/Partner-Google-VR @ CL 3770408 to Dev-VR (//UE4/Dev-VR)
Change 4166311 by Jason.Bestimt
#DEV-VR - Merge from //UE4/Dev-MagicLeap/... @ CL 4136411
Change 4185551 by Joe.Graf
Added support to query and specify the desired video format for an AR session
Change 4269190 by Ethan.Geller
[Dev-VR] #jira UE-62644 Deescalate resampling logs to display, and make sure that Lumin does not get Resampling settings from Android runtime settings.
Change 4269386 by Ryan.Vance
#jira UE-62274
We need to recompute the view frustum and related distances if the projection matrix is changed.
Change 4269401 by Ryan.Vance
#jira UE-62155
Debug canvas layer fixes
Change 4270710 by Chance.Ivey
Merging //UE4/Dev-Partner-MagicLeap-4.20 to Dev-VR (//UE4/Dev-VR)
- 4262963
- 4261100
- 4261103
- 4265565
Change 4270822 by Ryan.Vance
#jira UE-61462
Work around for csm shadow culling bug on Lumiun
Change 4271396 by Jason.Bestimt
#DEV-VR - Saving off original MLSDK variable for future editor "restarts" within the same process
#JIRA: UE-58634
Change 4271402 by Jason.Bestimt
#DEV-VR - Making bUseMobileRendering non-editable for binary builds
#JIRA: UE-60956
Change 4271454 by Jason.Bestimt
#DEV-VR - Integrating CL 4239939, 4236178 and 4269702 from Partners-Google-VR
Change 4272387 by Ryan.Vance
#jira UEVR-1281
Oculus 1.28 Plugin changes
Change 4273410 by Jason.Bestimt
#DEV-VR - Fixing MagicLeapSDK Settings to be globaluserconfig (by removing the defaultconfig).
#JIRA: UE-62092
Change 4273929 by Ryan.Vance
#jira UE-62744
Fixing missing includes..
Change 4274147 by Kyle.Fung
Round-robin occlusion queries for stereoscopic rendering
With the vr.RoundRobinOcclusion flag turned on, each frame will only render occlusion queries for one eye with an alternating scheme (ie odd frames only left eye, even frames only right eye).
Additionally, the interface for class FPrimitiveOcclusionHistory has been changed along with a slight modification in its implementation. With round-robin occlusion, when extracing history entries we perform a search through the entire history to look for the oldest entry in a primitive's occlusion history.
#jira UEVR-1289
Change 4274206 by Kyle.Fung
Fixed some compiler warnings
#jira UEVR-1289
Change 4275212 by Jason.Bestimt
#DEV-VR - Fixing CIS error (forcing value to bool)
Change 4275973 by Jason.Bestimt
#DEV-VR - Merging CL 4275879 from Partner-Google-VR
GoogleVR 1.170 Release Update.
- Removed reference to GetHMDDeviceType.
- Updated to final version of SDK libraries.
Change 4276154 by Jason.Bestimt
#DEV-VR - fix for CIS warning about PngPtr being used before it is checked
Change 4277171 by Jeff.Fisher
UE-62399 Graphical corruption when opening the debug console
-Switched from the fast hardware clear to the slower shader clear because the slower one works. Perhaps a better fix exists that would make the faster clear work? Costs 60us when debug ui is up, but only when rendering debug to a stereo layer (vr/ar).
#jira UE-62399
#review-4277026
Change 4277633 by Joe.Conley
#jira UE-54565 - "Packaged game/Editor with Stereo Layers crashes when exiting game through steam VR overlay"
Don't call GetStereoLayers if stereo is not enabled.
Change 4277723 by Ryan.Vance
#jira UE-62776
Cleaning up questionable partner code found by SA.
I'm pretty confident the SA warning is a false positive, but there was a lot to fix here regardless.
Change 4280289 by Joe.Graf
Added some "Ignored by ARCore" comments Google requested
Change 4280479 by Joe.Graf
Fixed a member copy step in AppleARKitFrame::operator= that Wanghao reported
Change 4280824 by Jason.Bestimt
#DEV-VR - removing stale comment about ML SDK Settings using defaultengine.ini
Change 4281117 by Jason.Bestimt
#DEV-VR - Removing warnings on LUMIN from trying to load missing modules
#JIRA: UE-62748
Change 4281514 by Jason.Bestimt
#DEV-VR - Moving FunctionalTesting dependency under bCompileAgainstEngine
Change 4281847 by Joe.Graf
Added a UPL file to AppleARKit that modifies the plist to include the requirement of ARKit and request for camera access
#jira: UE-60050, UE-62837
Change 4281945 by Joe.Graf
Removed the ensures from the ARBlueprintLibrary code since the code handles the failure cases properly
#jira: UE-61845, UE-61846
Change 4282098 by Ethan.Geller
#jira UE-62863 fix audio on lumin #rb none
Change 4283974 by Joe.Graf
Deprecated bIsTracked on tracked images and face geo per Google API reunification feedback
Change 4284118 by Jason.Bestimt
#DEV-VR - Moving FunctionalTest dependency to be both non-shipping and CompileAgainstEngine. Allowing FunctionalTesting to be compiled in binary build
Change 4285339 by Ethan.Geller
#jira UE-62087 Whitelist AudioCapture module for mac while not whitelisting the AudioCaptureEditor module, which should only work on Windows.
Change 4286024 by Ryan.Vance
Copying //UE4/Partner-Microsoft-XR to Dev-VR (//UE4/Dev-VR)
Windows mixed reality integration.
Disabled by default
Change 4289812 by Jason.Bestimt
#DEV-VR - Fix for non-unity build issue with windows header
Change 4296399 by Jason.Bestimt
RSync fixes for xml files
#JIRA: UE-62994
Change 4296679 by Jason.Bestimt
#DEV-VR - Fixing remote iOS compile issue with BP projects that require plugins
#JIRA: UE-62967
[CL 4299100 by Jason Bestimt in Main branch]
2018-08-17 19:56:07 -04:00
2019-11-01 15:43:44 -04:00
if ( ( key = = EKeys : : MixedReality_Left_Trackpad_Y & & ! isLeftTouchpadTouched ) | |
( key = = EKeys : : MixedReality_Right_Trackpad_Y & & ! isRightTouchpadTouched ) )
Copying //UE4/Dev-VR to //UE4/Dev-Main (Source: //UE4/Dev-VR @ 4296730)
#lockdown Nick.Penwarden
============================
MAJOR FEATURES & CHANGES
============================
Change 3775128 by Nick.Atamas
Merging //UE4/Partner-Google-VR @ CL 3770408 to Dev-VR (//UE4/Dev-VR)
Change 4166311 by Jason.Bestimt
#DEV-VR - Merge from //UE4/Dev-MagicLeap/... @ CL 4136411
Change 4185551 by Joe.Graf
Added support to query and specify the desired video format for an AR session
Change 4269190 by Ethan.Geller
[Dev-VR] #jira UE-62644 Deescalate resampling logs to display, and make sure that Lumin does not get Resampling settings from Android runtime settings.
Change 4269386 by Ryan.Vance
#jira UE-62274
We need to recompute the view frustum and related distances if the projection matrix is changed.
Change 4269401 by Ryan.Vance
#jira UE-62155
Debug canvas layer fixes
Change 4270710 by Chance.Ivey
Merging //UE4/Dev-Partner-MagicLeap-4.20 to Dev-VR (//UE4/Dev-VR)
- 4262963
- 4261100
- 4261103
- 4265565
Change 4270822 by Ryan.Vance
#jira UE-61462
Work around for csm shadow culling bug on Lumiun
Change 4271396 by Jason.Bestimt
#DEV-VR - Saving off original MLSDK variable for future editor "restarts" within the same process
#JIRA: UE-58634
Change 4271402 by Jason.Bestimt
#DEV-VR - Making bUseMobileRendering non-editable for binary builds
#JIRA: UE-60956
Change 4271454 by Jason.Bestimt
#DEV-VR - Integrating CL 4239939, 4236178 and 4269702 from Partners-Google-VR
Change 4272387 by Ryan.Vance
#jira UEVR-1281
Oculus 1.28 Plugin changes
Change 4273410 by Jason.Bestimt
#DEV-VR - Fixing MagicLeapSDK Settings to be globaluserconfig (by removing the defaultconfig).
#JIRA: UE-62092
Change 4273929 by Ryan.Vance
#jira UE-62744
Fixing missing includes..
Change 4274147 by Kyle.Fung
Round-robin occlusion queries for stereoscopic rendering
With the vr.RoundRobinOcclusion flag turned on, each frame will only render occlusion queries for one eye with an alternating scheme (ie odd frames only left eye, even frames only right eye).
Additionally, the interface for class FPrimitiveOcclusionHistory has been changed along with a slight modification in its implementation. With round-robin occlusion, when extracing history entries we perform a search through the entire history to look for the oldest entry in a primitive's occlusion history.
#jira UEVR-1289
Change 4274206 by Kyle.Fung
Fixed some compiler warnings
#jira UEVR-1289
Change 4275212 by Jason.Bestimt
#DEV-VR - Fixing CIS error (forcing value to bool)
Change 4275973 by Jason.Bestimt
#DEV-VR - Merging CL 4275879 from Partner-Google-VR
GoogleVR 1.170 Release Update.
- Removed reference to GetHMDDeviceType.
- Updated to final version of SDK libraries.
Change 4276154 by Jason.Bestimt
#DEV-VR - fix for CIS warning about PngPtr being used before it is checked
Change 4277171 by Jeff.Fisher
UE-62399 Graphical corruption when opening the debug console
-Switched from the fast hardware clear to the slower shader clear because the slower one works. Perhaps a better fix exists that would make the faster clear work? Costs 60us when debug ui is up, but only when rendering debug to a stereo layer (vr/ar).
#jira UE-62399
#review-4277026
Change 4277633 by Joe.Conley
#jira UE-54565 - "Packaged game/Editor with Stereo Layers crashes when exiting game through steam VR overlay"
Don't call GetStereoLayers if stereo is not enabled.
Change 4277723 by Ryan.Vance
#jira UE-62776
Cleaning up questionable partner code found by SA.
I'm pretty confident the SA warning is a false positive, but there was a lot to fix here regardless.
Change 4280289 by Joe.Graf
Added some "Ignored by ARCore" comments Google requested
Change 4280479 by Joe.Graf
Fixed a member copy step in AppleARKitFrame::operator= that Wanghao reported
Change 4280824 by Jason.Bestimt
#DEV-VR - removing stale comment about ML SDK Settings using defaultengine.ini
Change 4281117 by Jason.Bestimt
#DEV-VR - Removing warnings on LUMIN from trying to load missing modules
#JIRA: UE-62748
Change 4281514 by Jason.Bestimt
#DEV-VR - Moving FunctionalTesting dependency under bCompileAgainstEngine
Change 4281847 by Joe.Graf
Added a UPL file to AppleARKit that modifies the plist to include the requirement of ARKit and request for camera access
#jira: UE-60050, UE-62837
Change 4281945 by Joe.Graf
Removed the ensures from the ARBlueprintLibrary code since the code handles the failure cases properly
#jira: UE-61845, UE-61846
Change 4282098 by Ethan.Geller
#jira UE-62863 fix audio on lumin #rb none
Change 4283974 by Joe.Graf
Deprecated bIsTracked on tracked images and face geo per Google API reunification feedback
Change 4284118 by Jason.Bestimt
#DEV-VR - Moving FunctionalTest dependency to be both non-shipping and CompileAgainstEngine. Allowing FunctionalTesting to be compiled in binary build
Change 4285339 by Ethan.Geller
#jira UE-62087 Whitelist AudioCapture module for mac while not whitelisting the AudioCaptureEditor module, which should only work on Windows.
Change 4286024 by Ryan.Vance
Copying //UE4/Partner-Microsoft-XR to Dev-VR (//UE4/Dev-VR)
Windows mixed reality integration.
Disabled by default
Change 4289812 by Jason.Bestimt
#DEV-VR - Fix for non-unity build issue with windows header
Change 4296399 by Jason.Bestimt
RSync fixes for xml files
#JIRA: UE-62994
Change 4296679 by Jason.Bestimt
#DEV-VR - Fixing remote iOS compile issue with BP projects that require plugins
#JIRA: UE-62967
[CL 4299100 by Jason Bestimt in Main branch]
2018-08-17 19:56:07 -04:00
{
2019-11-01 15:43:44 -04:00
position . Y = 0.0f ;
Copying //UE4/Dev-VR to //UE4/Dev-Main (Source: //UE4/Dev-VR @ 4296730)
#lockdown Nick.Penwarden
============================
MAJOR FEATURES & CHANGES
============================
Change 3775128 by Nick.Atamas
Merging //UE4/Partner-Google-VR @ CL 3770408 to Dev-VR (//UE4/Dev-VR)
Change 4166311 by Jason.Bestimt
#DEV-VR - Merge from //UE4/Dev-MagicLeap/... @ CL 4136411
Change 4185551 by Joe.Graf
Added support to query and specify the desired video format for an AR session
Change 4269190 by Ethan.Geller
[Dev-VR] #jira UE-62644 Deescalate resampling logs to display, and make sure that Lumin does not get Resampling settings from Android runtime settings.
Change 4269386 by Ryan.Vance
#jira UE-62274
We need to recompute the view frustum and related distances if the projection matrix is changed.
Change 4269401 by Ryan.Vance
#jira UE-62155
Debug canvas layer fixes
Change 4270710 by Chance.Ivey
Merging //UE4/Dev-Partner-MagicLeap-4.20 to Dev-VR (//UE4/Dev-VR)
- 4262963
- 4261100
- 4261103
- 4265565
Change 4270822 by Ryan.Vance
#jira UE-61462
Work around for csm shadow culling bug on Lumiun
Change 4271396 by Jason.Bestimt
#DEV-VR - Saving off original MLSDK variable for future editor "restarts" within the same process
#JIRA: UE-58634
Change 4271402 by Jason.Bestimt
#DEV-VR - Making bUseMobileRendering non-editable for binary builds
#JIRA: UE-60956
Change 4271454 by Jason.Bestimt
#DEV-VR - Integrating CL 4239939, 4236178 and 4269702 from Partners-Google-VR
Change 4272387 by Ryan.Vance
#jira UEVR-1281
Oculus 1.28 Plugin changes
Change 4273410 by Jason.Bestimt
#DEV-VR - Fixing MagicLeapSDK Settings to be globaluserconfig (by removing the defaultconfig).
#JIRA: UE-62092
Change 4273929 by Ryan.Vance
#jira UE-62744
Fixing missing includes..
Change 4274147 by Kyle.Fung
Round-robin occlusion queries for stereoscopic rendering
With the vr.RoundRobinOcclusion flag turned on, each frame will only render occlusion queries for one eye with an alternating scheme (ie odd frames only left eye, even frames only right eye).
Additionally, the interface for class FPrimitiveOcclusionHistory has been changed along with a slight modification in its implementation. With round-robin occlusion, when extracing history entries we perform a search through the entire history to look for the oldest entry in a primitive's occlusion history.
#jira UEVR-1289
Change 4274206 by Kyle.Fung
Fixed some compiler warnings
#jira UEVR-1289
Change 4275212 by Jason.Bestimt
#DEV-VR - Fixing CIS error (forcing value to bool)
Change 4275973 by Jason.Bestimt
#DEV-VR - Merging CL 4275879 from Partner-Google-VR
GoogleVR 1.170 Release Update.
- Removed reference to GetHMDDeviceType.
- Updated to final version of SDK libraries.
Change 4276154 by Jason.Bestimt
#DEV-VR - fix for CIS warning about PngPtr being used before it is checked
Change 4277171 by Jeff.Fisher
UE-62399 Graphical corruption when opening the debug console
-Switched from the fast hardware clear to the slower shader clear because the slower one works. Perhaps a better fix exists that would make the faster clear work? Costs 60us when debug ui is up, but only when rendering debug to a stereo layer (vr/ar).
#jira UE-62399
#review-4277026
Change 4277633 by Joe.Conley
#jira UE-54565 - "Packaged game/Editor with Stereo Layers crashes when exiting game through steam VR overlay"
Don't call GetStereoLayers if stereo is not enabled.
Change 4277723 by Ryan.Vance
#jira UE-62776
Cleaning up questionable partner code found by SA.
I'm pretty confident the SA warning is a false positive, but there was a lot to fix here regardless.
Change 4280289 by Joe.Graf
Added some "Ignored by ARCore" comments Google requested
Change 4280479 by Joe.Graf
Fixed a member copy step in AppleARKitFrame::operator= that Wanghao reported
Change 4280824 by Jason.Bestimt
#DEV-VR - removing stale comment about ML SDK Settings using defaultengine.ini
Change 4281117 by Jason.Bestimt
#DEV-VR - Removing warnings on LUMIN from trying to load missing modules
#JIRA: UE-62748
Change 4281514 by Jason.Bestimt
#DEV-VR - Moving FunctionalTesting dependency under bCompileAgainstEngine
Change 4281847 by Joe.Graf
Added a UPL file to AppleARKit that modifies the plist to include the requirement of ARKit and request for camera access
#jira: UE-60050, UE-62837
Change 4281945 by Joe.Graf
Removed the ensures from the ARBlueprintLibrary code since the code handles the failure cases properly
#jira: UE-61845, UE-61846
Change 4282098 by Ethan.Geller
#jira UE-62863 fix audio on lumin #rb none
Change 4283974 by Joe.Graf
Deprecated bIsTracked on tracked images and face geo per Google API reunification feedback
Change 4284118 by Jason.Bestimt
#DEV-VR - Moving FunctionalTest dependency to be both non-shipping and CompileAgainstEngine. Allowing FunctionalTesting to be compiled in binary build
Change 4285339 by Ethan.Geller
#jira UE-62087 Whitelist AudioCapture module for mac while not whitelisting the AudioCaptureEditor module, which should only work on Windows.
Change 4286024 by Ryan.Vance
Copying //UE4/Partner-Microsoft-XR to Dev-VR (//UE4/Dev-VR)
Windows mixed reality integration.
Disabled by default
Change 4289812 by Jason.Bestimt
#DEV-VR - Fix for non-unity build issue with windows header
Change 4296399 by Jason.Bestimt
RSync fixes for xml files
#JIRA: UE-62994
Change 4296679 by Jason.Bestimt
#DEV-VR - Fixing remote iOS compile issue with BP projects that require plugins
#JIRA: UE-62967
[CL 4299100 by Jason Bestimt in Main branch]
2018-08-17 19:56:07 -04:00
}
2019-11-01 15:43:44 -04:00
SendControllerAxisEvent ( MessageHandler , source , key , position . Y ) ;
2019-11-13 19:14:43 -05:00
// Touchpad direction
if ( position . Size ( ) > 0.5f )
{
key = GetTouchpadDirectionKey ( position , hand ) ;
2019-11-25 16:59:11 -05:00
if ( key . IsValid ( ) )
2019-11-13 19:14:43 -05:00
{
2019-11-25 16:59:11 -05:00
if ( TouchpadDirection [ i ] . IsValid ( ) & & key ! = TouchpadDirection [ i ] )
{
SendControllerButtonEvent ( MessageHandler , source , TouchpadDirection [ i ] , HMDInputPressState : : Released ) ;
}
2019-11-13 19:14:43 -05:00
SendControllerButtonEvent ( MessageHandler , source , key , HMDInputPressState : : Pressed ) ;
}
2019-11-25 16:59:11 -05:00
TouchpadDirection [ i ] = key ;
2019-11-13 19:14:43 -05:00
}
else
{
2019-11-25 16:59:11 -05:00
if ( TouchpadDirection [ i ] . IsValid ( ) )
2019-11-13 19:14:43 -05:00
{
2019-11-25 16:59:11 -05:00
SendControllerButtonEvent ( MessageHandler , source , TouchpadDirection [ i ] , HMDInputPressState : : Released ) ;
2019-11-13 19:14:43 -05:00
}
2019-11-25 16:59:11 -05:00
TouchpadDirection [ i ] = EKeys : : Invalid ;
2019-11-13 19:14:43 -05:00
}
Copying //UE4/Dev-VR to //UE4/Dev-Main (Source: //UE4/Dev-VR @ 4296730)
#lockdown Nick.Penwarden
============================
MAJOR FEATURES & CHANGES
============================
Change 3775128 by Nick.Atamas
Merging //UE4/Partner-Google-VR @ CL 3770408 to Dev-VR (//UE4/Dev-VR)
Change 4166311 by Jason.Bestimt
#DEV-VR - Merge from //UE4/Dev-MagicLeap/... @ CL 4136411
Change 4185551 by Joe.Graf
Added support to query and specify the desired video format for an AR session
Change 4269190 by Ethan.Geller
[Dev-VR] #jira UE-62644 Deescalate resampling logs to display, and make sure that Lumin does not get Resampling settings from Android runtime settings.
Change 4269386 by Ryan.Vance
#jira UE-62274
We need to recompute the view frustum and related distances if the projection matrix is changed.
Change 4269401 by Ryan.Vance
#jira UE-62155
Debug canvas layer fixes
Change 4270710 by Chance.Ivey
Merging //UE4/Dev-Partner-MagicLeap-4.20 to Dev-VR (//UE4/Dev-VR)
- 4262963
- 4261100
- 4261103
- 4265565
Change 4270822 by Ryan.Vance
#jira UE-61462
Work around for csm shadow culling bug on Lumiun
Change 4271396 by Jason.Bestimt
#DEV-VR - Saving off original MLSDK variable for future editor "restarts" within the same process
#JIRA: UE-58634
Change 4271402 by Jason.Bestimt
#DEV-VR - Making bUseMobileRendering non-editable for binary builds
#JIRA: UE-60956
Change 4271454 by Jason.Bestimt
#DEV-VR - Integrating CL 4239939, 4236178 and 4269702 from Partners-Google-VR
Change 4272387 by Ryan.Vance
#jira UEVR-1281
Oculus 1.28 Plugin changes
Change 4273410 by Jason.Bestimt
#DEV-VR - Fixing MagicLeapSDK Settings to be globaluserconfig (by removing the defaultconfig).
#JIRA: UE-62092
Change 4273929 by Ryan.Vance
#jira UE-62744
Fixing missing includes..
Change 4274147 by Kyle.Fung
Round-robin occlusion queries for stereoscopic rendering
With the vr.RoundRobinOcclusion flag turned on, each frame will only render occlusion queries for one eye with an alternating scheme (ie odd frames only left eye, even frames only right eye).
Additionally, the interface for class FPrimitiveOcclusionHistory has been changed along with a slight modification in its implementation. With round-robin occlusion, when extracing history entries we perform a search through the entire history to look for the oldest entry in a primitive's occlusion history.
#jira UEVR-1289
Change 4274206 by Kyle.Fung
Fixed some compiler warnings
#jira UEVR-1289
Change 4275212 by Jason.Bestimt
#DEV-VR - Fixing CIS error (forcing value to bool)
Change 4275973 by Jason.Bestimt
#DEV-VR - Merging CL 4275879 from Partner-Google-VR
GoogleVR 1.170 Release Update.
- Removed reference to GetHMDDeviceType.
- Updated to final version of SDK libraries.
Change 4276154 by Jason.Bestimt
#DEV-VR - fix for CIS warning about PngPtr being used before it is checked
Change 4277171 by Jeff.Fisher
UE-62399 Graphical corruption when opening the debug console
-Switched from the fast hardware clear to the slower shader clear because the slower one works. Perhaps a better fix exists that would make the faster clear work? Costs 60us when debug ui is up, but only when rendering debug to a stereo layer (vr/ar).
#jira UE-62399
#review-4277026
Change 4277633 by Joe.Conley
#jira UE-54565 - "Packaged game/Editor with Stereo Layers crashes when exiting game through steam VR overlay"
Don't call GetStereoLayers if stereo is not enabled.
Change 4277723 by Ryan.Vance
#jira UE-62776
Cleaning up questionable partner code found by SA.
I'm pretty confident the SA warning is a false positive, but there was a lot to fix here regardless.
Change 4280289 by Joe.Graf
Added some "Ignored by ARCore" comments Google requested
Change 4280479 by Joe.Graf
Fixed a member copy step in AppleARKitFrame::operator= that Wanghao reported
Change 4280824 by Jason.Bestimt
#DEV-VR - removing stale comment about ML SDK Settings using defaultengine.ini
Change 4281117 by Jason.Bestimt
#DEV-VR - Removing warnings on LUMIN from trying to load missing modules
#JIRA: UE-62748
Change 4281514 by Jason.Bestimt
#DEV-VR - Moving FunctionalTesting dependency under bCompileAgainstEngine
Change 4281847 by Joe.Graf
Added a UPL file to AppleARKit that modifies the plist to include the requirement of ARKit and request for camera access
#jira: UE-60050, UE-62837
Change 4281945 by Joe.Graf
Removed the ensures from the ARBlueprintLibrary code since the code handles the failure cases properly
#jira: UE-61845, UE-61846
Change 4282098 by Ethan.Geller
#jira UE-62863 fix audio on lumin #rb none
Change 4283974 by Joe.Graf
Deprecated bIsTracked on tracked images and face geo per Google API reunification feedback
Change 4284118 by Jason.Bestimt
#DEV-VR - Moving FunctionalTest dependency to be both non-shipping and CompileAgainstEngine. Allowing FunctionalTesting to be compiled in binary build
Change 4285339 by Ethan.Geller
#jira UE-62087 Whitelist AudioCapture module for mac while not whitelisting the AudioCaptureEditor module, which should only work on Windows.
Change 4286024 by Ryan.Vance
Copying //UE4/Partner-Microsoft-XR to Dev-VR (//UE4/Dev-VR)
Windows mixed reality integration.
Disabled by default
Change 4289812 by Jason.Bestimt
#DEV-VR - Fix for non-unity build issue with windows header
Change 4296399 by Jason.Bestimt
RSync fixes for xml files
#JIRA: UE-62994
Change 4296679 by Jason.Bestimt
#DEV-VR - Fixing remote iOS compile issue with BP projects that require plugins
#JIRA: UE-62967
[CL 4299100 by Jason Bestimt in Main branch]
2018-08-17 19:56:07 -04:00
}
}
void FWindowsMixedRealitySpatialInput : : SendButtonEvents ( uint32 source )
{
2019-06-10 12:22:13 -04:00
HMDInputPressState pressState ;
Copying //UE4/Dev-VR to //UE4/Dev-Main (Source: //UE4/Dev-VR @ 4296730)
#lockdown Nick.Penwarden
============================
MAJOR FEATURES & CHANGES
============================
Change 3775128 by Nick.Atamas
Merging //UE4/Partner-Google-VR @ CL 3770408 to Dev-VR (//UE4/Dev-VR)
Change 4166311 by Jason.Bestimt
#DEV-VR - Merge from //UE4/Dev-MagicLeap/... @ CL 4136411
Change 4185551 by Joe.Graf
Added support to query and specify the desired video format for an AR session
Change 4269190 by Ethan.Geller
[Dev-VR] #jira UE-62644 Deescalate resampling logs to display, and make sure that Lumin does not get Resampling settings from Android runtime settings.
Change 4269386 by Ryan.Vance
#jira UE-62274
We need to recompute the view frustum and related distances if the projection matrix is changed.
Change 4269401 by Ryan.Vance
#jira UE-62155
Debug canvas layer fixes
Change 4270710 by Chance.Ivey
Merging //UE4/Dev-Partner-MagicLeap-4.20 to Dev-VR (//UE4/Dev-VR)
- 4262963
- 4261100
- 4261103
- 4265565
Change 4270822 by Ryan.Vance
#jira UE-61462
Work around for csm shadow culling bug on Lumiun
Change 4271396 by Jason.Bestimt
#DEV-VR - Saving off original MLSDK variable for future editor "restarts" within the same process
#JIRA: UE-58634
Change 4271402 by Jason.Bestimt
#DEV-VR - Making bUseMobileRendering non-editable for binary builds
#JIRA: UE-60956
Change 4271454 by Jason.Bestimt
#DEV-VR - Integrating CL 4239939, 4236178 and 4269702 from Partners-Google-VR
Change 4272387 by Ryan.Vance
#jira UEVR-1281
Oculus 1.28 Plugin changes
Change 4273410 by Jason.Bestimt
#DEV-VR - Fixing MagicLeapSDK Settings to be globaluserconfig (by removing the defaultconfig).
#JIRA: UE-62092
Change 4273929 by Ryan.Vance
#jira UE-62744
Fixing missing includes..
Change 4274147 by Kyle.Fung
Round-robin occlusion queries for stereoscopic rendering
With the vr.RoundRobinOcclusion flag turned on, each frame will only render occlusion queries for one eye with an alternating scheme (ie odd frames only left eye, even frames only right eye).
Additionally, the interface for class FPrimitiveOcclusionHistory has been changed along with a slight modification in its implementation. With round-robin occlusion, when extracing history entries we perform a search through the entire history to look for the oldest entry in a primitive's occlusion history.
#jira UEVR-1289
Change 4274206 by Kyle.Fung
Fixed some compiler warnings
#jira UEVR-1289
Change 4275212 by Jason.Bestimt
#DEV-VR - Fixing CIS error (forcing value to bool)
Change 4275973 by Jason.Bestimt
#DEV-VR - Merging CL 4275879 from Partner-Google-VR
GoogleVR 1.170 Release Update.
- Removed reference to GetHMDDeviceType.
- Updated to final version of SDK libraries.
Change 4276154 by Jason.Bestimt
#DEV-VR - fix for CIS warning about PngPtr being used before it is checked
Change 4277171 by Jeff.Fisher
UE-62399 Graphical corruption when opening the debug console
-Switched from the fast hardware clear to the slower shader clear because the slower one works. Perhaps a better fix exists that would make the faster clear work? Costs 60us when debug ui is up, but only when rendering debug to a stereo layer (vr/ar).
#jira UE-62399
#review-4277026
Change 4277633 by Joe.Conley
#jira UE-54565 - "Packaged game/Editor with Stereo Layers crashes when exiting game through steam VR overlay"
Don't call GetStereoLayers if stereo is not enabled.
Change 4277723 by Ryan.Vance
#jira UE-62776
Cleaning up questionable partner code found by SA.
I'm pretty confident the SA warning is a false positive, but there was a lot to fix here regardless.
Change 4280289 by Joe.Graf
Added some "Ignored by ARCore" comments Google requested
Change 4280479 by Joe.Graf
Fixed a member copy step in AppleARKitFrame::operator= that Wanghao reported
Change 4280824 by Jason.Bestimt
#DEV-VR - removing stale comment about ML SDK Settings using defaultengine.ini
Change 4281117 by Jason.Bestimt
#DEV-VR - Removing warnings on LUMIN from trying to load missing modules
#JIRA: UE-62748
Change 4281514 by Jason.Bestimt
#DEV-VR - Moving FunctionalTesting dependency under bCompileAgainstEngine
Change 4281847 by Joe.Graf
Added a UPL file to AppleARKit that modifies the plist to include the requirement of ARKit and request for camera access
#jira: UE-60050, UE-62837
Change 4281945 by Joe.Graf
Removed the ensures from the ARBlueprintLibrary code since the code handles the failure cases properly
#jira: UE-61845, UE-61846
Change 4282098 by Ethan.Geller
#jira UE-62863 fix audio on lumin #rb none
Change 4283974 by Joe.Graf
Deprecated bIsTracked on tracked images and face geo per Google API reunification feedback
Change 4284118 by Jason.Bestimt
#DEV-VR - Moving FunctionalTest dependency to be both non-shipping and CompileAgainstEngine. Allowing FunctionalTesting to be compiled in binary build
Change 4285339 by Ethan.Geller
#jira UE-62087 Whitelist AudioCapture module for mac while not whitelisting the AudioCaptureEditor module, which should only work on Windows.
Change 4286024 by Ryan.Vance
Copying //UE4/Partner-Microsoft-XR to Dev-VR (//UE4/Dev-VR)
Windows mixed reality integration.
Disabled by default
Change 4289812 by Jason.Bestimt
#DEV-VR - Fix for non-unity build issue with windows header
Change 4296399 by Jason.Bestimt
RSync fixes for xml files
#JIRA: UE-62994
Change 4296679 by Jason.Bestimt
#DEV-VR - Fixing remote iOS compile issue with BP projects that require plugins
#JIRA: UE-62967
[CL 4299100 by Jason Bestimt in Main branch]
2018-08-17 19:56:07 -04:00
FKey key ;
for ( int i = 0 ; i < 2 ; i + + )
{
2019-06-10 12:22:13 -04:00
HMDHand hand = ( HMDHand ) i ;
Copying //UE4/Dev-VR to //UE4/Dev-Main (Source: //UE4/Dev-VR @ 4296730)
#lockdown Nick.Penwarden
============================
MAJOR FEATURES & CHANGES
============================
Change 3775128 by Nick.Atamas
Merging //UE4/Partner-Google-VR @ CL 3770408 to Dev-VR (//UE4/Dev-VR)
Change 4166311 by Jason.Bestimt
#DEV-VR - Merge from //UE4/Dev-MagicLeap/... @ CL 4136411
Change 4185551 by Joe.Graf
Added support to query and specify the desired video format for an AR session
Change 4269190 by Ethan.Geller
[Dev-VR] #jira UE-62644 Deescalate resampling logs to display, and make sure that Lumin does not get Resampling settings from Android runtime settings.
Change 4269386 by Ryan.Vance
#jira UE-62274
We need to recompute the view frustum and related distances if the projection matrix is changed.
Change 4269401 by Ryan.Vance
#jira UE-62155
Debug canvas layer fixes
Change 4270710 by Chance.Ivey
Merging //UE4/Dev-Partner-MagicLeap-4.20 to Dev-VR (//UE4/Dev-VR)
- 4262963
- 4261100
- 4261103
- 4265565
Change 4270822 by Ryan.Vance
#jira UE-61462
Work around for csm shadow culling bug on Lumiun
Change 4271396 by Jason.Bestimt
#DEV-VR - Saving off original MLSDK variable for future editor "restarts" within the same process
#JIRA: UE-58634
Change 4271402 by Jason.Bestimt
#DEV-VR - Making bUseMobileRendering non-editable for binary builds
#JIRA: UE-60956
Change 4271454 by Jason.Bestimt
#DEV-VR - Integrating CL 4239939, 4236178 and 4269702 from Partners-Google-VR
Change 4272387 by Ryan.Vance
#jira UEVR-1281
Oculus 1.28 Plugin changes
Change 4273410 by Jason.Bestimt
#DEV-VR - Fixing MagicLeapSDK Settings to be globaluserconfig (by removing the defaultconfig).
#JIRA: UE-62092
Change 4273929 by Ryan.Vance
#jira UE-62744
Fixing missing includes..
Change 4274147 by Kyle.Fung
Round-robin occlusion queries for stereoscopic rendering
With the vr.RoundRobinOcclusion flag turned on, each frame will only render occlusion queries for one eye with an alternating scheme (ie odd frames only left eye, even frames only right eye).
Additionally, the interface for class FPrimitiveOcclusionHistory has been changed along with a slight modification in its implementation. With round-robin occlusion, when extracing history entries we perform a search through the entire history to look for the oldest entry in a primitive's occlusion history.
#jira UEVR-1289
Change 4274206 by Kyle.Fung
Fixed some compiler warnings
#jira UEVR-1289
Change 4275212 by Jason.Bestimt
#DEV-VR - Fixing CIS error (forcing value to bool)
Change 4275973 by Jason.Bestimt
#DEV-VR - Merging CL 4275879 from Partner-Google-VR
GoogleVR 1.170 Release Update.
- Removed reference to GetHMDDeviceType.
- Updated to final version of SDK libraries.
Change 4276154 by Jason.Bestimt
#DEV-VR - fix for CIS warning about PngPtr being used before it is checked
Change 4277171 by Jeff.Fisher
UE-62399 Graphical corruption when opening the debug console
-Switched from the fast hardware clear to the slower shader clear because the slower one works. Perhaps a better fix exists that would make the faster clear work? Costs 60us when debug ui is up, but only when rendering debug to a stereo layer (vr/ar).
#jira UE-62399
#review-4277026
Change 4277633 by Joe.Conley
#jira UE-54565 - "Packaged game/Editor with Stereo Layers crashes when exiting game through steam VR overlay"
Don't call GetStereoLayers if stereo is not enabled.
Change 4277723 by Ryan.Vance
#jira UE-62776
Cleaning up questionable partner code found by SA.
I'm pretty confident the SA warning is a false positive, but there was a lot to fix here regardless.
Change 4280289 by Joe.Graf
Added some "Ignored by ARCore" comments Google requested
Change 4280479 by Joe.Graf
Fixed a member copy step in AppleARKitFrame::operator= that Wanghao reported
Change 4280824 by Jason.Bestimt
#DEV-VR - removing stale comment about ML SDK Settings using defaultengine.ini
Change 4281117 by Jason.Bestimt
#DEV-VR - Removing warnings on LUMIN from trying to load missing modules
#JIRA: UE-62748
Change 4281514 by Jason.Bestimt
#DEV-VR - Moving FunctionalTesting dependency under bCompileAgainstEngine
Change 4281847 by Joe.Graf
Added a UPL file to AppleARKit that modifies the plist to include the requirement of ARKit and request for camera access
#jira: UE-60050, UE-62837
Change 4281945 by Joe.Graf
Removed the ensures from the ARBlueprintLibrary code since the code handles the failure cases properly
#jira: UE-61845, UE-61846
Change 4282098 by Ethan.Geller
#jira UE-62863 fix audio on lumin #rb none
Change 4283974 by Joe.Graf
Deprecated bIsTracked on tracked images and face geo per Google API reunification feedback
Change 4284118 by Jason.Bestimt
#DEV-VR - Moving FunctionalTest dependency to be both non-shipping and CompileAgainstEngine. Allowing FunctionalTesting to be compiled in binary build
Change 4285339 by Ethan.Geller
#jira UE-62087 Whitelist AudioCapture module for mac while not whitelisting the AudioCaptureEditor module, which should only work on Windows.
Change 4286024 by Ryan.Vance
Copying //UE4/Partner-Microsoft-XR to Dev-VR (//UE4/Dev-VR)
Windows mixed reality integration.
Disabled by default
Change 4289812 by Jason.Bestimt
#DEV-VR - Fix for non-unity build issue with windows header
Change 4296399 by Jason.Bestimt
RSync fixes for xml files
#JIRA: UE-62994
Change 4296679 by Jason.Bestimt
#DEV-VR - Fixing remote iOS compile issue with BP projects that require plugins
#JIRA: UE-62967
[CL 4299100 by Jason Bestimt in Main branch]
2018-08-17 19:56:07 -04:00
// Select
2019-06-10 12:22:13 -04:00
pressState = FWindowsMixedRealityStatics : : GetPressState ( hand , HMDInputControllerButtons : : Select ) ;
if ( pressState ! = HMDInputPressState : : NotApplicable )
Copying //UE4/Dev-VR to //UE4/Dev-Main (Source: //UE4/Dev-VR @ 4296730)
#lockdown Nick.Penwarden
============================
MAJOR FEATURES & CHANGES
============================
Change 3775128 by Nick.Atamas
Merging //UE4/Partner-Google-VR @ CL 3770408 to Dev-VR (//UE4/Dev-VR)
Change 4166311 by Jason.Bestimt
#DEV-VR - Merge from //UE4/Dev-MagicLeap/... @ CL 4136411
Change 4185551 by Joe.Graf
Added support to query and specify the desired video format for an AR session
Change 4269190 by Ethan.Geller
[Dev-VR] #jira UE-62644 Deescalate resampling logs to display, and make sure that Lumin does not get Resampling settings from Android runtime settings.
Change 4269386 by Ryan.Vance
#jira UE-62274
We need to recompute the view frustum and related distances if the projection matrix is changed.
Change 4269401 by Ryan.Vance
#jira UE-62155
Debug canvas layer fixes
Change 4270710 by Chance.Ivey
Merging //UE4/Dev-Partner-MagicLeap-4.20 to Dev-VR (//UE4/Dev-VR)
- 4262963
- 4261100
- 4261103
- 4265565
Change 4270822 by Ryan.Vance
#jira UE-61462
Work around for csm shadow culling bug on Lumiun
Change 4271396 by Jason.Bestimt
#DEV-VR - Saving off original MLSDK variable for future editor "restarts" within the same process
#JIRA: UE-58634
Change 4271402 by Jason.Bestimt
#DEV-VR - Making bUseMobileRendering non-editable for binary builds
#JIRA: UE-60956
Change 4271454 by Jason.Bestimt
#DEV-VR - Integrating CL 4239939, 4236178 and 4269702 from Partners-Google-VR
Change 4272387 by Ryan.Vance
#jira UEVR-1281
Oculus 1.28 Plugin changes
Change 4273410 by Jason.Bestimt
#DEV-VR - Fixing MagicLeapSDK Settings to be globaluserconfig (by removing the defaultconfig).
#JIRA: UE-62092
Change 4273929 by Ryan.Vance
#jira UE-62744
Fixing missing includes..
Change 4274147 by Kyle.Fung
Round-robin occlusion queries for stereoscopic rendering
With the vr.RoundRobinOcclusion flag turned on, each frame will only render occlusion queries for one eye with an alternating scheme (ie odd frames only left eye, even frames only right eye).
Additionally, the interface for class FPrimitiveOcclusionHistory has been changed along with a slight modification in its implementation. With round-robin occlusion, when extracing history entries we perform a search through the entire history to look for the oldest entry in a primitive's occlusion history.
#jira UEVR-1289
Change 4274206 by Kyle.Fung
Fixed some compiler warnings
#jira UEVR-1289
Change 4275212 by Jason.Bestimt
#DEV-VR - Fixing CIS error (forcing value to bool)
Change 4275973 by Jason.Bestimt
#DEV-VR - Merging CL 4275879 from Partner-Google-VR
GoogleVR 1.170 Release Update.
- Removed reference to GetHMDDeviceType.
- Updated to final version of SDK libraries.
Change 4276154 by Jason.Bestimt
#DEV-VR - fix for CIS warning about PngPtr being used before it is checked
Change 4277171 by Jeff.Fisher
UE-62399 Graphical corruption when opening the debug console
-Switched from the fast hardware clear to the slower shader clear because the slower one works. Perhaps a better fix exists that would make the faster clear work? Costs 60us when debug ui is up, but only when rendering debug to a stereo layer (vr/ar).
#jira UE-62399
#review-4277026
Change 4277633 by Joe.Conley
#jira UE-54565 - "Packaged game/Editor with Stereo Layers crashes when exiting game through steam VR overlay"
Don't call GetStereoLayers if stereo is not enabled.
Change 4277723 by Ryan.Vance
#jira UE-62776
Cleaning up questionable partner code found by SA.
I'm pretty confident the SA warning is a false positive, but there was a lot to fix here regardless.
Change 4280289 by Joe.Graf
Added some "Ignored by ARCore" comments Google requested
Change 4280479 by Joe.Graf
Fixed a member copy step in AppleARKitFrame::operator= that Wanghao reported
Change 4280824 by Jason.Bestimt
#DEV-VR - removing stale comment about ML SDK Settings using defaultengine.ini
Change 4281117 by Jason.Bestimt
#DEV-VR - Removing warnings on LUMIN from trying to load missing modules
#JIRA: UE-62748
Change 4281514 by Jason.Bestimt
#DEV-VR - Moving FunctionalTesting dependency under bCompileAgainstEngine
Change 4281847 by Joe.Graf
Added a UPL file to AppleARKit that modifies the plist to include the requirement of ARKit and request for camera access
#jira: UE-60050, UE-62837
Change 4281945 by Joe.Graf
Removed the ensures from the ARBlueprintLibrary code since the code handles the failure cases properly
#jira: UE-61845, UE-61846
Change 4282098 by Ethan.Geller
#jira UE-62863 fix audio on lumin #rb none
Change 4283974 by Joe.Graf
Deprecated bIsTracked on tracked images and face geo per Google API reunification feedback
Change 4284118 by Jason.Bestimt
#DEV-VR - Moving FunctionalTest dependency to be both non-shipping and CompileAgainstEngine. Allowing FunctionalTesting to be compiled in binary build
Change 4285339 by Ethan.Geller
#jira UE-62087 Whitelist AudioCapture module for mac while not whitelisting the AudioCaptureEditor module, which should only work on Windows.
Change 4286024 by Ryan.Vance
Copying //UE4/Partner-Microsoft-XR to Dev-VR (//UE4/Dev-VR)
Windows mixed reality integration.
Disabled by default
Change 4289812 by Jason.Bestimt
#DEV-VR - Fix for non-unity build issue with windows header
Change 4296399 by Jason.Bestimt
RSync fixes for xml files
#JIRA: UE-62994
Change 4296679 by Jason.Bestimt
#DEV-VR - Fixing remote iOS compile issue with BP projects that require plugins
#JIRA: UE-62967
[CL 4299100 by Jason Bestimt in Main branch]
2018-08-17 19:56:07 -04:00
{
2019-11-01 15:43:44 -04:00
key = ( hand = = HMDHand : : Left ) ?
EKeys : : MixedReality_Left_Trigger_Click :
EKeys : : MixedReality_Right_Trigger_Click ;
SendControllerButtonEvent ( MessageHandler , source , key , pressState ) ;
Copying //UE4/Dev-VR to //UE4/Dev-Main (Source: //UE4/Dev-VR @ 4296730)
#lockdown Nick.Penwarden
============================
MAJOR FEATURES & CHANGES
============================
Change 3775128 by Nick.Atamas
Merging //UE4/Partner-Google-VR @ CL 3770408 to Dev-VR (//UE4/Dev-VR)
Change 4166311 by Jason.Bestimt
#DEV-VR - Merge from //UE4/Dev-MagicLeap/... @ CL 4136411
Change 4185551 by Joe.Graf
Added support to query and specify the desired video format for an AR session
Change 4269190 by Ethan.Geller
[Dev-VR] #jira UE-62644 Deescalate resampling logs to display, and make sure that Lumin does not get Resampling settings from Android runtime settings.
Change 4269386 by Ryan.Vance
#jira UE-62274
We need to recompute the view frustum and related distances if the projection matrix is changed.
Change 4269401 by Ryan.Vance
#jira UE-62155
Debug canvas layer fixes
Change 4270710 by Chance.Ivey
Merging //UE4/Dev-Partner-MagicLeap-4.20 to Dev-VR (//UE4/Dev-VR)
- 4262963
- 4261100
- 4261103
- 4265565
Change 4270822 by Ryan.Vance
#jira UE-61462
Work around for csm shadow culling bug on Lumiun
Change 4271396 by Jason.Bestimt
#DEV-VR - Saving off original MLSDK variable for future editor "restarts" within the same process
#JIRA: UE-58634
Change 4271402 by Jason.Bestimt
#DEV-VR - Making bUseMobileRendering non-editable for binary builds
#JIRA: UE-60956
Change 4271454 by Jason.Bestimt
#DEV-VR - Integrating CL 4239939, 4236178 and 4269702 from Partners-Google-VR
Change 4272387 by Ryan.Vance
#jira UEVR-1281
Oculus 1.28 Plugin changes
Change 4273410 by Jason.Bestimt
#DEV-VR - Fixing MagicLeapSDK Settings to be globaluserconfig (by removing the defaultconfig).
#JIRA: UE-62092
Change 4273929 by Ryan.Vance
#jira UE-62744
Fixing missing includes..
Change 4274147 by Kyle.Fung
Round-robin occlusion queries for stereoscopic rendering
With the vr.RoundRobinOcclusion flag turned on, each frame will only render occlusion queries for one eye with an alternating scheme (ie odd frames only left eye, even frames only right eye).
Additionally, the interface for class FPrimitiveOcclusionHistory has been changed along with a slight modification in its implementation. With round-robin occlusion, when extracing history entries we perform a search through the entire history to look for the oldest entry in a primitive's occlusion history.
#jira UEVR-1289
Change 4274206 by Kyle.Fung
Fixed some compiler warnings
#jira UEVR-1289
Change 4275212 by Jason.Bestimt
#DEV-VR - Fixing CIS error (forcing value to bool)
Change 4275973 by Jason.Bestimt
#DEV-VR - Merging CL 4275879 from Partner-Google-VR
GoogleVR 1.170 Release Update.
- Removed reference to GetHMDDeviceType.
- Updated to final version of SDK libraries.
Change 4276154 by Jason.Bestimt
#DEV-VR - fix for CIS warning about PngPtr being used before it is checked
Change 4277171 by Jeff.Fisher
UE-62399 Graphical corruption when opening the debug console
-Switched from the fast hardware clear to the slower shader clear because the slower one works. Perhaps a better fix exists that would make the faster clear work? Costs 60us when debug ui is up, but only when rendering debug to a stereo layer (vr/ar).
#jira UE-62399
#review-4277026
Change 4277633 by Joe.Conley
#jira UE-54565 - "Packaged game/Editor with Stereo Layers crashes when exiting game through steam VR overlay"
Don't call GetStereoLayers if stereo is not enabled.
Change 4277723 by Ryan.Vance
#jira UE-62776
Cleaning up questionable partner code found by SA.
I'm pretty confident the SA warning is a false positive, but there was a lot to fix here regardless.
Change 4280289 by Joe.Graf
Added some "Ignored by ARCore" comments Google requested
Change 4280479 by Joe.Graf
Fixed a member copy step in AppleARKitFrame::operator= that Wanghao reported
Change 4280824 by Jason.Bestimt
#DEV-VR - removing stale comment about ML SDK Settings using defaultengine.ini
Change 4281117 by Jason.Bestimt
#DEV-VR - Removing warnings on LUMIN from trying to load missing modules
#JIRA: UE-62748
Change 4281514 by Jason.Bestimt
#DEV-VR - Moving FunctionalTesting dependency under bCompileAgainstEngine
Change 4281847 by Joe.Graf
Added a UPL file to AppleARKit that modifies the plist to include the requirement of ARKit and request for camera access
#jira: UE-60050, UE-62837
Change 4281945 by Joe.Graf
Removed the ensures from the ARBlueprintLibrary code since the code handles the failure cases properly
#jira: UE-61845, UE-61846
Change 4282098 by Ethan.Geller
#jira UE-62863 fix audio on lumin #rb none
Change 4283974 by Joe.Graf
Deprecated bIsTracked on tracked images and face geo per Google API reunification feedback
Change 4284118 by Jason.Bestimt
#DEV-VR - Moving FunctionalTest dependency to be both non-shipping and CompileAgainstEngine. Allowing FunctionalTesting to be compiled in binary build
Change 4285339 by Ethan.Geller
#jira UE-62087 Whitelist AudioCapture module for mac while not whitelisting the AudioCaptureEditor module, which should only work on Windows.
Change 4286024 by Ryan.Vance
Copying //UE4/Partner-Microsoft-XR to Dev-VR (//UE4/Dev-VR)
Windows mixed reality integration.
Disabled by default
Change 4289812 by Jason.Bestimt
#DEV-VR - Fix for non-unity build issue with windows header
Change 4296399 by Jason.Bestimt
RSync fixes for xml files
#JIRA: UE-62994
Change 4296679 by Jason.Bestimt
#DEV-VR - Fixing remote iOS compile issue with BP projects that require plugins
#JIRA: UE-62967
[CL 4299100 by Jason Bestimt in Main branch]
2018-08-17 19:56:07 -04:00
}
// Grasp
2019-06-10 12:22:13 -04:00
pressState = FWindowsMixedRealityStatics : : GetPressState ( hand , HMDInputControllerButtons : : Grasp ) ;
if ( pressState ! = HMDInputPressState : : NotApplicable )
Copying //UE4/Dev-VR to //UE4/Dev-Main (Source: //UE4/Dev-VR @ 4296730)
#lockdown Nick.Penwarden
============================
MAJOR FEATURES & CHANGES
============================
Change 3775128 by Nick.Atamas
Merging //UE4/Partner-Google-VR @ CL 3770408 to Dev-VR (//UE4/Dev-VR)
Change 4166311 by Jason.Bestimt
#DEV-VR - Merge from //UE4/Dev-MagicLeap/... @ CL 4136411
Change 4185551 by Joe.Graf
Added support to query and specify the desired video format for an AR session
Change 4269190 by Ethan.Geller
[Dev-VR] #jira UE-62644 Deescalate resampling logs to display, and make sure that Lumin does not get Resampling settings from Android runtime settings.
Change 4269386 by Ryan.Vance
#jira UE-62274
We need to recompute the view frustum and related distances if the projection matrix is changed.
Change 4269401 by Ryan.Vance
#jira UE-62155
Debug canvas layer fixes
Change 4270710 by Chance.Ivey
Merging //UE4/Dev-Partner-MagicLeap-4.20 to Dev-VR (//UE4/Dev-VR)
- 4262963
- 4261100
- 4261103
- 4265565
Change 4270822 by Ryan.Vance
#jira UE-61462
Work around for csm shadow culling bug on Lumiun
Change 4271396 by Jason.Bestimt
#DEV-VR - Saving off original MLSDK variable for future editor "restarts" within the same process
#JIRA: UE-58634
Change 4271402 by Jason.Bestimt
#DEV-VR - Making bUseMobileRendering non-editable for binary builds
#JIRA: UE-60956
Change 4271454 by Jason.Bestimt
#DEV-VR - Integrating CL 4239939, 4236178 and 4269702 from Partners-Google-VR
Change 4272387 by Ryan.Vance
#jira UEVR-1281
Oculus 1.28 Plugin changes
Change 4273410 by Jason.Bestimt
#DEV-VR - Fixing MagicLeapSDK Settings to be globaluserconfig (by removing the defaultconfig).
#JIRA: UE-62092
Change 4273929 by Ryan.Vance
#jira UE-62744
Fixing missing includes..
Change 4274147 by Kyle.Fung
Round-robin occlusion queries for stereoscopic rendering
With the vr.RoundRobinOcclusion flag turned on, each frame will only render occlusion queries for one eye with an alternating scheme (ie odd frames only left eye, even frames only right eye).
Additionally, the interface for class FPrimitiveOcclusionHistory has been changed along with a slight modification in its implementation. With round-robin occlusion, when extracing history entries we perform a search through the entire history to look for the oldest entry in a primitive's occlusion history.
#jira UEVR-1289
Change 4274206 by Kyle.Fung
Fixed some compiler warnings
#jira UEVR-1289
Change 4275212 by Jason.Bestimt
#DEV-VR - Fixing CIS error (forcing value to bool)
Change 4275973 by Jason.Bestimt
#DEV-VR - Merging CL 4275879 from Partner-Google-VR
GoogleVR 1.170 Release Update.
- Removed reference to GetHMDDeviceType.
- Updated to final version of SDK libraries.
Change 4276154 by Jason.Bestimt
#DEV-VR - fix for CIS warning about PngPtr being used before it is checked
Change 4277171 by Jeff.Fisher
UE-62399 Graphical corruption when opening the debug console
-Switched from the fast hardware clear to the slower shader clear because the slower one works. Perhaps a better fix exists that would make the faster clear work? Costs 60us when debug ui is up, but only when rendering debug to a stereo layer (vr/ar).
#jira UE-62399
#review-4277026
Change 4277633 by Joe.Conley
#jira UE-54565 - "Packaged game/Editor with Stereo Layers crashes when exiting game through steam VR overlay"
Don't call GetStereoLayers if stereo is not enabled.
Change 4277723 by Ryan.Vance
#jira UE-62776
Cleaning up questionable partner code found by SA.
I'm pretty confident the SA warning is a false positive, but there was a lot to fix here regardless.
Change 4280289 by Joe.Graf
Added some "Ignored by ARCore" comments Google requested
Change 4280479 by Joe.Graf
Fixed a member copy step in AppleARKitFrame::operator= that Wanghao reported
Change 4280824 by Jason.Bestimt
#DEV-VR - removing stale comment about ML SDK Settings using defaultengine.ini
Change 4281117 by Jason.Bestimt
#DEV-VR - Removing warnings on LUMIN from trying to load missing modules
#JIRA: UE-62748
Change 4281514 by Jason.Bestimt
#DEV-VR - Moving FunctionalTesting dependency under bCompileAgainstEngine
Change 4281847 by Joe.Graf
Added a UPL file to AppleARKit that modifies the plist to include the requirement of ARKit and request for camera access
#jira: UE-60050, UE-62837
Change 4281945 by Joe.Graf
Removed the ensures from the ARBlueprintLibrary code since the code handles the failure cases properly
#jira: UE-61845, UE-61846
Change 4282098 by Ethan.Geller
#jira UE-62863 fix audio on lumin #rb none
Change 4283974 by Joe.Graf
Deprecated bIsTracked on tracked images and face geo per Google API reunification feedback
Change 4284118 by Jason.Bestimt
#DEV-VR - Moving FunctionalTest dependency to be both non-shipping and CompileAgainstEngine. Allowing FunctionalTesting to be compiled in binary build
Change 4285339 by Ethan.Geller
#jira UE-62087 Whitelist AudioCapture module for mac while not whitelisting the AudioCaptureEditor module, which should only work on Windows.
Change 4286024 by Ryan.Vance
Copying //UE4/Partner-Microsoft-XR to Dev-VR (//UE4/Dev-VR)
Windows mixed reality integration.
Disabled by default
Change 4289812 by Jason.Bestimt
#DEV-VR - Fix for non-unity build issue with windows header
Change 4296399 by Jason.Bestimt
RSync fixes for xml files
#JIRA: UE-62994
Change 4296679 by Jason.Bestimt
#DEV-VR - Fixing remote iOS compile issue with BP projects that require plugins
#JIRA: UE-62967
[CL 4299100 by Jason Bestimt in Main branch]
2018-08-17 19:56:07 -04:00
{
2019-11-01 15:43:44 -04:00
key = ( hand = = HMDHand : : Left ) ?
EKeys : : MixedReality_Left_Grip_Click :
EKeys : : MixedReality_Right_Grip_Click ;
SendControllerButtonEvent ( MessageHandler , source , key , pressState ) ;
Copying //UE4/Dev-VR to //UE4/Dev-Main (Source: //UE4/Dev-VR @ 4296730)
#lockdown Nick.Penwarden
============================
MAJOR FEATURES & CHANGES
============================
Change 3775128 by Nick.Atamas
Merging //UE4/Partner-Google-VR @ CL 3770408 to Dev-VR (//UE4/Dev-VR)
Change 4166311 by Jason.Bestimt
#DEV-VR - Merge from //UE4/Dev-MagicLeap/... @ CL 4136411
Change 4185551 by Joe.Graf
Added support to query and specify the desired video format for an AR session
Change 4269190 by Ethan.Geller
[Dev-VR] #jira UE-62644 Deescalate resampling logs to display, and make sure that Lumin does not get Resampling settings from Android runtime settings.
Change 4269386 by Ryan.Vance
#jira UE-62274
We need to recompute the view frustum and related distances if the projection matrix is changed.
Change 4269401 by Ryan.Vance
#jira UE-62155
Debug canvas layer fixes
Change 4270710 by Chance.Ivey
Merging //UE4/Dev-Partner-MagicLeap-4.20 to Dev-VR (//UE4/Dev-VR)
- 4262963
- 4261100
- 4261103
- 4265565
Change 4270822 by Ryan.Vance
#jira UE-61462
Work around for csm shadow culling bug on Lumiun
Change 4271396 by Jason.Bestimt
#DEV-VR - Saving off original MLSDK variable for future editor "restarts" within the same process
#JIRA: UE-58634
Change 4271402 by Jason.Bestimt
#DEV-VR - Making bUseMobileRendering non-editable for binary builds
#JIRA: UE-60956
Change 4271454 by Jason.Bestimt
#DEV-VR - Integrating CL 4239939, 4236178 and 4269702 from Partners-Google-VR
Change 4272387 by Ryan.Vance
#jira UEVR-1281
Oculus 1.28 Plugin changes
Change 4273410 by Jason.Bestimt
#DEV-VR - Fixing MagicLeapSDK Settings to be globaluserconfig (by removing the defaultconfig).
#JIRA: UE-62092
Change 4273929 by Ryan.Vance
#jira UE-62744
Fixing missing includes..
Change 4274147 by Kyle.Fung
Round-robin occlusion queries for stereoscopic rendering
With the vr.RoundRobinOcclusion flag turned on, each frame will only render occlusion queries for one eye with an alternating scheme (ie odd frames only left eye, even frames only right eye).
Additionally, the interface for class FPrimitiveOcclusionHistory has been changed along with a slight modification in its implementation. With round-robin occlusion, when extracing history entries we perform a search through the entire history to look for the oldest entry in a primitive's occlusion history.
#jira UEVR-1289
Change 4274206 by Kyle.Fung
Fixed some compiler warnings
#jira UEVR-1289
Change 4275212 by Jason.Bestimt
#DEV-VR - Fixing CIS error (forcing value to bool)
Change 4275973 by Jason.Bestimt
#DEV-VR - Merging CL 4275879 from Partner-Google-VR
GoogleVR 1.170 Release Update.
- Removed reference to GetHMDDeviceType.
- Updated to final version of SDK libraries.
Change 4276154 by Jason.Bestimt
#DEV-VR - fix for CIS warning about PngPtr being used before it is checked
Change 4277171 by Jeff.Fisher
UE-62399 Graphical corruption when opening the debug console
-Switched from the fast hardware clear to the slower shader clear because the slower one works. Perhaps a better fix exists that would make the faster clear work? Costs 60us when debug ui is up, but only when rendering debug to a stereo layer (vr/ar).
#jira UE-62399
#review-4277026
Change 4277633 by Joe.Conley
#jira UE-54565 - "Packaged game/Editor with Stereo Layers crashes when exiting game through steam VR overlay"
Don't call GetStereoLayers if stereo is not enabled.
Change 4277723 by Ryan.Vance
#jira UE-62776
Cleaning up questionable partner code found by SA.
I'm pretty confident the SA warning is a false positive, but there was a lot to fix here regardless.
Change 4280289 by Joe.Graf
Added some "Ignored by ARCore" comments Google requested
Change 4280479 by Joe.Graf
Fixed a member copy step in AppleARKitFrame::operator= that Wanghao reported
Change 4280824 by Jason.Bestimt
#DEV-VR - removing stale comment about ML SDK Settings using defaultengine.ini
Change 4281117 by Jason.Bestimt
#DEV-VR - Removing warnings on LUMIN from trying to load missing modules
#JIRA: UE-62748
Change 4281514 by Jason.Bestimt
#DEV-VR - Moving FunctionalTesting dependency under bCompileAgainstEngine
Change 4281847 by Joe.Graf
Added a UPL file to AppleARKit that modifies the plist to include the requirement of ARKit and request for camera access
#jira: UE-60050, UE-62837
Change 4281945 by Joe.Graf
Removed the ensures from the ARBlueprintLibrary code since the code handles the failure cases properly
#jira: UE-61845, UE-61846
Change 4282098 by Ethan.Geller
#jira UE-62863 fix audio on lumin #rb none
Change 4283974 by Joe.Graf
Deprecated bIsTracked on tracked images and face geo per Google API reunification feedback
Change 4284118 by Jason.Bestimt
#DEV-VR - Moving FunctionalTest dependency to be both non-shipping and CompileAgainstEngine. Allowing FunctionalTesting to be compiled in binary build
Change 4285339 by Ethan.Geller
#jira UE-62087 Whitelist AudioCapture module for mac while not whitelisting the AudioCaptureEditor module, which should only work on Windows.
Change 4286024 by Ryan.Vance
Copying //UE4/Partner-Microsoft-XR to Dev-VR (//UE4/Dev-VR)
Windows mixed reality integration.
Disabled by default
Change 4289812 by Jason.Bestimt
#DEV-VR - Fix for non-unity build issue with windows header
Change 4296399 by Jason.Bestimt
RSync fixes for xml files
#JIRA: UE-62994
Change 4296679 by Jason.Bestimt
#DEV-VR - Fixing remote iOS compile issue with BP projects that require plugins
#JIRA: UE-62967
[CL 4299100 by Jason Bestimt in Main branch]
2018-08-17 19:56:07 -04:00
}
// Menu
2019-06-10 12:22:13 -04:00
pressState = FWindowsMixedRealityStatics : : GetPressState ( hand , HMDInputControllerButtons : : Menu ) ;
if ( pressState ! = HMDInputPressState : : NotApplicable )
Copying //UE4/Dev-VR to //UE4/Dev-Main (Source: //UE4/Dev-VR @ 4296730)
#lockdown Nick.Penwarden
============================
MAJOR FEATURES & CHANGES
============================
Change 3775128 by Nick.Atamas
Merging //UE4/Partner-Google-VR @ CL 3770408 to Dev-VR (//UE4/Dev-VR)
Change 4166311 by Jason.Bestimt
#DEV-VR - Merge from //UE4/Dev-MagicLeap/... @ CL 4136411
Change 4185551 by Joe.Graf
Added support to query and specify the desired video format for an AR session
Change 4269190 by Ethan.Geller
[Dev-VR] #jira UE-62644 Deescalate resampling logs to display, and make sure that Lumin does not get Resampling settings from Android runtime settings.
Change 4269386 by Ryan.Vance
#jira UE-62274
We need to recompute the view frustum and related distances if the projection matrix is changed.
Change 4269401 by Ryan.Vance
#jira UE-62155
Debug canvas layer fixes
Change 4270710 by Chance.Ivey
Merging //UE4/Dev-Partner-MagicLeap-4.20 to Dev-VR (//UE4/Dev-VR)
- 4262963
- 4261100
- 4261103
- 4265565
Change 4270822 by Ryan.Vance
#jira UE-61462
Work around for csm shadow culling bug on Lumiun
Change 4271396 by Jason.Bestimt
#DEV-VR - Saving off original MLSDK variable for future editor "restarts" within the same process
#JIRA: UE-58634
Change 4271402 by Jason.Bestimt
#DEV-VR - Making bUseMobileRendering non-editable for binary builds
#JIRA: UE-60956
Change 4271454 by Jason.Bestimt
#DEV-VR - Integrating CL 4239939, 4236178 and 4269702 from Partners-Google-VR
Change 4272387 by Ryan.Vance
#jira UEVR-1281
Oculus 1.28 Plugin changes
Change 4273410 by Jason.Bestimt
#DEV-VR - Fixing MagicLeapSDK Settings to be globaluserconfig (by removing the defaultconfig).
#JIRA: UE-62092
Change 4273929 by Ryan.Vance
#jira UE-62744
Fixing missing includes..
Change 4274147 by Kyle.Fung
Round-robin occlusion queries for stereoscopic rendering
With the vr.RoundRobinOcclusion flag turned on, each frame will only render occlusion queries for one eye with an alternating scheme (ie odd frames only left eye, even frames only right eye).
Additionally, the interface for class FPrimitiveOcclusionHistory has been changed along with a slight modification in its implementation. With round-robin occlusion, when extracing history entries we perform a search through the entire history to look for the oldest entry in a primitive's occlusion history.
#jira UEVR-1289
Change 4274206 by Kyle.Fung
Fixed some compiler warnings
#jira UEVR-1289
Change 4275212 by Jason.Bestimt
#DEV-VR - Fixing CIS error (forcing value to bool)
Change 4275973 by Jason.Bestimt
#DEV-VR - Merging CL 4275879 from Partner-Google-VR
GoogleVR 1.170 Release Update.
- Removed reference to GetHMDDeviceType.
- Updated to final version of SDK libraries.
Change 4276154 by Jason.Bestimt
#DEV-VR - fix for CIS warning about PngPtr being used before it is checked
Change 4277171 by Jeff.Fisher
UE-62399 Graphical corruption when opening the debug console
-Switched from the fast hardware clear to the slower shader clear because the slower one works. Perhaps a better fix exists that would make the faster clear work? Costs 60us when debug ui is up, but only when rendering debug to a stereo layer (vr/ar).
#jira UE-62399
#review-4277026
Change 4277633 by Joe.Conley
#jira UE-54565 - "Packaged game/Editor with Stereo Layers crashes when exiting game through steam VR overlay"
Don't call GetStereoLayers if stereo is not enabled.
Change 4277723 by Ryan.Vance
#jira UE-62776
Cleaning up questionable partner code found by SA.
I'm pretty confident the SA warning is a false positive, but there was a lot to fix here regardless.
Change 4280289 by Joe.Graf
Added some "Ignored by ARCore" comments Google requested
Change 4280479 by Joe.Graf
Fixed a member copy step in AppleARKitFrame::operator= that Wanghao reported
Change 4280824 by Jason.Bestimt
#DEV-VR - removing stale comment about ML SDK Settings using defaultengine.ini
Change 4281117 by Jason.Bestimt
#DEV-VR - Removing warnings on LUMIN from trying to load missing modules
#JIRA: UE-62748
Change 4281514 by Jason.Bestimt
#DEV-VR - Moving FunctionalTesting dependency under bCompileAgainstEngine
Change 4281847 by Joe.Graf
Added a UPL file to AppleARKit that modifies the plist to include the requirement of ARKit and request for camera access
#jira: UE-60050, UE-62837
Change 4281945 by Joe.Graf
Removed the ensures from the ARBlueprintLibrary code since the code handles the failure cases properly
#jira: UE-61845, UE-61846
Change 4282098 by Ethan.Geller
#jira UE-62863 fix audio on lumin #rb none
Change 4283974 by Joe.Graf
Deprecated bIsTracked on tracked images and face geo per Google API reunification feedback
Change 4284118 by Jason.Bestimt
#DEV-VR - Moving FunctionalTest dependency to be both non-shipping and CompileAgainstEngine. Allowing FunctionalTesting to be compiled in binary build
Change 4285339 by Ethan.Geller
#jira UE-62087 Whitelist AudioCapture module for mac while not whitelisting the AudioCaptureEditor module, which should only work on Windows.
Change 4286024 by Ryan.Vance
Copying //UE4/Partner-Microsoft-XR to Dev-VR (//UE4/Dev-VR)
Windows mixed reality integration.
Disabled by default
Change 4289812 by Jason.Bestimt
#DEV-VR - Fix for non-unity build issue with windows header
Change 4296399 by Jason.Bestimt
RSync fixes for xml files
#JIRA: UE-62994
Change 4296679 by Jason.Bestimt
#DEV-VR - Fixing remote iOS compile issue with BP projects that require plugins
#JIRA: UE-62967
[CL 4299100 by Jason Bestimt in Main branch]
2018-08-17 19:56:07 -04:00
{
2019-06-10 12:22:13 -04:00
key = ( hand = = HMDHand : : Left ) ?
2019-11-01 15:43:44 -04:00
EKeys : : MixedReality_Left_Menu_Click :
EKeys : : MixedReality_Right_Menu_Click ;
Copying //UE4/Dev-VR to //UE4/Dev-Main (Source: //UE4/Dev-VR @ 4296730)
#lockdown Nick.Penwarden
============================
MAJOR FEATURES & CHANGES
============================
Change 3775128 by Nick.Atamas
Merging //UE4/Partner-Google-VR @ CL 3770408 to Dev-VR (//UE4/Dev-VR)
Change 4166311 by Jason.Bestimt
#DEV-VR - Merge from //UE4/Dev-MagicLeap/... @ CL 4136411
Change 4185551 by Joe.Graf
Added support to query and specify the desired video format for an AR session
Change 4269190 by Ethan.Geller
[Dev-VR] #jira UE-62644 Deescalate resampling logs to display, and make sure that Lumin does not get Resampling settings from Android runtime settings.
Change 4269386 by Ryan.Vance
#jira UE-62274
We need to recompute the view frustum and related distances if the projection matrix is changed.
Change 4269401 by Ryan.Vance
#jira UE-62155
Debug canvas layer fixes
Change 4270710 by Chance.Ivey
Merging //UE4/Dev-Partner-MagicLeap-4.20 to Dev-VR (//UE4/Dev-VR)
- 4262963
- 4261100
- 4261103
- 4265565
Change 4270822 by Ryan.Vance
#jira UE-61462
Work around for csm shadow culling bug on Lumiun
Change 4271396 by Jason.Bestimt
#DEV-VR - Saving off original MLSDK variable for future editor "restarts" within the same process
#JIRA: UE-58634
Change 4271402 by Jason.Bestimt
#DEV-VR - Making bUseMobileRendering non-editable for binary builds
#JIRA: UE-60956
Change 4271454 by Jason.Bestimt
#DEV-VR - Integrating CL 4239939, 4236178 and 4269702 from Partners-Google-VR
Change 4272387 by Ryan.Vance
#jira UEVR-1281
Oculus 1.28 Plugin changes
Change 4273410 by Jason.Bestimt
#DEV-VR - Fixing MagicLeapSDK Settings to be globaluserconfig (by removing the defaultconfig).
#JIRA: UE-62092
Change 4273929 by Ryan.Vance
#jira UE-62744
Fixing missing includes..
Change 4274147 by Kyle.Fung
Round-robin occlusion queries for stereoscopic rendering
With the vr.RoundRobinOcclusion flag turned on, each frame will only render occlusion queries for one eye with an alternating scheme (ie odd frames only left eye, even frames only right eye).
Additionally, the interface for class FPrimitiveOcclusionHistory has been changed along with a slight modification in its implementation. With round-robin occlusion, when extracing history entries we perform a search through the entire history to look for the oldest entry in a primitive's occlusion history.
#jira UEVR-1289
Change 4274206 by Kyle.Fung
Fixed some compiler warnings
#jira UEVR-1289
Change 4275212 by Jason.Bestimt
#DEV-VR - Fixing CIS error (forcing value to bool)
Change 4275973 by Jason.Bestimt
#DEV-VR - Merging CL 4275879 from Partner-Google-VR
GoogleVR 1.170 Release Update.
- Removed reference to GetHMDDeviceType.
- Updated to final version of SDK libraries.
Change 4276154 by Jason.Bestimt
#DEV-VR - fix for CIS warning about PngPtr being used before it is checked
Change 4277171 by Jeff.Fisher
UE-62399 Graphical corruption when opening the debug console
-Switched from the fast hardware clear to the slower shader clear because the slower one works. Perhaps a better fix exists that would make the faster clear work? Costs 60us when debug ui is up, but only when rendering debug to a stereo layer (vr/ar).
#jira UE-62399
#review-4277026
Change 4277633 by Joe.Conley
#jira UE-54565 - "Packaged game/Editor with Stereo Layers crashes when exiting game through steam VR overlay"
Don't call GetStereoLayers if stereo is not enabled.
Change 4277723 by Ryan.Vance
#jira UE-62776
Cleaning up questionable partner code found by SA.
I'm pretty confident the SA warning is a false positive, but there was a lot to fix here regardless.
Change 4280289 by Joe.Graf
Added some "Ignored by ARCore" comments Google requested
Change 4280479 by Joe.Graf
Fixed a member copy step in AppleARKitFrame::operator= that Wanghao reported
Change 4280824 by Jason.Bestimt
#DEV-VR - removing stale comment about ML SDK Settings using defaultengine.ini
Change 4281117 by Jason.Bestimt
#DEV-VR - Removing warnings on LUMIN from trying to load missing modules
#JIRA: UE-62748
Change 4281514 by Jason.Bestimt
#DEV-VR - Moving FunctionalTesting dependency under bCompileAgainstEngine
Change 4281847 by Joe.Graf
Added a UPL file to AppleARKit that modifies the plist to include the requirement of ARKit and request for camera access
#jira: UE-60050, UE-62837
Change 4281945 by Joe.Graf
Removed the ensures from the ARBlueprintLibrary code since the code handles the failure cases properly
#jira: UE-61845, UE-61846
Change 4282098 by Ethan.Geller
#jira UE-62863 fix audio on lumin #rb none
Change 4283974 by Joe.Graf
Deprecated bIsTracked on tracked images and face geo per Google API reunification feedback
Change 4284118 by Jason.Bestimt
#DEV-VR - Moving FunctionalTest dependency to be both non-shipping and CompileAgainstEngine. Allowing FunctionalTesting to be compiled in binary build
Change 4285339 by Ethan.Geller
#jira UE-62087 Whitelist AudioCapture module for mac while not whitelisting the AudioCaptureEditor module, which should only work on Windows.
Change 4286024 by Ryan.Vance
Copying //UE4/Partner-Microsoft-XR to Dev-VR (//UE4/Dev-VR)
Windows mixed reality integration.
Disabled by default
Change 4289812 by Jason.Bestimt
#DEV-VR - Fix for non-unity build issue with windows header
Change 4296399 by Jason.Bestimt
RSync fixes for xml files
#JIRA: UE-62994
Change 4296679 by Jason.Bestimt
#DEV-VR - Fixing remote iOS compile issue with BP projects that require plugins
#JIRA: UE-62967
[CL 4299100 by Jason Bestimt in Main branch]
2018-08-17 19:56:07 -04:00
SendControllerButtonEvent ( MessageHandler , source , key , pressState ) ;
}
// Thumbstick press
2019-06-10 12:22:13 -04:00
pressState = FWindowsMixedRealityStatics : : GetPressState ( hand , HMDInputControllerButtons : : Thumbstick ) ;
if ( pressState ! = HMDInputPressState : : NotApplicable )
Copying //UE4/Dev-VR to //UE4/Dev-Main (Source: //UE4/Dev-VR @ 4296730)
#lockdown Nick.Penwarden
============================
MAJOR FEATURES & CHANGES
============================
Change 3775128 by Nick.Atamas
Merging //UE4/Partner-Google-VR @ CL 3770408 to Dev-VR (//UE4/Dev-VR)
Change 4166311 by Jason.Bestimt
#DEV-VR - Merge from //UE4/Dev-MagicLeap/... @ CL 4136411
Change 4185551 by Joe.Graf
Added support to query and specify the desired video format for an AR session
Change 4269190 by Ethan.Geller
[Dev-VR] #jira UE-62644 Deescalate resampling logs to display, and make sure that Lumin does not get Resampling settings from Android runtime settings.
Change 4269386 by Ryan.Vance
#jira UE-62274
We need to recompute the view frustum and related distances if the projection matrix is changed.
Change 4269401 by Ryan.Vance
#jira UE-62155
Debug canvas layer fixes
Change 4270710 by Chance.Ivey
Merging //UE4/Dev-Partner-MagicLeap-4.20 to Dev-VR (//UE4/Dev-VR)
- 4262963
- 4261100
- 4261103
- 4265565
Change 4270822 by Ryan.Vance
#jira UE-61462
Work around for csm shadow culling bug on Lumiun
Change 4271396 by Jason.Bestimt
#DEV-VR - Saving off original MLSDK variable for future editor "restarts" within the same process
#JIRA: UE-58634
Change 4271402 by Jason.Bestimt
#DEV-VR - Making bUseMobileRendering non-editable for binary builds
#JIRA: UE-60956
Change 4271454 by Jason.Bestimt
#DEV-VR - Integrating CL 4239939, 4236178 and 4269702 from Partners-Google-VR
Change 4272387 by Ryan.Vance
#jira UEVR-1281
Oculus 1.28 Plugin changes
Change 4273410 by Jason.Bestimt
#DEV-VR - Fixing MagicLeapSDK Settings to be globaluserconfig (by removing the defaultconfig).
#JIRA: UE-62092
Change 4273929 by Ryan.Vance
#jira UE-62744
Fixing missing includes..
Change 4274147 by Kyle.Fung
Round-robin occlusion queries for stereoscopic rendering
With the vr.RoundRobinOcclusion flag turned on, each frame will only render occlusion queries for one eye with an alternating scheme (ie odd frames only left eye, even frames only right eye).
Additionally, the interface for class FPrimitiveOcclusionHistory has been changed along with a slight modification in its implementation. With round-robin occlusion, when extracing history entries we perform a search through the entire history to look for the oldest entry in a primitive's occlusion history.
#jira UEVR-1289
Change 4274206 by Kyle.Fung
Fixed some compiler warnings
#jira UEVR-1289
Change 4275212 by Jason.Bestimt
#DEV-VR - Fixing CIS error (forcing value to bool)
Change 4275973 by Jason.Bestimt
#DEV-VR - Merging CL 4275879 from Partner-Google-VR
GoogleVR 1.170 Release Update.
- Removed reference to GetHMDDeviceType.
- Updated to final version of SDK libraries.
Change 4276154 by Jason.Bestimt
#DEV-VR - fix for CIS warning about PngPtr being used before it is checked
Change 4277171 by Jeff.Fisher
UE-62399 Graphical corruption when opening the debug console
-Switched from the fast hardware clear to the slower shader clear because the slower one works. Perhaps a better fix exists that would make the faster clear work? Costs 60us when debug ui is up, but only when rendering debug to a stereo layer (vr/ar).
#jira UE-62399
#review-4277026
Change 4277633 by Joe.Conley
#jira UE-54565 - "Packaged game/Editor with Stereo Layers crashes when exiting game through steam VR overlay"
Don't call GetStereoLayers if stereo is not enabled.
Change 4277723 by Ryan.Vance
#jira UE-62776
Cleaning up questionable partner code found by SA.
I'm pretty confident the SA warning is a false positive, but there was a lot to fix here regardless.
Change 4280289 by Joe.Graf
Added some "Ignored by ARCore" comments Google requested
Change 4280479 by Joe.Graf
Fixed a member copy step in AppleARKitFrame::operator= that Wanghao reported
Change 4280824 by Jason.Bestimt
#DEV-VR - removing stale comment about ML SDK Settings using defaultengine.ini
Change 4281117 by Jason.Bestimt
#DEV-VR - Removing warnings on LUMIN from trying to load missing modules
#JIRA: UE-62748
Change 4281514 by Jason.Bestimt
#DEV-VR - Moving FunctionalTesting dependency under bCompileAgainstEngine
Change 4281847 by Joe.Graf
Added a UPL file to AppleARKit that modifies the plist to include the requirement of ARKit and request for camera access
#jira: UE-60050, UE-62837
Change 4281945 by Joe.Graf
Removed the ensures from the ARBlueprintLibrary code since the code handles the failure cases properly
#jira: UE-61845, UE-61846
Change 4282098 by Ethan.Geller
#jira UE-62863 fix audio on lumin #rb none
Change 4283974 by Joe.Graf
Deprecated bIsTracked on tracked images and face geo per Google API reunification feedback
Change 4284118 by Jason.Bestimt
#DEV-VR - Moving FunctionalTest dependency to be both non-shipping and CompileAgainstEngine. Allowing FunctionalTesting to be compiled in binary build
Change 4285339 by Ethan.Geller
#jira UE-62087 Whitelist AudioCapture module for mac while not whitelisting the AudioCaptureEditor module, which should only work on Windows.
Change 4286024 by Ryan.Vance
Copying //UE4/Partner-Microsoft-XR to Dev-VR (//UE4/Dev-VR)
Windows mixed reality integration.
Disabled by default
Change 4289812 by Jason.Bestimt
#DEV-VR - Fix for non-unity build issue with windows header
Change 4296399 by Jason.Bestimt
RSync fixes for xml files
#JIRA: UE-62994
Change 4296679 by Jason.Bestimt
#DEV-VR - Fixing remote iOS compile issue with BP projects that require plugins
#JIRA: UE-62967
[CL 4299100 by Jason Bestimt in Main branch]
2018-08-17 19:56:07 -04:00
{
2019-11-01 15:43:44 -04:00
key = ( hand = = HMDHand : : Left ) ?
EKeys : : MixedReality_Left_Thumbstick_Click :
EKeys : : MixedReality_Right_Thumbstick_Click ;
SendControllerButtonEvent ( MessageHandler , source , key , pressState ) ;
Copying //UE4/Dev-VR to //UE4/Dev-Main (Source: //UE4/Dev-VR @ 4296730)
#lockdown Nick.Penwarden
============================
MAJOR FEATURES & CHANGES
============================
Change 3775128 by Nick.Atamas
Merging //UE4/Partner-Google-VR @ CL 3770408 to Dev-VR (//UE4/Dev-VR)
Change 4166311 by Jason.Bestimt
#DEV-VR - Merge from //UE4/Dev-MagicLeap/... @ CL 4136411
Change 4185551 by Joe.Graf
Added support to query and specify the desired video format for an AR session
Change 4269190 by Ethan.Geller
[Dev-VR] #jira UE-62644 Deescalate resampling logs to display, and make sure that Lumin does not get Resampling settings from Android runtime settings.
Change 4269386 by Ryan.Vance
#jira UE-62274
We need to recompute the view frustum and related distances if the projection matrix is changed.
Change 4269401 by Ryan.Vance
#jira UE-62155
Debug canvas layer fixes
Change 4270710 by Chance.Ivey
Merging //UE4/Dev-Partner-MagicLeap-4.20 to Dev-VR (//UE4/Dev-VR)
- 4262963
- 4261100
- 4261103
- 4265565
Change 4270822 by Ryan.Vance
#jira UE-61462
Work around for csm shadow culling bug on Lumiun
Change 4271396 by Jason.Bestimt
#DEV-VR - Saving off original MLSDK variable for future editor "restarts" within the same process
#JIRA: UE-58634
Change 4271402 by Jason.Bestimt
#DEV-VR - Making bUseMobileRendering non-editable for binary builds
#JIRA: UE-60956
Change 4271454 by Jason.Bestimt
#DEV-VR - Integrating CL 4239939, 4236178 and 4269702 from Partners-Google-VR
Change 4272387 by Ryan.Vance
#jira UEVR-1281
Oculus 1.28 Plugin changes
Change 4273410 by Jason.Bestimt
#DEV-VR - Fixing MagicLeapSDK Settings to be globaluserconfig (by removing the defaultconfig).
#JIRA: UE-62092
Change 4273929 by Ryan.Vance
#jira UE-62744
Fixing missing includes..
Change 4274147 by Kyle.Fung
Round-robin occlusion queries for stereoscopic rendering
With the vr.RoundRobinOcclusion flag turned on, each frame will only render occlusion queries for one eye with an alternating scheme (ie odd frames only left eye, even frames only right eye).
Additionally, the interface for class FPrimitiveOcclusionHistory has been changed along with a slight modification in its implementation. With round-robin occlusion, when extracing history entries we perform a search through the entire history to look for the oldest entry in a primitive's occlusion history.
#jira UEVR-1289
Change 4274206 by Kyle.Fung
Fixed some compiler warnings
#jira UEVR-1289
Change 4275212 by Jason.Bestimt
#DEV-VR - Fixing CIS error (forcing value to bool)
Change 4275973 by Jason.Bestimt
#DEV-VR - Merging CL 4275879 from Partner-Google-VR
GoogleVR 1.170 Release Update.
- Removed reference to GetHMDDeviceType.
- Updated to final version of SDK libraries.
Change 4276154 by Jason.Bestimt
#DEV-VR - fix for CIS warning about PngPtr being used before it is checked
Change 4277171 by Jeff.Fisher
UE-62399 Graphical corruption when opening the debug console
-Switched from the fast hardware clear to the slower shader clear because the slower one works. Perhaps a better fix exists that would make the faster clear work? Costs 60us when debug ui is up, but only when rendering debug to a stereo layer (vr/ar).
#jira UE-62399
#review-4277026
Change 4277633 by Joe.Conley
#jira UE-54565 - "Packaged game/Editor with Stereo Layers crashes when exiting game through steam VR overlay"
Don't call GetStereoLayers if stereo is not enabled.
Change 4277723 by Ryan.Vance
#jira UE-62776
Cleaning up questionable partner code found by SA.
I'm pretty confident the SA warning is a false positive, but there was a lot to fix here regardless.
Change 4280289 by Joe.Graf
Added some "Ignored by ARCore" comments Google requested
Change 4280479 by Joe.Graf
Fixed a member copy step in AppleARKitFrame::operator= that Wanghao reported
Change 4280824 by Jason.Bestimt
#DEV-VR - removing stale comment about ML SDK Settings using defaultengine.ini
Change 4281117 by Jason.Bestimt
#DEV-VR - Removing warnings on LUMIN from trying to load missing modules
#JIRA: UE-62748
Change 4281514 by Jason.Bestimt
#DEV-VR - Moving FunctionalTesting dependency under bCompileAgainstEngine
Change 4281847 by Joe.Graf
Added a UPL file to AppleARKit that modifies the plist to include the requirement of ARKit and request for camera access
#jira: UE-60050, UE-62837
Change 4281945 by Joe.Graf
Removed the ensures from the ARBlueprintLibrary code since the code handles the failure cases properly
#jira: UE-61845, UE-61846
Change 4282098 by Ethan.Geller
#jira UE-62863 fix audio on lumin #rb none
Change 4283974 by Joe.Graf
Deprecated bIsTracked on tracked images and face geo per Google API reunification feedback
Change 4284118 by Jason.Bestimt
#DEV-VR - Moving FunctionalTest dependency to be both non-shipping and CompileAgainstEngine. Allowing FunctionalTesting to be compiled in binary build
Change 4285339 by Ethan.Geller
#jira UE-62087 Whitelist AudioCapture module for mac while not whitelisting the AudioCaptureEditor module, which should only work on Windows.
Change 4286024 by Ryan.Vance
Copying //UE4/Partner-Microsoft-XR to Dev-VR (//UE4/Dev-VR)
Windows mixed reality integration.
Disabled by default
Change 4289812 by Jason.Bestimt
#DEV-VR - Fix for non-unity build issue with windows header
Change 4296399 by Jason.Bestimt
RSync fixes for xml files
#JIRA: UE-62994
Change 4296679 by Jason.Bestimt
#DEV-VR - Fixing remote iOS compile issue with BP projects that require plugins
#JIRA: UE-62967
[CL 4299100 by Jason Bestimt in Main branch]
2018-08-17 19:56:07 -04:00
}
// Touchpad press
2019-06-10 12:22:13 -04:00
pressState = FWindowsMixedRealityStatics : : GetPressState ( hand , HMDInputControllerButtons : : Touchpad ) ;
if ( pressState ! = HMDInputPressState : : NotApplicable )
Copying //UE4/Dev-VR to //UE4/Dev-Main (Source: //UE4/Dev-VR @ 4296730)
#lockdown Nick.Penwarden
============================
MAJOR FEATURES & CHANGES
============================
Change 3775128 by Nick.Atamas
Merging //UE4/Partner-Google-VR @ CL 3770408 to Dev-VR (//UE4/Dev-VR)
Change 4166311 by Jason.Bestimt
#DEV-VR - Merge from //UE4/Dev-MagicLeap/... @ CL 4136411
Change 4185551 by Joe.Graf
Added support to query and specify the desired video format for an AR session
Change 4269190 by Ethan.Geller
[Dev-VR] #jira UE-62644 Deescalate resampling logs to display, and make sure that Lumin does not get Resampling settings from Android runtime settings.
Change 4269386 by Ryan.Vance
#jira UE-62274
We need to recompute the view frustum and related distances if the projection matrix is changed.
Change 4269401 by Ryan.Vance
#jira UE-62155
Debug canvas layer fixes
Change 4270710 by Chance.Ivey
Merging //UE4/Dev-Partner-MagicLeap-4.20 to Dev-VR (//UE4/Dev-VR)
- 4262963
- 4261100
- 4261103
- 4265565
Change 4270822 by Ryan.Vance
#jira UE-61462
Work around for csm shadow culling bug on Lumiun
Change 4271396 by Jason.Bestimt
#DEV-VR - Saving off original MLSDK variable for future editor "restarts" within the same process
#JIRA: UE-58634
Change 4271402 by Jason.Bestimt
#DEV-VR - Making bUseMobileRendering non-editable for binary builds
#JIRA: UE-60956
Change 4271454 by Jason.Bestimt
#DEV-VR - Integrating CL 4239939, 4236178 and 4269702 from Partners-Google-VR
Change 4272387 by Ryan.Vance
#jira UEVR-1281
Oculus 1.28 Plugin changes
Change 4273410 by Jason.Bestimt
#DEV-VR - Fixing MagicLeapSDK Settings to be globaluserconfig (by removing the defaultconfig).
#JIRA: UE-62092
Change 4273929 by Ryan.Vance
#jira UE-62744
Fixing missing includes..
Change 4274147 by Kyle.Fung
Round-robin occlusion queries for stereoscopic rendering
With the vr.RoundRobinOcclusion flag turned on, each frame will only render occlusion queries for one eye with an alternating scheme (ie odd frames only left eye, even frames only right eye).
Additionally, the interface for class FPrimitiveOcclusionHistory has been changed along with a slight modification in its implementation. With round-robin occlusion, when extracing history entries we perform a search through the entire history to look for the oldest entry in a primitive's occlusion history.
#jira UEVR-1289
Change 4274206 by Kyle.Fung
Fixed some compiler warnings
#jira UEVR-1289
Change 4275212 by Jason.Bestimt
#DEV-VR - Fixing CIS error (forcing value to bool)
Change 4275973 by Jason.Bestimt
#DEV-VR - Merging CL 4275879 from Partner-Google-VR
GoogleVR 1.170 Release Update.
- Removed reference to GetHMDDeviceType.
- Updated to final version of SDK libraries.
Change 4276154 by Jason.Bestimt
#DEV-VR - fix for CIS warning about PngPtr being used before it is checked
Change 4277171 by Jeff.Fisher
UE-62399 Graphical corruption when opening the debug console
-Switched from the fast hardware clear to the slower shader clear because the slower one works. Perhaps a better fix exists that would make the faster clear work? Costs 60us when debug ui is up, but only when rendering debug to a stereo layer (vr/ar).
#jira UE-62399
#review-4277026
Change 4277633 by Joe.Conley
#jira UE-54565 - "Packaged game/Editor with Stereo Layers crashes when exiting game through steam VR overlay"
Don't call GetStereoLayers if stereo is not enabled.
Change 4277723 by Ryan.Vance
#jira UE-62776
Cleaning up questionable partner code found by SA.
I'm pretty confident the SA warning is a false positive, but there was a lot to fix here regardless.
Change 4280289 by Joe.Graf
Added some "Ignored by ARCore" comments Google requested
Change 4280479 by Joe.Graf
Fixed a member copy step in AppleARKitFrame::operator= that Wanghao reported
Change 4280824 by Jason.Bestimt
#DEV-VR - removing stale comment about ML SDK Settings using defaultengine.ini
Change 4281117 by Jason.Bestimt
#DEV-VR - Removing warnings on LUMIN from trying to load missing modules
#JIRA: UE-62748
Change 4281514 by Jason.Bestimt
#DEV-VR - Moving FunctionalTesting dependency under bCompileAgainstEngine
Change 4281847 by Joe.Graf
Added a UPL file to AppleARKit that modifies the plist to include the requirement of ARKit and request for camera access
#jira: UE-60050, UE-62837
Change 4281945 by Joe.Graf
Removed the ensures from the ARBlueprintLibrary code since the code handles the failure cases properly
#jira: UE-61845, UE-61846
Change 4282098 by Ethan.Geller
#jira UE-62863 fix audio on lumin #rb none
Change 4283974 by Joe.Graf
Deprecated bIsTracked on tracked images and face geo per Google API reunification feedback
Change 4284118 by Jason.Bestimt
#DEV-VR - Moving FunctionalTest dependency to be both non-shipping and CompileAgainstEngine. Allowing FunctionalTesting to be compiled in binary build
Change 4285339 by Ethan.Geller
#jira UE-62087 Whitelist AudioCapture module for mac while not whitelisting the AudioCaptureEditor module, which should only work on Windows.
Change 4286024 by Ryan.Vance
Copying //UE4/Partner-Microsoft-XR to Dev-VR (//UE4/Dev-VR)
Windows mixed reality integration.
Disabled by default
Change 4289812 by Jason.Bestimt
#DEV-VR - Fix for non-unity build issue with windows header
Change 4296399 by Jason.Bestimt
RSync fixes for xml files
#JIRA: UE-62994
Change 4296679 by Jason.Bestimt
#DEV-VR - Fixing remote iOS compile issue with BP projects that require plugins
#JIRA: UE-62967
[CL 4299100 by Jason Bestimt in Main branch]
2018-08-17 19:56:07 -04:00
{
2019-06-10 12:22:13 -04:00
key = ( hand = = HMDHand : : Left ) ?
2019-11-01 15:43:44 -04:00
EKeys : : MixedReality_Left_Trackpad_Click :
EKeys : : MixedReality_Right_Trackpad_Click ;
Copying //UE4/Dev-VR to //UE4/Dev-Main (Source: //UE4/Dev-VR @ 4296730)
#lockdown Nick.Penwarden
============================
MAJOR FEATURES & CHANGES
============================
Change 3775128 by Nick.Atamas
Merging //UE4/Partner-Google-VR @ CL 3770408 to Dev-VR (//UE4/Dev-VR)
Change 4166311 by Jason.Bestimt
#DEV-VR - Merge from //UE4/Dev-MagicLeap/... @ CL 4136411
Change 4185551 by Joe.Graf
Added support to query and specify the desired video format for an AR session
Change 4269190 by Ethan.Geller
[Dev-VR] #jira UE-62644 Deescalate resampling logs to display, and make sure that Lumin does not get Resampling settings from Android runtime settings.
Change 4269386 by Ryan.Vance
#jira UE-62274
We need to recompute the view frustum and related distances if the projection matrix is changed.
Change 4269401 by Ryan.Vance
#jira UE-62155
Debug canvas layer fixes
Change 4270710 by Chance.Ivey
Merging //UE4/Dev-Partner-MagicLeap-4.20 to Dev-VR (//UE4/Dev-VR)
- 4262963
- 4261100
- 4261103
- 4265565
Change 4270822 by Ryan.Vance
#jira UE-61462
Work around for csm shadow culling bug on Lumiun
Change 4271396 by Jason.Bestimt
#DEV-VR - Saving off original MLSDK variable for future editor "restarts" within the same process
#JIRA: UE-58634
Change 4271402 by Jason.Bestimt
#DEV-VR - Making bUseMobileRendering non-editable for binary builds
#JIRA: UE-60956
Change 4271454 by Jason.Bestimt
#DEV-VR - Integrating CL 4239939, 4236178 and 4269702 from Partners-Google-VR
Change 4272387 by Ryan.Vance
#jira UEVR-1281
Oculus 1.28 Plugin changes
Change 4273410 by Jason.Bestimt
#DEV-VR - Fixing MagicLeapSDK Settings to be globaluserconfig (by removing the defaultconfig).
#JIRA: UE-62092
Change 4273929 by Ryan.Vance
#jira UE-62744
Fixing missing includes..
Change 4274147 by Kyle.Fung
Round-robin occlusion queries for stereoscopic rendering
With the vr.RoundRobinOcclusion flag turned on, each frame will only render occlusion queries for one eye with an alternating scheme (ie odd frames only left eye, even frames only right eye).
Additionally, the interface for class FPrimitiveOcclusionHistory has been changed along with a slight modification in its implementation. With round-robin occlusion, when extracing history entries we perform a search through the entire history to look for the oldest entry in a primitive's occlusion history.
#jira UEVR-1289
Change 4274206 by Kyle.Fung
Fixed some compiler warnings
#jira UEVR-1289
Change 4275212 by Jason.Bestimt
#DEV-VR - Fixing CIS error (forcing value to bool)
Change 4275973 by Jason.Bestimt
#DEV-VR - Merging CL 4275879 from Partner-Google-VR
GoogleVR 1.170 Release Update.
- Removed reference to GetHMDDeviceType.
- Updated to final version of SDK libraries.
Change 4276154 by Jason.Bestimt
#DEV-VR - fix for CIS warning about PngPtr being used before it is checked
Change 4277171 by Jeff.Fisher
UE-62399 Graphical corruption when opening the debug console
-Switched from the fast hardware clear to the slower shader clear because the slower one works. Perhaps a better fix exists that would make the faster clear work? Costs 60us when debug ui is up, but only when rendering debug to a stereo layer (vr/ar).
#jira UE-62399
#review-4277026
Change 4277633 by Joe.Conley
#jira UE-54565 - "Packaged game/Editor with Stereo Layers crashes when exiting game through steam VR overlay"
Don't call GetStereoLayers if stereo is not enabled.
Change 4277723 by Ryan.Vance
#jira UE-62776
Cleaning up questionable partner code found by SA.
I'm pretty confident the SA warning is a false positive, but there was a lot to fix here regardless.
Change 4280289 by Joe.Graf
Added some "Ignored by ARCore" comments Google requested
Change 4280479 by Joe.Graf
Fixed a member copy step in AppleARKitFrame::operator= that Wanghao reported
Change 4280824 by Jason.Bestimt
#DEV-VR - removing stale comment about ML SDK Settings using defaultengine.ini
Change 4281117 by Jason.Bestimt
#DEV-VR - Removing warnings on LUMIN from trying to load missing modules
#JIRA: UE-62748
Change 4281514 by Jason.Bestimt
#DEV-VR - Moving FunctionalTesting dependency under bCompileAgainstEngine
Change 4281847 by Joe.Graf
Added a UPL file to AppleARKit that modifies the plist to include the requirement of ARKit and request for camera access
#jira: UE-60050, UE-62837
Change 4281945 by Joe.Graf
Removed the ensures from the ARBlueprintLibrary code since the code handles the failure cases properly
#jira: UE-61845, UE-61846
Change 4282098 by Ethan.Geller
#jira UE-62863 fix audio on lumin #rb none
Change 4283974 by Joe.Graf
Deprecated bIsTracked on tracked images and face geo per Google API reunification feedback
Change 4284118 by Jason.Bestimt
#DEV-VR - Moving FunctionalTest dependency to be both non-shipping and CompileAgainstEngine. Allowing FunctionalTesting to be compiled in binary build
Change 4285339 by Ethan.Geller
#jira UE-62087 Whitelist AudioCapture module for mac while not whitelisting the AudioCaptureEditor module, which should only work on Windows.
Change 4286024 by Ryan.Vance
Copying //UE4/Partner-Microsoft-XR to Dev-VR (//UE4/Dev-VR)
Windows mixed reality integration.
Disabled by default
Change 4289812 by Jason.Bestimt
#DEV-VR - Fix for non-unity build issue with windows header
Change 4296399 by Jason.Bestimt
RSync fixes for xml files
#JIRA: UE-62994
Change 4296679 by Jason.Bestimt
#DEV-VR - Fixing remote iOS compile issue with BP projects that require plugins
#JIRA: UE-62967
[CL 4299100 by Jason Bestimt in Main branch]
2018-08-17 19:56:07 -04:00
SendControllerButtonEvent ( MessageHandler , source , key , pressState ) ;
}
// Touchpad touch
2019-06-10 12:22:13 -04:00
pressState = FWindowsMixedRealityStatics : : GetPressState ( hand , HMDInputControllerButtons : : TouchpadIsTouched ) ;
if ( pressState ! = HMDInputPressState : : NotApplicable )
Copying //UE4/Dev-VR to //UE4/Dev-Main (Source: //UE4/Dev-VR @ 4296730)
#lockdown Nick.Penwarden
============================
MAJOR FEATURES & CHANGES
============================
Change 3775128 by Nick.Atamas
Merging //UE4/Partner-Google-VR @ CL 3770408 to Dev-VR (//UE4/Dev-VR)
Change 4166311 by Jason.Bestimt
#DEV-VR - Merge from //UE4/Dev-MagicLeap/... @ CL 4136411
Change 4185551 by Joe.Graf
Added support to query and specify the desired video format for an AR session
Change 4269190 by Ethan.Geller
[Dev-VR] #jira UE-62644 Deescalate resampling logs to display, and make sure that Lumin does not get Resampling settings from Android runtime settings.
Change 4269386 by Ryan.Vance
#jira UE-62274
We need to recompute the view frustum and related distances if the projection matrix is changed.
Change 4269401 by Ryan.Vance
#jira UE-62155
Debug canvas layer fixes
Change 4270710 by Chance.Ivey
Merging //UE4/Dev-Partner-MagicLeap-4.20 to Dev-VR (//UE4/Dev-VR)
- 4262963
- 4261100
- 4261103
- 4265565
Change 4270822 by Ryan.Vance
#jira UE-61462
Work around for csm shadow culling bug on Lumiun
Change 4271396 by Jason.Bestimt
#DEV-VR - Saving off original MLSDK variable for future editor "restarts" within the same process
#JIRA: UE-58634
Change 4271402 by Jason.Bestimt
#DEV-VR - Making bUseMobileRendering non-editable for binary builds
#JIRA: UE-60956
Change 4271454 by Jason.Bestimt
#DEV-VR - Integrating CL 4239939, 4236178 and 4269702 from Partners-Google-VR
Change 4272387 by Ryan.Vance
#jira UEVR-1281
Oculus 1.28 Plugin changes
Change 4273410 by Jason.Bestimt
#DEV-VR - Fixing MagicLeapSDK Settings to be globaluserconfig (by removing the defaultconfig).
#JIRA: UE-62092
Change 4273929 by Ryan.Vance
#jira UE-62744
Fixing missing includes..
Change 4274147 by Kyle.Fung
Round-robin occlusion queries for stereoscopic rendering
With the vr.RoundRobinOcclusion flag turned on, each frame will only render occlusion queries for one eye with an alternating scheme (ie odd frames only left eye, even frames only right eye).
Additionally, the interface for class FPrimitiveOcclusionHistory has been changed along with a slight modification in its implementation. With round-robin occlusion, when extracing history entries we perform a search through the entire history to look for the oldest entry in a primitive's occlusion history.
#jira UEVR-1289
Change 4274206 by Kyle.Fung
Fixed some compiler warnings
#jira UEVR-1289
Change 4275212 by Jason.Bestimt
#DEV-VR - Fixing CIS error (forcing value to bool)
Change 4275973 by Jason.Bestimt
#DEV-VR - Merging CL 4275879 from Partner-Google-VR
GoogleVR 1.170 Release Update.
- Removed reference to GetHMDDeviceType.
- Updated to final version of SDK libraries.
Change 4276154 by Jason.Bestimt
#DEV-VR - fix for CIS warning about PngPtr being used before it is checked
Change 4277171 by Jeff.Fisher
UE-62399 Graphical corruption when opening the debug console
-Switched from the fast hardware clear to the slower shader clear because the slower one works. Perhaps a better fix exists that would make the faster clear work? Costs 60us when debug ui is up, but only when rendering debug to a stereo layer (vr/ar).
#jira UE-62399
#review-4277026
Change 4277633 by Joe.Conley
#jira UE-54565 - "Packaged game/Editor with Stereo Layers crashes when exiting game through steam VR overlay"
Don't call GetStereoLayers if stereo is not enabled.
Change 4277723 by Ryan.Vance
#jira UE-62776
Cleaning up questionable partner code found by SA.
I'm pretty confident the SA warning is a false positive, but there was a lot to fix here regardless.
Change 4280289 by Joe.Graf
Added some "Ignored by ARCore" comments Google requested
Change 4280479 by Joe.Graf
Fixed a member copy step in AppleARKitFrame::operator= that Wanghao reported
Change 4280824 by Jason.Bestimt
#DEV-VR - removing stale comment about ML SDK Settings using defaultengine.ini
Change 4281117 by Jason.Bestimt
#DEV-VR - Removing warnings on LUMIN from trying to load missing modules
#JIRA: UE-62748
Change 4281514 by Jason.Bestimt
#DEV-VR - Moving FunctionalTesting dependency under bCompileAgainstEngine
Change 4281847 by Joe.Graf
Added a UPL file to AppleARKit that modifies the plist to include the requirement of ARKit and request for camera access
#jira: UE-60050, UE-62837
Change 4281945 by Joe.Graf
Removed the ensures from the ARBlueprintLibrary code since the code handles the failure cases properly
#jira: UE-61845, UE-61846
Change 4282098 by Ethan.Geller
#jira UE-62863 fix audio on lumin #rb none
Change 4283974 by Joe.Graf
Deprecated bIsTracked on tracked images and face geo per Google API reunification feedback
Change 4284118 by Jason.Bestimt
#DEV-VR - Moving FunctionalTest dependency to be both non-shipping and CompileAgainstEngine. Allowing FunctionalTesting to be compiled in binary build
Change 4285339 by Ethan.Geller
#jira UE-62087 Whitelist AudioCapture module for mac while not whitelisting the AudioCaptureEditor module, which should only work on Windows.
Change 4286024 by Ryan.Vance
Copying //UE4/Partner-Microsoft-XR to Dev-VR (//UE4/Dev-VR)
Windows mixed reality integration.
Disabled by default
Change 4289812 by Jason.Bestimt
#DEV-VR - Fix for non-unity build issue with windows header
Change 4296399 by Jason.Bestimt
RSync fixes for xml files
#JIRA: UE-62994
Change 4296679 by Jason.Bestimt
#DEV-VR - Fixing remote iOS compile issue with BP projects that require plugins
#JIRA: UE-62967
[CL 4299100 by Jason Bestimt in Main branch]
2018-08-17 19:56:07 -04:00
{
2019-06-10 12:22:13 -04:00
key = ( hand = = HMDHand : : Left ) ?
2019-11-01 15:43:44 -04:00
EKeys : : MixedReality_Left_Trackpad_Touch :
EKeys : : MixedReality_Right_Trackpad_Touch ;
Copying //UE4/Dev-VR to //UE4/Dev-Main (Source: //UE4/Dev-VR @ 4296730)
#lockdown Nick.Penwarden
============================
MAJOR FEATURES & CHANGES
============================
Change 3775128 by Nick.Atamas
Merging //UE4/Partner-Google-VR @ CL 3770408 to Dev-VR (//UE4/Dev-VR)
Change 4166311 by Jason.Bestimt
#DEV-VR - Merge from //UE4/Dev-MagicLeap/... @ CL 4136411
Change 4185551 by Joe.Graf
Added support to query and specify the desired video format for an AR session
Change 4269190 by Ethan.Geller
[Dev-VR] #jira UE-62644 Deescalate resampling logs to display, and make sure that Lumin does not get Resampling settings from Android runtime settings.
Change 4269386 by Ryan.Vance
#jira UE-62274
We need to recompute the view frustum and related distances if the projection matrix is changed.
Change 4269401 by Ryan.Vance
#jira UE-62155
Debug canvas layer fixes
Change 4270710 by Chance.Ivey
Merging //UE4/Dev-Partner-MagicLeap-4.20 to Dev-VR (//UE4/Dev-VR)
- 4262963
- 4261100
- 4261103
- 4265565
Change 4270822 by Ryan.Vance
#jira UE-61462
Work around for csm shadow culling bug on Lumiun
Change 4271396 by Jason.Bestimt
#DEV-VR - Saving off original MLSDK variable for future editor "restarts" within the same process
#JIRA: UE-58634
Change 4271402 by Jason.Bestimt
#DEV-VR - Making bUseMobileRendering non-editable for binary builds
#JIRA: UE-60956
Change 4271454 by Jason.Bestimt
#DEV-VR - Integrating CL 4239939, 4236178 and 4269702 from Partners-Google-VR
Change 4272387 by Ryan.Vance
#jira UEVR-1281
Oculus 1.28 Plugin changes
Change 4273410 by Jason.Bestimt
#DEV-VR - Fixing MagicLeapSDK Settings to be globaluserconfig (by removing the defaultconfig).
#JIRA: UE-62092
Change 4273929 by Ryan.Vance
#jira UE-62744
Fixing missing includes..
Change 4274147 by Kyle.Fung
Round-robin occlusion queries for stereoscopic rendering
With the vr.RoundRobinOcclusion flag turned on, each frame will only render occlusion queries for one eye with an alternating scheme (ie odd frames only left eye, even frames only right eye).
Additionally, the interface for class FPrimitiveOcclusionHistory has been changed along with a slight modification in its implementation. With round-robin occlusion, when extracing history entries we perform a search through the entire history to look for the oldest entry in a primitive's occlusion history.
#jira UEVR-1289
Change 4274206 by Kyle.Fung
Fixed some compiler warnings
#jira UEVR-1289
Change 4275212 by Jason.Bestimt
#DEV-VR - Fixing CIS error (forcing value to bool)
Change 4275973 by Jason.Bestimt
#DEV-VR - Merging CL 4275879 from Partner-Google-VR
GoogleVR 1.170 Release Update.
- Removed reference to GetHMDDeviceType.
- Updated to final version of SDK libraries.
Change 4276154 by Jason.Bestimt
#DEV-VR - fix for CIS warning about PngPtr being used before it is checked
Change 4277171 by Jeff.Fisher
UE-62399 Graphical corruption when opening the debug console
-Switched from the fast hardware clear to the slower shader clear because the slower one works. Perhaps a better fix exists that would make the faster clear work? Costs 60us when debug ui is up, but only when rendering debug to a stereo layer (vr/ar).
#jira UE-62399
#review-4277026
Change 4277633 by Joe.Conley
#jira UE-54565 - "Packaged game/Editor with Stereo Layers crashes when exiting game through steam VR overlay"
Don't call GetStereoLayers if stereo is not enabled.
Change 4277723 by Ryan.Vance
#jira UE-62776
Cleaning up questionable partner code found by SA.
I'm pretty confident the SA warning is a false positive, but there was a lot to fix here regardless.
Change 4280289 by Joe.Graf
Added some "Ignored by ARCore" comments Google requested
Change 4280479 by Joe.Graf
Fixed a member copy step in AppleARKitFrame::operator= that Wanghao reported
Change 4280824 by Jason.Bestimt
#DEV-VR - removing stale comment about ML SDK Settings using defaultengine.ini
Change 4281117 by Jason.Bestimt
#DEV-VR - Removing warnings on LUMIN from trying to load missing modules
#JIRA: UE-62748
Change 4281514 by Jason.Bestimt
#DEV-VR - Moving FunctionalTesting dependency under bCompileAgainstEngine
Change 4281847 by Joe.Graf
Added a UPL file to AppleARKit that modifies the plist to include the requirement of ARKit and request for camera access
#jira: UE-60050, UE-62837
Change 4281945 by Joe.Graf
Removed the ensures from the ARBlueprintLibrary code since the code handles the failure cases properly
#jira: UE-61845, UE-61846
Change 4282098 by Ethan.Geller
#jira UE-62863 fix audio on lumin #rb none
Change 4283974 by Joe.Graf
Deprecated bIsTracked on tracked images and face geo per Google API reunification feedback
Change 4284118 by Jason.Bestimt
#DEV-VR - Moving FunctionalTest dependency to be both non-shipping and CompileAgainstEngine. Allowing FunctionalTesting to be compiled in binary build
Change 4285339 by Ethan.Geller
#jira UE-62087 Whitelist AudioCapture module for mac while not whitelisting the AudioCaptureEditor module, which should only work on Windows.
Change 4286024 by Ryan.Vance
Copying //UE4/Partner-Microsoft-XR to Dev-VR (//UE4/Dev-VR)
Windows mixed reality integration.
Disabled by default
Change 4289812 by Jason.Bestimt
#DEV-VR - Fix for non-unity build issue with windows header
Change 4296399 by Jason.Bestimt
RSync fixes for xml files
#JIRA: UE-62994
Change 4296679 by Jason.Bestimt
#DEV-VR - Fixing remote iOS compile issue with BP projects that require plugins
#JIRA: UE-62967
[CL 4299100 by Jason Bestimt in Main branch]
2018-08-17 19:56:07 -04:00
2019-11-01 15:43:44 -04:00
if ( key = = EKeys : : MixedReality_Left_Trackpad_Touch )
Copying //UE4/Dev-VR to //UE4/Dev-Main (Source: //UE4/Dev-VR @ 4296730)
#lockdown Nick.Penwarden
============================
MAJOR FEATURES & CHANGES
============================
Change 3775128 by Nick.Atamas
Merging //UE4/Partner-Google-VR @ CL 3770408 to Dev-VR (//UE4/Dev-VR)
Change 4166311 by Jason.Bestimt
#DEV-VR - Merge from //UE4/Dev-MagicLeap/... @ CL 4136411
Change 4185551 by Joe.Graf
Added support to query and specify the desired video format for an AR session
Change 4269190 by Ethan.Geller
[Dev-VR] #jira UE-62644 Deescalate resampling logs to display, and make sure that Lumin does not get Resampling settings from Android runtime settings.
Change 4269386 by Ryan.Vance
#jira UE-62274
We need to recompute the view frustum and related distances if the projection matrix is changed.
Change 4269401 by Ryan.Vance
#jira UE-62155
Debug canvas layer fixes
Change 4270710 by Chance.Ivey
Merging //UE4/Dev-Partner-MagicLeap-4.20 to Dev-VR (//UE4/Dev-VR)
- 4262963
- 4261100
- 4261103
- 4265565
Change 4270822 by Ryan.Vance
#jira UE-61462
Work around for csm shadow culling bug on Lumiun
Change 4271396 by Jason.Bestimt
#DEV-VR - Saving off original MLSDK variable for future editor "restarts" within the same process
#JIRA: UE-58634
Change 4271402 by Jason.Bestimt
#DEV-VR - Making bUseMobileRendering non-editable for binary builds
#JIRA: UE-60956
Change 4271454 by Jason.Bestimt
#DEV-VR - Integrating CL 4239939, 4236178 and 4269702 from Partners-Google-VR
Change 4272387 by Ryan.Vance
#jira UEVR-1281
Oculus 1.28 Plugin changes
Change 4273410 by Jason.Bestimt
#DEV-VR - Fixing MagicLeapSDK Settings to be globaluserconfig (by removing the defaultconfig).
#JIRA: UE-62092
Change 4273929 by Ryan.Vance
#jira UE-62744
Fixing missing includes..
Change 4274147 by Kyle.Fung
Round-robin occlusion queries for stereoscopic rendering
With the vr.RoundRobinOcclusion flag turned on, each frame will only render occlusion queries for one eye with an alternating scheme (ie odd frames only left eye, even frames only right eye).
Additionally, the interface for class FPrimitiveOcclusionHistory has been changed along with a slight modification in its implementation. With round-robin occlusion, when extracing history entries we perform a search through the entire history to look for the oldest entry in a primitive's occlusion history.
#jira UEVR-1289
Change 4274206 by Kyle.Fung
Fixed some compiler warnings
#jira UEVR-1289
Change 4275212 by Jason.Bestimt
#DEV-VR - Fixing CIS error (forcing value to bool)
Change 4275973 by Jason.Bestimt
#DEV-VR - Merging CL 4275879 from Partner-Google-VR
GoogleVR 1.170 Release Update.
- Removed reference to GetHMDDeviceType.
- Updated to final version of SDK libraries.
Change 4276154 by Jason.Bestimt
#DEV-VR - fix for CIS warning about PngPtr being used before it is checked
Change 4277171 by Jeff.Fisher
UE-62399 Graphical corruption when opening the debug console
-Switched from the fast hardware clear to the slower shader clear because the slower one works. Perhaps a better fix exists that would make the faster clear work? Costs 60us when debug ui is up, but only when rendering debug to a stereo layer (vr/ar).
#jira UE-62399
#review-4277026
Change 4277633 by Joe.Conley
#jira UE-54565 - "Packaged game/Editor with Stereo Layers crashes when exiting game through steam VR overlay"
Don't call GetStereoLayers if stereo is not enabled.
Change 4277723 by Ryan.Vance
#jira UE-62776
Cleaning up questionable partner code found by SA.
I'm pretty confident the SA warning is a false positive, but there was a lot to fix here regardless.
Change 4280289 by Joe.Graf
Added some "Ignored by ARCore" comments Google requested
Change 4280479 by Joe.Graf
Fixed a member copy step in AppleARKitFrame::operator= that Wanghao reported
Change 4280824 by Jason.Bestimt
#DEV-VR - removing stale comment about ML SDK Settings using defaultengine.ini
Change 4281117 by Jason.Bestimt
#DEV-VR - Removing warnings on LUMIN from trying to load missing modules
#JIRA: UE-62748
Change 4281514 by Jason.Bestimt
#DEV-VR - Moving FunctionalTesting dependency under bCompileAgainstEngine
Change 4281847 by Joe.Graf
Added a UPL file to AppleARKit that modifies the plist to include the requirement of ARKit and request for camera access
#jira: UE-60050, UE-62837
Change 4281945 by Joe.Graf
Removed the ensures from the ARBlueprintLibrary code since the code handles the failure cases properly
#jira: UE-61845, UE-61846
Change 4282098 by Ethan.Geller
#jira UE-62863 fix audio on lumin #rb none
Change 4283974 by Joe.Graf
Deprecated bIsTracked on tracked images and face geo per Google API reunification feedback
Change 4284118 by Jason.Bestimt
#DEV-VR - Moving FunctionalTest dependency to be both non-shipping and CompileAgainstEngine. Allowing FunctionalTesting to be compiled in binary build
Change 4285339 by Ethan.Geller
#jira UE-62087 Whitelist AudioCapture module for mac while not whitelisting the AudioCaptureEditor module, which should only work on Windows.
Change 4286024 by Ryan.Vance
Copying //UE4/Partner-Microsoft-XR to Dev-VR (//UE4/Dev-VR)
Windows mixed reality integration.
Disabled by default
Change 4289812 by Jason.Bestimt
#DEV-VR - Fix for non-unity build issue with windows header
Change 4296399 by Jason.Bestimt
RSync fixes for xml files
#JIRA: UE-62994
Change 4296679 by Jason.Bestimt
#DEV-VR - Fixing remote iOS compile issue with BP projects that require plugins
#JIRA: UE-62967
[CL 4299100 by Jason Bestimt in Main branch]
2018-08-17 19:56:07 -04:00
{
2019-06-10 12:22:13 -04:00
isLeftTouchpadTouched = pressState = = HMDInputPressState : : Pressed ;
Copying //UE4/Dev-VR to //UE4/Dev-Main (Source: //UE4/Dev-VR @ 4296730)
#lockdown Nick.Penwarden
============================
MAJOR FEATURES & CHANGES
============================
Change 3775128 by Nick.Atamas
Merging //UE4/Partner-Google-VR @ CL 3770408 to Dev-VR (//UE4/Dev-VR)
Change 4166311 by Jason.Bestimt
#DEV-VR - Merge from //UE4/Dev-MagicLeap/... @ CL 4136411
Change 4185551 by Joe.Graf
Added support to query and specify the desired video format for an AR session
Change 4269190 by Ethan.Geller
[Dev-VR] #jira UE-62644 Deescalate resampling logs to display, and make sure that Lumin does not get Resampling settings from Android runtime settings.
Change 4269386 by Ryan.Vance
#jira UE-62274
We need to recompute the view frustum and related distances if the projection matrix is changed.
Change 4269401 by Ryan.Vance
#jira UE-62155
Debug canvas layer fixes
Change 4270710 by Chance.Ivey
Merging //UE4/Dev-Partner-MagicLeap-4.20 to Dev-VR (//UE4/Dev-VR)
- 4262963
- 4261100
- 4261103
- 4265565
Change 4270822 by Ryan.Vance
#jira UE-61462
Work around for csm shadow culling bug on Lumiun
Change 4271396 by Jason.Bestimt
#DEV-VR - Saving off original MLSDK variable for future editor "restarts" within the same process
#JIRA: UE-58634
Change 4271402 by Jason.Bestimt
#DEV-VR - Making bUseMobileRendering non-editable for binary builds
#JIRA: UE-60956
Change 4271454 by Jason.Bestimt
#DEV-VR - Integrating CL 4239939, 4236178 and 4269702 from Partners-Google-VR
Change 4272387 by Ryan.Vance
#jira UEVR-1281
Oculus 1.28 Plugin changes
Change 4273410 by Jason.Bestimt
#DEV-VR - Fixing MagicLeapSDK Settings to be globaluserconfig (by removing the defaultconfig).
#JIRA: UE-62092
Change 4273929 by Ryan.Vance
#jira UE-62744
Fixing missing includes..
Change 4274147 by Kyle.Fung
Round-robin occlusion queries for stereoscopic rendering
With the vr.RoundRobinOcclusion flag turned on, each frame will only render occlusion queries for one eye with an alternating scheme (ie odd frames only left eye, even frames only right eye).
Additionally, the interface for class FPrimitiveOcclusionHistory has been changed along with a slight modification in its implementation. With round-robin occlusion, when extracing history entries we perform a search through the entire history to look for the oldest entry in a primitive's occlusion history.
#jira UEVR-1289
Change 4274206 by Kyle.Fung
Fixed some compiler warnings
#jira UEVR-1289
Change 4275212 by Jason.Bestimt
#DEV-VR - Fixing CIS error (forcing value to bool)
Change 4275973 by Jason.Bestimt
#DEV-VR - Merging CL 4275879 from Partner-Google-VR
GoogleVR 1.170 Release Update.
- Removed reference to GetHMDDeviceType.
- Updated to final version of SDK libraries.
Change 4276154 by Jason.Bestimt
#DEV-VR - fix for CIS warning about PngPtr being used before it is checked
Change 4277171 by Jeff.Fisher
UE-62399 Graphical corruption when opening the debug console
-Switched from the fast hardware clear to the slower shader clear because the slower one works. Perhaps a better fix exists that would make the faster clear work? Costs 60us when debug ui is up, but only when rendering debug to a stereo layer (vr/ar).
#jira UE-62399
#review-4277026
Change 4277633 by Joe.Conley
#jira UE-54565 - "Packaged game/Editor with Stereo Layers crashes when exiting game through steam VR overlay"
Don't call GetStereoLayers if stereo is not enabled.
Change 4277723 by Ryan.Vance
#jira UE-62776
Cleaning up questionable partner code found by SA.
I'm pretty confident the SA warning is a false positive, but there was a lot to fix here regardless.
Change 4280289 by Joe.Graf
Added some "Ignored by ARCore" comments Google requested
Change 4280479 by Joe.Graf
Fixed a member copy step in AppleARKitFrame::operator= that Wanghao reported
Change 4280824 by Jason.Bestimt
#DEV-VR - removing stale comment about ML SDK Settings using defaultengine.ini
Change 4281117 by Jason.Bestimt
#DEV-VR - Removing warnings on LUMIN from trying to load missing modules
#JIRA: UE-62748
Change 4281514 by Jason.Bestimt
#DEV-VR - Moving FunctionalTesting dependency under bCompileAgainstEngine
Change 4281847 by Joe.Graf
Added a UPL file to AppleARKit that modifies the plist to include the requirement of ARKit and request for camera access
#jira: UE-60050, UE-62837
Change 4281945 by Joe.Graf
Removed the ensures from the ARBlueprintLibrary code since the code handles the failure cases properly
#jira: UE-61845, UE-61846
Change 4282098 by Ethan.Geller
#jira UE-62863 fix audio on lumin #rb none
Change 4283974 by Joe.Graf
Deprecated bIsTracked on tracked images and face geo per Google API reunification feedback
Change 4284118 by Jason.Bestimt
#DEV-VR - Moving FunctionalTest dependency to be both non-shipping and CompileAgainstEngine. Allowing FunctionalTesting to be compiled in binary build
Change 4285339 by Ethan.Geller
#jira UE-62087 Whitelist AudioCapture module for mac while not whitelisting the AudioCaptureEditor module, which should only work on Windows.
Change 4286024 by Ryan.Vance
Copying //UE4/Partner-Microsoft-XR to Dev-VR (//UE4/Dev-VR)
Windows mixed reality integration.
Disabled by default
Change 4289812 by Jason.Bestimt
#DEV-VR - Fix for non-unity build issue with windows header
Change 4296399 by Jason.Bestimt
RSync fixes for xml files
#JIRA: UE-62994
Change 4296679 by Jason.Bestimt
#DEV-VR - Fixing remote iOS compile issue with BP projects that require plugins
#JIRA: UE-62967
[CL 4299100 by Jason Bestimt in Main branch]
2018-08-17 19:56:07 -04:00
}
2019-11-01 15:43:44 -04:00
else if ( key = = EKeys : : MixedReality_Right_Trackpad_Touch )
Copying //UE4/Dev-VR to //UE4/Dev-Main (Source: //UE4/Dev-VR @ 4296730)
#lockdown Nick.Penwarden
============================
MAJOR FEATURES & CHANGES
============================
Change 3775128 by Nick.Atamas
Merging //UE4/Partner-Google-VR @ CL 3770408 to Dev-VR (//UE4/Dev-VR)
Change 4166311 by Jason.Bestimt
#DEV-VR - Merge from //UE4/Dev-MagicLeap/... @ CL 4136411
Change 4185551 by Joe.Graf
Added support to query and specify the desired video format for an AR session
Change 4269190 by Ethan.Geller
[Dev-VR] #jira UE-62644 Deescalate resampling logs to display, and make sure that Lumin does not get Resampling settings from Android runtime settings.
Change 4269386 by Ryan.Vance
#jira UE-62274
We need to recompute the view frustum and related distances if the projection matrix is changed.
Change 4269401 by Ryan.Vance
#jira UE-62155
Debug canvas layer fixes
Change 4270710 by Chance.Ivey
Merging //UE4/Dev-Partner-MagicLeap-4.20 to Dev-VR (//UE4/Dev-VR)
- 4262963
- 4261100
- 4261103
- 4265565
Change 4270822 by Ryan.Vance
#jira UE-61462
Work around for csm shadow culling bug on Lumiun
Change 4271396 by Jason.Bestimt
#DEV-VR - Saving off original MLSDK variable for future editor "restarts" within the same process
#JIRA: UE-58634
Change 4271402 by Jason.Bestimt
#DEV-VR - Making bUseMobileRendering non-editable for binary builds
#JIRA: UE-60956
Change 4271454 by Jason.Bestimt
#DEV-VR - Integrating CL 4239939, 4236178 and 4269702 from Partners-Google-VR
Change 4272387 by Ryan.Vance
#jira UEVR-1281
Oculus 1.28 Plugin changes
Change 4273410 by Jason.Bestimt
#DEV-VR - Fixing MagicLeapSDK Settings to be globaluserconfig (by removing the defaultconfig).
#JIRA: UE-62092
Change 4273929 by Ryan.Vance
#jira UE-62744
Fixing missing includes..
Change 4274147 by Kyle.Fung
Round-robin occlusion queries for stereoscopic rendering
With the vr.RoundRobinOcclusion flag turned on, each frame will only render occlusion queries for one eye with an alternating scheme (ie odd frames only left eye, even frames only right eye).
Additionally, the interface for class FPrimitiveOcclusionHistory has been changed along with a slight modification in its implementation. With round-robin occlusion, when extracing history entries we perform a search through the entire history to look for the oldest entry in a primitive's occlusion history.
#jira UEVR-1289
Change 4274206 by Kyle.Fung
Fixed some compiler warnings
#jira UEVR-1289
Change 4275212 by Jason.Bestimt
#DEV-VR - Fixing CIS error (forcing value to bool)
Change 4275973 by Jason.Bestimt
#DEV-VR - Merging CL 4275879 from Partner-Google-VR
GoogleVR 1.170 Release Update.
- Removed reference to GetHMDDeviceType.
- Updated to final version of SDK libraries.
Change 4276154 by Jason.Bestimt
#DEV-VR - fix for CIS warning about PngPtr being used before it is checked
Change 4277171 by Jeff.Fisher
UE-62399 Graphical corruption when opening the debug console
-Switched from the fast hardware clear to the slower shader clear because the slower one works. Perhaps a better fix exists that would make the faster clear work? Costs 60us when debug ui is up, but only when rendering debug to a stereo layer (vr/ar).
#jira UE-62399
#review-4277026
Change 4277633 by Joe.Conley
#jira UE-54565 - "Packaged game/Editor with Stereo Layers crashes when exiting game through steam VR overlay"
Don't call GetStereoLayers if stereo is not enabled.
Change 4277723 by Ryan.Vance
#jira UE-62776
Cleaning up questionable partner code found by SA.
I'm pretty confident the SA warning is a false positive, but there was a lot to fix here regardless.
Change 4280289 by Joe.Graf
Added some "Ignored by ARCore" comments Google requested
Change 4280479 by Joe.Graf
Fixed a member copy step in AppleARKitFrame::operator= that Wanghao reported
Change 4280824 by Jason.Bestimt
#DEV-VR - removing stale comment about ML SDK Settings using defaultengine.ini
Change 4281117 by Jason.Bestimt
#DEV-VR - Removing warnings on LUMIN from trying to load missing modules
#JIRA: UE-62748
Change 4281514 by Jason.Bestimt
#DEV-VR - Moving FunctionalTesting dependency under bCompileAgainstEngine
Change 4281847 by Joe.Graf
Added a UPL file to AppleARKit that modifies the plist to include the requirement of ARKit and request for camera access
#jira: UE-60050, UE-62837
Change 4281945 by Joe.Graf
Removed the ensures from the ARBlueprintLibrary code since the code handles the failure cases properly
#jira: UE-61845, UE-61846
Change 4282098 by Ethan.Geller
#jira UE-62863 fix audio on lumin #rb none
Change 4283974 by Joe.Graf
Deprecated bIsTracked on tracked images and face geo per Google API reunification feedback
Change 4284118 by Jason.Bestimt
#DEV-VR - Moving FunctionalTest dependency to be both non-shipping and CompileAgainstEngine. Allowing FunctionalTesting to be compiled in binary build
Change 4285339 by Ethan.Geller
#jira UE-62087 Whitelist AudioCapture module for mac while not whitelisting the AudioCaptureEditor module, which should only work on Windows.
Change 4286024 by Ryan.Vance
Copying //UE4/Partner-Microsoft-XR to Dev-VR (//UE4/Dev-VR)
Windows mixed reality integration.
Disabled by default
Change 4289812 by Jason.Bestimt
#DEV-VR - Fix for non-unity build issue with windows header
Change 4296399 by Jason.Bestimt
RSync fixes for xml files
#JIRA: UE-62994
Change 4296679 by Jason.Bestimt
#DEV-VR - Fixing remote iOS compile issue with BP projects that require plugins
#JIRA: UE-62967
[CL 4299100 by Jason Bestimt in Main branch]
2018-08-17 19:56:07 -04:00
{
2019-06-10 12:22:13 -04:00
isRightTouchpadTouched = pressState = = HMDInputPressState : : Pressed ;
Copying //UE4/Dev-VR to //UE4/Dev-Main (Source: //UE4/Dev-VR @ 4296730)
#lockdown Nick.Penwarden
============================
MAJOR FEATURES & CHANGES
============================
Change 3775128 by Nick.Atamas
Merging //UE4/Partner-Google-VR @ CL 3770408 to Dev-VR (//UE4/Dev-VR)
Change 4166311 by Jason.Bestimt
#DEV-VR - Merge from //UE4/Dev-MagicLeap/... @ CL 4136411
Change 4185551 by Joe.Graf
Added support to query and specify the desired video format for an AR session
Change 4269190 by Ethan.Geller
[Dev-VR] #jira UE-62644 Deescalate resampling logs to display, and make sure that Lumin does not get Resampling settings from Android runtime settings.
Change 4269386 by Ryan.Vance
#jira UE-62274
We need to recompute the view frustum and related distances if the projection matrix is changed.
Change 4269401 by Ryan.Vance
#jira UE-62155
Debug canvas layer fixes
Change 4270710 by Chance.Ivey
Merging //UE4/Dev-Partner-MagicLeap-4.20 to Dev-VR (//UE4/Dev-VR)
- 4262963
- 4261100
- 4261103
- 4265565
Change 4270822 by Ryan.Vance
#jira UE-61462
Work around for csm shadow culling bug on Lumiun
Change 4271396 by Jason.Bestimt
#DEV-VR - Saving off original MLSDK variable for future editor "restarts" within the same process
#JIRA: UE-58634
Change 4271402 by Jason.Bestimt
#DEV-VR - Making bUseMobileRendering non-editable for binary builds
#JIRA: UE-60956
Change 4271454 by Jason.Bestimt
#DEV-VR - Integrating CL 4239939, 4236178 and 4269702 from Partners-Google-VR
Change 4272387 by Ryan.Vance
#jira UEVR-1281
Oculus 1.28 Plugin changes
Change 4273410 by Jason.Bestimt
#DEV-VR - Fixing MagicLeapSDK Settings to be globaluserconfig (by removing the defaultconfig).
#JIRA: UE-62092
Change 4273929 by Ryan.Vance
#jira UE-62744
Fixing missing includes..
Change 4274147 by Kyle.Fung
Round-robin occlusion queries for stereoscopic rendering
With the vr.RoundRobinOcclusion flag turned on, each frame will only render occlusion queries for one eye with an alternating scheme (ie odd frames only left eye, even frames only right eye).
Additionally, the interface for class FPrimitiveOcclusionHistory has been changed along with a slight modification in its implementation. With round-robin occlusion, when extracing history entries we perform a search through the entire history to look for the oldest entry in a primitive's occlusion history.
#jira UEVR-1289
Change 4274206 by Kyle.Fung
Fixed some compiler warnings
#jira UEVR-1289
Change 4275212 by Jason.Bestimt
#DEV-VR - Fixing CIS error (forcing value to bool)
Change 4275973 by Jason.Bestimt
#DEV-VR - Merging CL 4275879 from Partner-Google-VR
GoogleVR 1.170 Release Update.
- Removed reference to GetHMDDeviceType.
- Updated to final version of SDK libraries.
Change 4276154 by Jason.Bestimt
#DEV-VR - fix for CIS warning about PngPtr being used before it is checked
Change 4277171 by Jeff.Fisher
UE-62399 Graphical corruption when opening the debug console
-Switched from the fast hardware clear to the slower shader clear because the slower one works. Perhaps a better fix exists that would make the faster clear work? Costs 60us when debug ui is up, but only when rendering debug to a stereo layer (vr/ar).
#jira UE-62399
#review-4277026
Change 4277633 by Joe.Conley
#jira UE-54565 - "Packaged game/Editor with Stereo Layers crashes when exiting game through steam VR overlay"
Don't call GetStereoLayers if stereo is not enabled.
Change 4277723 by Ryan.Vance
#jira UE-62776
Cleaning up questionable partner code found by SA.
I'm pretty confident the SA warning is a false positive, but there was a lot to fix here regardless.
Change 4280289 by Joe.Graf
Added some "Ignored by ARCore" comments Google requested
Change 4280479 by Joe.Graf
Fixed a member copy step in AppleARKitFrame::operator= that Wanghao reported
Change 4280824 by Jason.Bestimt
#DEV-VR - removing stale comment about ML SDK Settings using defaultengine.ini
Change 4281117 by Jason.Bestimt
#DEV-VR - Removing warnings on LUMIN from trying to load missing modules
#JIRA: UE-62748
Change 4281514 by Jason.Bestimt
#DEV-VR - Moving FunctionalTesting dependency under bCompileAgainstEngine
Change 4281847 by Joe.Graf
Added a UPL file to AppleARKit that modifies the plist to include the requirement of ARKit and request for camera access
#jira: UE-60050, UE-62837
Change 4281945 by Joe.Graf
Removed the ensures from the ARBlueprintLibrary code since the code handles the failure cases properly
#jira: UE-61845, UE-61846
Change 4282098 by Ethan.Geller
#jira UE-62863 fix audio on lumin #rb none
Change 4283974 by Joe.Graf
Deprecated bIsTracked on tracked images and face geo per Google API reunification feedback
Change 4284118 by Jason.Bestimt
#DEV-VR - Moving FunctionalTest dependency to be both non-shipping and CompileAgainstEngine. Allowing FunctionalTesting to be compiled in binary build
Change 4285339 by Ethan.Geller
#jira UE-62087 Whitelist AudioCapture module for mac while not whitelisting the AudioCaptureEditor module, which should only work on Windows.
Change 4286024 by Ryan.Vance
Copying //UE4/Partner-Microsoft-XR to Dev-VR (//UE4/Dev-VR)
Windows mixed reality integration.
Disabled by default
Change 4289812 by Jason.Bestimt
#DEV-VR - Fix for non-unity build issue with windows header
Change 4296399 by Jason.Bestimt
RSync fixes for xml files
#JIRA: UE-62994
Change 4296679 by Jason.Bestimt
#DEV-VR - Fixing remote iOS compile issue with BP projects that require plugins
#JIRA: UE-62967
[CL 4299100 by Jason Bestimt in Main branch]
2018-08-17 19:56:07 -04:00
}
SendControllerButtonEvent ( MessageHandler , source , key , pressState ) ;
}
}
}
2019-01-28 16:31:25 -05:00
# endif
Copying //UE4/Dev-VR to //UE4/Dev-Main (Source: //UE4/Dev-VR @ 4296730)
#lockdown Nick.Penwarden
============================
MAJOR FEATURES & CHANGES
============================
Change 3775128 by Nick.Atamas
Merging //UE4/Partner-Google-VR @ CL 3770408 to Dev-VR (//UE4/Dev-VR)
Change 4166311 by Jason.Bestimt
#DEV-VR - Merge from //UE4/Dev-MagicLeap/... @ CL 4136411
Change 4185551 by Joe.Graf
Added support to query and specify the desired video format for an AR session
Change 4269190 by Ethan.Geller
[Dev-VR] #jira UE-62644 Deescalate resampling logs to display, and make sure that Lumin does not get Resampling settings from Android runtime settings.
Change 4269386 by Ryan.Vance
#jira UE-62274
We need to recompute the view frustum and related distances if the projection matrix is changed.
Change 4269401 by Ryan.Vance
#jira UE-62155
Debug canvas layer fixes
Change 4270710 by Chance.Ivey
Merging //UE4/Dev-Partner-MagicLeap-4.20 to Dev-VR (//UE4/Dev-VR)
- 4262963
- 4261100
- 4261103
- 4265565
Change 4270822 by Ryan.Vance
#jira UE-61462
Work around for csm shadow culling bug on Lumiun
Change 4271396 by Jason.Bestimt
#DEV-VR - Saving off original MLSDK variable for future editor "restarts" within the same process
#JIRA: UE-58634
Change 4271402 by Jason.Bestimt
#DEV-VR - Making bUseMobileRendering non-editable for binary builds
#JIRA: UE-60956
Change 4271454 by Jason.Bestimt
#DEV-VR - Integrating CL 4239939, 4236178 and 4269702 from Partners-Google-VR
Change 4272387 by Ryan.Vance
#jira UEVR-1281
Oculus 1.28 Plugin changes
Change 4273410 by Jason.Bestimt
#DEV-VR - Fixing MagicLeapSDK Settings to be globaluserconfig (by removing the defaultconfig).
#JIRA: UE-62092
Change 4273929 by Ryan.Vance
#jira UE-62744
Fixing missing includes..
Change 4274147 by Kyle.Fung
Round-robin occlusion queries for stereoscopic rendering
With the vr.RoundRobinOcclusion flag turned on, each frame will only render occlusion queries for one eye with an alternating scheme (ie odd frames only left eye, even frames only right eye).
Additionally, the interface for class FPrimitiveOcclusionHistory has been changed along with a slight modification in its implementation. With round-robin occlusion, when extracing history entries we perform a search through the entire history to look for the oldest entry in a primitive's occlusion history.
#jira UEVR-1289
Change 4274206 by Kyle.Fung
Fixed some compiler warnings
#jira UEVR-1289
Change 4275212 by Jason.Bestimt
#DEV-VR - Fixing CIS error (forcing value to bool)
Change 4275973 by Jason.Bestimt
#DEV-VR - Merging CL 4275879 from Partner-Google-VR
GoogleVR 1.170 Release Update.
- Removed reference to GetHMDDeviceType.
- Updated to final version of SDK libraries.
Change 4276154 by Jason.Bestimt
#DEV-VR - fix for CIS warning about PngPtr being used before it is checked
Change 4277171 by Jeff.Fisher
UE-62399 Graphical corruption when opening the debug console
-Switched from the fast hardware clear to the slower shader clear because the slower one works. Perhaps a better fix exists that would make the faster clear work? Costs 60us when debug ui is up, but only when rendering debug to a stereo layer (vr/ar).
#jira UE-62399
#review-4277026
Change 4277633 by Joe.Conley
#jira UE-54565 - "Packaged game/Editor with Stereo Layers crashes when exiting game through steam VR overlay"
Don't call GetStereoLayers if stereo is not enabled.
Change 4277723 by Ryan.Vance
#jira UE-62776
Cleaning up questionable partner code found by SA.
I'm pretty confident the SA warning is a false positive, but there was a lot to fix here regardless.
Change 4280289 by Joe.Graf
Added some "Ignored by ARCore" comments Google requested
Change 4280479 by Joe.Graf
Fixed a member copy step in AppleARKitFrame::operator= that Wanghao reported
Change 4280824 by Jason.Bestimt
#DEV-VR - removing stale comment about ML SDK Settings using defaultengine.ini
Change 4281117 by Jason.Bestimt
#DEV-VR - Removing warnings on LUMIN from trying to load missing modules
#JIRA: UE-62748
Change 4281514 by Jason.Bestimt
#DEV-VR - Moving FunctionalTesting dependency under bCompileAgainstEngine
Change 4281847 by Joe.Graf
Added a UPL file to AppleARKit that modifies the plist to include the requirement of ARKit and request for camera access
#jira: UE-60050, UE-62837
Change 4281945 by Joe.Graf
Removed the ensures from the ARBlueprintLibrary code since the code handles the failure cases properly
#jira: UE-61845, UE-61846
Change 4282098 by Ethan.Geller
#jira UE-62863 fix audio on lumin #rb none
Change 4283974 by Joe.Graf
Deprecated bIsTracked on tracked images and face geo per Google API reunification feedback
Change 4284118 by Jason.Bestimt
#DEV-VR - Moving FunctionalTest dependency to be both non-shipping and CompileAgainstEngine. Allowing FunctionalTesting to be compiled in binary build
Change 4285339 by Ethan.Geller
#jira UE-62087 Whitelist AudioCapture module for mac while not whitelisting the AudioCaptureEditor module, which should only work on Windows.
Change 4286024 by Ryan.Vance
Copying //UE4/Partner-Microsoft-XR to Dev-VR (//UE4/Dev-VR)
Windows mixed reality integration.
Disabled by default
Change 4289812 by Jason.Bestimt
#DEV-VR - Fix for non-unity build issue with windows header
Change 4296399 by Jason.Bestimt
RSync fixes for xml files
#JIRA: UE-62994
Change 4296679 by Jason.Bestimt
#DEV-VR - Fixing remote iOS compile issue with BP projects that require plugins
#JIRA: UE-62967
[CL 4299100 by Jason Bestimt in Main branch]
2018-08-17 19:56:07 -04:00
void FWindowsMixedRealitySpatialInput : : SetMessageHandler ( const TSharedRef < FGenericApplicationMessageHandler > & InMessageHandler )
{
MessageHandler = InMessageHandler ;
}
bool FWindowsMixedRealitySpatialInput : : Exec ( UWorld * InWorld , const TCHAR * Cmd , FOutputDevice & Ar )
{
2019-06-10 12:22:13 -04:00
if ( FParse : : Command ( & Cmd , TEXT ( " windowsmr.CaptureGesture " ) ) )
{
2019-07-26 15:20:42 -04:00
uint32 LocalCapturingSet = 0 ;
2019-06-10 12:22:13 -04:00
FString Arg ;
while ( FParse : : Token ( Cmd , Arg , false ) )
{
if ( Arg . Equals ( TEXT ( " Tap " ) , ESearchCase : : IgnoreCase ) )
{
2019-07-26 15:20:42 -04:00
LocalCapturingSet | = ( uint32 ) EGestureType : : TapGesture ;
2019-06-10 12:22:13 -04:00
}
else if ( Arg . Equals ( TEXT ( " Hold " ) , ESearchCase : : IgnoreCase ) )
{
2019-07-26 15:20:42 -04:00
LocalCapturingSet | = ( uint32 ) EGestureType : : HoldGesture ;
2019-06-10 12:22:13 -04:00
}
else if ( Arg . Equals ( TEXT ( " Manipulation " ) , ESearchCase : : IgnoreCase ) )
{
2019-07-26 15:20:42 -04:00
LocalCapturingSet | = ( uint32 ) EGestureType : : ManipulationGesture ;
2019-06-10 12:22:13 -04:00
}
else if ( Arg . Equals ( TEXT ( " Navigation " ) , ESearchCase : : IgnoreCase ) )
{
2019-07-26 15:20:42 -04:00
LocalCapturingSet | = ( uint32 ) EGestureType : : NavigationGesture ;
2019-06-10 12:22:13 -04:00
}
else if ( Arg . Equals ( TEXT ( " NavigationRails " ) , ESearchCase : : IgnoreCase ) )
{
2019-07-26 15:20:42 -04:00
LocalCapturingSet | = ( uint32 ) EGestureType : : NavigationRailsGesture ;
2019-06-10 12:22:13 -04:00
}
}
2019-07-26 15:20:42 -04:00
return CaptureGestures ( LocalCapturingSet ) ;
2019-06-10 12:22:13 -04:00
}
2019-07-26 15:20:42 -04:00
Copying //UE4/Dev-VR to //UE4/Dev-Main (Source: //UE4/Dev-VR @ 4296730)
#lockdown Nick.Penwarden
============================
MAJOR FEATURES & CHANGES
============================
Change 3775128 by Nick.Atamas
Merging //UE4/Partner-Google-VR @ CL 3770408 to Dev-VR (//UE4/Dev-VR)
Change 4166311 by Jason.Bestimt
#DEV-VR - Merge from //UE4/Dev-MagicLeap/... @ CL 4136411
Change 4185551 by Joe.Graf
Added support to query and specify the desired video format for an AR session
Change 4269190 by Ethan.Geller
[Dev-VR] #jira UE-62644 Deescalate resampling logs to display, and make sure that Lumin does not get Resampling settings from Android runtime settings.
Change 4269386 by Ryan.Vance
#jira UE-62274
We need to recompute the view frustum and related distances if the projection matrix is changed.
Change 4269401 by Ryan.Vance
#jira UE-62155
Debug canvas layer fixes
Change 4270710 by Chance.Ivey
Merging //UE4/Dev-Partner-MagicLeap-4.20 to Dev-VR (//UE4/Dev-VR)
- 4262963
- 4261100
- 4261103
- 4265565
Change 4270822 by Ryan.Vance
#jira UE-61462
Work around for csm shadow culling bug on Lumiun
Change 4271396 by Jason.Bestimt
#DEV-VR - Saving off original MLSDK variable for future editor "restarts" within the same process
#JIRA: UE-58634
Change 4271402 by Jason.Bestimt
#DEV-VR - Making bUseMobileRendering non-editable for binary builds
#JIRA: UE-60956
Change 4271454 by Jason.Bestimt
#DEV-VR - Integrating CL 4239939, 4236178 and 4269702 from Partners-Google-VR
Change 4272387 by Ryan.Vance
#jira UEVR-1281
Oculus 1.28 Plugin changes
Change 4273410 by Jason.Bestimt
#DEV-VR - Fixing MagicLeapSDK Settings to be globaluserconfig (by removing the defaultconfig).
#JIRA: UE-62092
Change 4273929 by Ryan.Vance
#jira UE-62744
Fixing missing includes..
Change 4274147 by Kyle.Fung
Round-robin occlusion queries for stereoscopic rendering
With the vr.RoundRobinOcclusion flag turned on, each frame will only render occlusion queries for one eye with an alternating scheme (ie odd frames only left eye, even frames only right eye).
Additionally, the interface for class FPrimitiveOcclusionHistory has been changed along with a slight modification in its implementation. With round-robin occlusion, when extracing history entries we perform a search through the entire history to look for the oldest entry in a primitive's occlusion history.
#jira UEVR-1289
Change 4274206 by Kyle.Fung
Fixed some compiler warnings
#jira UEVR-1289
Change 4275212 by Jason.Bestimt
#DEV-VR - Fixing CIS error (forcing value to bool)
Change 4275973 by Jason.Bestimt
#DEV-VR - Merging CL 4275879 from Partner-Google-VR
GoogleVR 1.170 Release Update.
- Removed reference to GetHMDDeviceType.
- Updated to final version of SDK libraries.
Change 4276154 by Jason.Bestimt
#DEV-VR - fix for CIS warning about PngPtr being used before it is checked
Change 4277171 by Jeff.Fisher
UE-62399 Graphical corruption when opening the debug console
-Switched from the fast hardware clear to the slower shader clear because the slower one works. Perhaps a better fix exists that would make the faster clear work? Costs 60us when debug ui is up, but only when rendering debug to a stereo layer (vr/ar).
#jira UE-62399
#review-4277026
Change 4277633 by Joe.Conley
#jira UE-54565 - "Packaged game/Editor with Stereo Layers crashes when exiting game through steam VR overlay"
Don't call GetStereoLayers if stereo is not enabled.
Change 4277723 by Ryan.Vance
#jira UE-62776
Cleaning up questionable partner code found by SA.
I'm pretty confident the SA warning is a false positive, but there was a lot to fix here regardless.
Change 4280289 by Joe.Graf
Added some "Ignored by ARCore" comments Google requested
Change 4280479 by Joe.Graf
Fixed a member copy step in AppleARKitFrame::operator= that Wanghao reported
Change 4280824 by Jason.Bestimt
#DEV-VR - removing stale comment about ML SDK Settings using defaultengine.ini
Change 4281117 by Jason.Bestimt
#DEV-VR - Removing warnings on LUMIN from trying to load missing modules
#JIRA: UE-62748
Change 4281514 by Jason.Bestimt
#DEV-VR - Moving FunctionalTesting dependency under bCompileAgainstEngine
Change 4281847 by Joe.Graf
Added a UPL file to AppleARKit that modifies the plist to include the requirement of ARKit and request for camera access
#jira: UE-60050, UE-62837
Change 4281945 by Joe.Graf
Removed the ensures from the ARBlueprintLibrary code since the code handles the failure cases properly
#jira: UE-61845, UE-61846
Change 4282098 by Ethan.Geller
#jira UE-62863 fix audio on lumin #rb none
Change 4283974 by Joe.Graf
Deprecated bIsTracked on tracked images and face geo per Google API reunification feedback
Change 4284118 by Jason.Bestimt
#DEV-VR - Moving FunctionalTest dependency to be both non-shipping and CompileAgainstEngine. Allowing FunctionalTesting to be compiled in binary build
Change 4285339 by Ethan.Geller
#jira UE-62087 Whitelist AudioCapture module for mac while not whitelisting the AudioCaptureEditor module, which should only work on Windows.
Change 4286024 by Ryan.Vance
Copying //UE4/Partner-Microsoft-XR to Dev-VR (//UE4/Dev-VR)
Windows mixed reality integration.
Disabled by default
Change 4289812 by Jason.Bestimt
#DEV-VR - Fix for non-unity build issue with windows header
Change 4296399 by Jason.Bestimt
RSync fixes for xml files
#JIRA: UE-62994
Change 4296679 by Jason.Bestimt
#DEV-VR - Fixing remote iOS compile issue with BP projects that require plugins
#JIRA: UE-62967
[CL 4299100 by Jason Bestimt in Main branch]
2018-08-17 19:56:07 -04:00
return false ;
}
2019-06-10 12:22:13 -04:00
bool FWindowsMixedRealitySpatialInput : : CaptureGestures ( uint32 capturingSet )
{
2019-07-26 15:20:42 -04:00
# if SUPPORTS_WINDOWS_MIXED_REALITY_GESTURES
2019-06-10 12:22:13 -04:00
CapturingSet = capturingSet ;
FString errorMsg ;
if ( ! UpdateGestureCallbacks ( errorMsg ) )
{
UE_LOG ( LogCore , Error , TEXT ( " %s, Gesture capturing disabled " ) , * errorMsg ) ;
CapturingSet = 0 ;
2019-11-14 12:29:04 -05:00
GestureRecognizer - > Reset ( ) ;
2019-06-10 12:22:13 -04:00
return false ;
}
return true ;
2019-07-26 15:20:42 -04:00
# else
UE_LOG ( LogCore , Warning , TEXT ( " WindowsMixedReality Gesture capturing not supported on this platform or windows sdk version. Gestures will not be detected. " ) ) ;
return false ;
# endif
2019-06-10 12:22:13 -04:00
}
bool FWindowsMixedRealitySpatialInput : : UpdateGestureCallbacks ( FString & errorMsg )
{
# if WITH_WINDOWS_MIXED_REALITY
2019-07-26 15:20:42 -04:00
# if SUPPORTS_WINDOWS_MIXED_REALITY_GESTURES
2019-06-10 12:22:13 -04:00
using std : : placeholders : : _1 ;
using std : : placeholders : : _2 ;
using std : : placeholders : : _3 ;
2019-11-14 12:29:04 -05:00
GestureRecognizer - > Reset ( ) ;
2019-06-10 12:22:13 -04:00
if ( CapturingSet & ( uint32 ) EGestureType : : TapGesture )
{
2019-11-14 12:29:04 -05:00
if ( ! GestureRecognizer - > SubscribeTap ( std : : bind ( & FWindowsMixedRealitySpatialInput : : TapCallback , this , _1 , _2 , _3 ) ) )
2019-06-10 12:22:13 -04:00
{
errorMsg = ( TEXT ( " WindowsMixedRealitySpatialInput couldn't subscribe to Tap event " ) ) ;
return false ;
}
}
if ( CapturingSet & ( uint32 ) EGestureType : : HoldGesture )
{
2019-11-14 12:29:04 -05:00
if ( ! GestureRecognizer - > SubscribeHold ( std : : bind ( & FWindowsMixedRealitySpatialInput : : HoldCallback , this , _1 , _2 , _3 ) ) )
2019-06-10 12:22:13 -04:00
{
errorMsg = ( TEXT ( " WindowsMixedRealitySpatialInput couldn't subscribe to Hold event " ) ) ;
return false ;
}
}
if ( CapturingSet & ( uint32 ) EGestureType : : ManipulationGesture )
{
check ( ! ( CapturingSet & ( uint32 ) EGestureType : : NavigationGesture | | CapturingSet & ( uint32 ) EGestureType : : NavigationRailsGesture ) ) ;
2019-11-14 12:29:04 -05:00
if ( ! GestureRecognizer - > SubscribeManipulation ( std : : bind ( & FWindowsMixedRealitySpatialInput : : ManipulationCallback , this , _1 , _2 , _3 ) ) )
2019-06-10 12:22:13 -04:00
{
errorMsg = ( TEXT ( " WindowsMixedRealitySpatialInput couldn't subscribe to Manipulation event " ) ) ;
return false ;
}
}
if ( CapturingSet & ( uint32 ) EGestureType : : NavigationGesture )
{
check ( ! ( CapturingSet & ( uint32 ) EGestureType : : ManipulationGesture | | CapturingSet & ( uint32 ) EGestureType : : NavigationRailsGesture ) ) ;
unsigned int Axes = 0 ;
if ( CapturingSet & ( uint32 ) EGestureType : : NavigationGestureX )
{
Axes | = GestureRecognizerInterop : : NavigationY ;
}
if ( CapturingSet & ( uint32 ) EGestureType : : NavigationGestureY )
{
Axes | = GestureRecognizerInterop : : NavigationZ ;
}
if ( CapturingSet & ( uint32 ) EGestureType : : NavigationGestureZ )
{
Axes | = GestureRecognizerInterop : : NavigationX ;
}
if ( Axes = = 0 )
{
UE_LOG ( LogCore , Warning , TEXT ( " CaptureGestures is set to capture Navigation, but no axis. This will work, but it's wierd enough that it is probably a mistake. " ) ) ;
}
2019-11-14 12:29:04 -05:00
if ( ! GestureRecognizer - > SubscribeNavigation ( std : : bind ( & FWindowsMixedRealitySpatialInput : : NavigationCallback , this , _1 , _2 , _3 ) ,
2019-06-10 12:22:13 -04:00
Axes ) )
{
errorMsg = ( TEXT ( " WindowsMixedRealitySpatialInput couldn't subscribe to Navigation event " ) ) ;
return false ;
}
}
if ( CapturingSet & ( uint32 ) EGestureType : : NavigationRailsGesture )
{
check ( ! ( CapturingSet & ( uint32 ) EGestureType : : NavigationGesture | | CapturingSet & ( uint32 ) EGestureType : : ManipulationGesture ) ) ;
// Convert unreal axis to WMR axes
unsigned int Axes = 0 ;
if ( CapturingSet & ( uint32 ) EGestureType : : NavigationGestureX )
{
Axes | = GestureRecognizerInterop : : NavigationRailsY ;
}
if ( CapturingSet & ( uint32 ) EGestureType : : NavigationGestureY )
{
Axes | = GestureRecognizerInterop : : NavigationRailsZ ;
}
if ( CapturingSet & ( uint32 ) EGestureType : : NavigationGestureZ )
{
Axes | = GestureRecognizerInterop : : NavigationRailsX ;
}
if ( Axes = = 0 )
{
UE_LOG ( LogCore , Warning , TEXT ( " CaptureGestures is set to capture NavigationRails, but no axis. This will work, but it's wierd enough that it is probably a mistake. " ) ) ;
}
2019-11-14 12:29:04 -05:00
if ( ! GestureRecognizer - > SubscribeNavigation ( std : : bind ( & FWindowsMixedRealitySpatialInput : : NavigationCallback , this , _1 , _2 , _3 ) ,
2019-06-10 12:22:13 -04:00
Axes ) )
{
errorMsg = ( TEXT ( " WindowsMixedRealitySpatialInput couldn't subscribe to NavigationRails event " ) ) ;
return false ;
}
}
2019-07-26 15:20:42 -04:00
# else // SUPPORTS_WINDOWS_MIXED_REALITY_GESTURES
UE_LOG ( LogCore , Warning , TEXT ( " WindowsMixedReality CaptureGesture called, but the current platform or interop sdk version does not support gestures. " ) ) ;
errorMsg = ( TEXT ( " WindowsMixedReality CaptureGesture called, but the current platform or interop sdk version does not support gestures. " ) ) ;
return false ;
# endif // SUPPORTS_WINDOWS_MIXED_REALITY_GESTURES
# endif // WITH_WINDOWS_MIXED_REALITY
2019-06-10 12:22:13 -04:00
return true ;
}
# if WITH_WINDOWS_MIXED_REALITY
2019-07-26 15:20:42 -04:00
// Note, these callbacks come in from a microsoft created thread. We need to queue the events and dispatch from the game thread.
2019-06-10 12:22:13 -04:00
void FWindowsMixedRealitySpatialInput : : TapCallback ( GestureStage stage , SourceKind kind , const GestureRecognizerInterop : : Tap & desc )
{
if ( stage = = GestureStage : : Completed )
{
if ( desc . Count = = 1 )
{
2019-07-26 15:20:42 -04:00
EnqueueControllerButtonEvent ( 0 , FSpatialInputKeys : : TapGesture , HMDInputPressState : : Released ) ;
EnqueueControllerButtonEvent ( 0 , desc . Hand = = HMDHand : : Left ? FSpatialInputKeys : : LeftTapGesture : FSpatialInputKeys : : RightTapGesture , HMDInputPressState : : Released ) ;
2019-06-10 12:22:13 -04:00
}
else if ( desc . Count = = 2 )
{
2019-07-26 15:20:42 -04:00
EnqueueControllerButtonEvent ( 0 , FSpatialInputKeys : : DoubleTapGesture , HMDInputPressState : : Released ) ;
EnqueueControllerButtonEvent ( 0 , desc . Hand = = HMDHand : : Left ? FSpatialInputKeys : : LeftDoubleTapGesture : FSpatialInputKeys : : RightDoubleTapGesture , HMDInputPressState : : Released ) ;
2019-06-10 12:22:13 -04:00
}
}
}
void FWindowsMixedRealitySpatialInput : : HoldCallback ( GestureStage stage , SourceKind kind , const GestureRecognizerInterop : : Hold & desc )
{
if ( stage = = GestureStage : : Started )
{
2019-07-26 15:20:42 -04:00
EnqueueControllerButtonEvent ( 0 , FSpatialInputKeys : : HoldGesture , HMDInputPressState : : Pressed ) ;
EnqueueControllerButtonEvent ( 0 , desc . Hand = = HMDHand : : Left ? FSpatialInputKeys : : LeftHoldGesture : FSpatialInputKeys : : RightHoldGesture , HMDInputPressState : : Pressed ) ;
2019-06-10 12:22:13 -04:00
}
else if ( stage = = GestureStage : : Completed | | stage = = GestureStage : : Canceled )
{
2019-07-26 15:20:42 -04:00
EnqueueControllerButtonEvent ( 0 , FSpatialInputKeys : : HoldGesture , HMDInputPressState : : Released ) ;
EnqueueControllerButtonEvent ( 0 , desc . Hand = = HMDHand : : Left ? FSpatialInputKeys : : LeftHoldGesture : FSpatialInputKeys : : RightHoldGesture , HMDInputPressState : : Released ) ;
2019-06-10 12:22:13 -04:00
}
}
void FWindowsMixedRealitySpatialInput : : ManipulationCallback ( GestureStage stage , SourceKind kind , const GestureRecognizerInterop : : Manipulation & desc )
{
FVector Delta = WMRUtility : : FromMixedRealityVector ( desc . Delta ) ;
if ( desc . Hand = = HMDHand : : Left )
{
if ( stage = = GestureStage : : Started )
{
2019-07-26 15:20:42 -04:00
EnqueueControllerButtonEvent ( 0 , FSpatialInputKeys : : LeftManipulationGesture , HMDInputPressState : : Pressed ) ;
2019-06-10 12:22:13 -04:00
}
2019-07-26 15:20:42 -04:00
EnqueueControllerAxisEvent ( 0 , FSpatialInputKeys : : LeftManipulationXGesture , Delta . X ) ;
EnqueueControllerAxisEvent ( 0 , FSpatialInputKeys : : LeftManipulationYGesture , Delta . Y ) ;
EnqueueControllerAxisEvent ( 0 , FSpatialInputKeys : : LeftManipulationZGesture , Delta . Z ) ;
2019-06-10 12:22:13 -04:00
if ( stage = = GestureStage : : Completed | | stage = = GestureStage : : Canceled )
{
2019-07-26 15:20:42 -04:00
EnqueueControllerButtonEvent ( 0 , FSpatialInputKeys : : LeftManipulationGesture , HMDInputPressState : : Released ) ;
2019-06-10 12:22:13 -04:00
}
}
else if ( desc . Hand = = HMDHand : : Right )
{
if ( stage = = GestureStage : : Started )
{
2019-07-26 15:20:42 -04:00
EnqueueControllerButtonEvent ( 0 , FSpatialInputKeys : : RightManipulationGesture , HMDInputPressState : : Pressed ) ;
2019-06-10 12:22:13 -04:00
}
2019-07-26 15:20:42 -04:00
EnqueueControllerAxisEvent ( 0 , FSpatialInputKeys : : RightManipulationXGesture , Delta . X ) ;
EnqueueControllerAxisEvent ( 0 , FSpatialInputKeys : : RightManipulationYGesture , Delta . Y ) ;
EnqueueControllerAxisEvent ( 0 , FSpatialInputKeys : : RightManipulationZGesture , Delta . Z ) ;
2019-06-10 12:22:13 -04:00
if ( stage = = GestureStage : : Completed | | stage = = GestureStage : : Canceled )
{
2019-07-26 15:20:42 -04:00
EnqueueControllerButtonEvent ( 0 , FSpatialInputKeys : : RightManipulationGesture , HMDInputPressState : : Released ) ;
2019-06-10 12:22:13 -04:00
}
}
}
void FWindowsMixedRealitySpatialInput : : NavigationCallback ( GestureStage stage , SourceKind kind , const GestureRecognizerInterop : : Navigation & desc )
{
FVector NormalizedOffset = WMRUtility : : FromMixedRealityVector ( desc . NormalizedOffset ) ;
if ( desc . Hand = = HMDHand : : Left )
{
if ( stage = = GestureStage : : Started )
{
2019-07-26 15:20:42 -04:00
EnqueueControllerButtonEvent ( 0 , FSpatialInputKeys : : LeftNavigationGesture , HMDInputPressState : : Pressed ) ;
2019-06-10 12:22:13 -04:00
}
2019-07-26 15:20:42 -04:00
EnqueueControllerAxisEvent ( 0 , FSpatialInputKeys : : LeftNavigationXGesture , NormalizedOffset . X ) ;
EnqueueControllerAxisEvent ( 0 , FSpatialInputKeys : : LeftNavigationYGesture , NormalizedOffset . Y ) ;
EnqueueControllerAxisEvent ( 0 , FSpatialInputKeys : : LeftNavigationZGesture , NormalizedOffset . Z ) ;
2019-06-10 12:22:13 -04:00
if ( stage = = GestureStage : : Completed | | stage = = GestureStage : : Canceled )
{
2019-07-26 15:20:42 -04:00
EnqueueControllerButtonEvent ( 0 , FSpatialInputKeys : : LeftNavigationGesture , HMDInputPressState : : Released ) ;
2019-06-10 12:22:13 -04:00
}
}
else if ( desc . Hand = = HMDHand : : Right )
{
if ( stage = = GestureStage : : Started )
{
2019-07-26 15:20:42 -04:00
EnqueueControllerButtonEvent ( 0 , FSpatialInputKeys : : RightNavigationGesture , HMDInputPressState : : Pressed ) ;
2019-06-10 12:22:13 -04:00
}
2019-07-26 15:20:42 -04:00
EnqueueControllerAxisEvent ( 0 , FSpatialInputKeys : : RightNavigationXGesture , NormalizedOffset . X ) ;
EnqueueControllerAxisEvent ( 0 , FSpatialInputKeys : : RightNavigationYGesture , NormalizedOffset . Y ) ;
EnqueueControllerAxisEvent ( 0 , FSpatialInputKeys : : RightNavigationZGesture , NormalizedOffset . Z ) ;
2019-06-10 12:22:13 -04:00
if ( stage = = GestureStage : : Completed | | stage = = GestureStage : : Canceled )
{
2019-07-26 15:20:42 -04:00
EnqueueControllerButtonEvent ( 0 , FSpatialInputKeys : : RightNavigationGesture , HMDInputPressState : : Released ) ;
2019-06-10 12:22:13 -04:00
}
}
}
# endif
Copying //UE4/Dev-VR to //UE4/Dev-Main (Source: //UE4/Dev-VR @ 4296730)
#lockdown Nick.Penwarden
============================
MAJOR FEATURES & CHANGES
============================
Change 3775128 by Nick.Atamas
Merging //UE4/Partner-Google-VR @ CL 3770408 to Dev-VR (//UE4/Dev-VR)
Change 4166311 by Jason.Bestimt
#DEV-VR - Merge from //UE4/Dev-MagicLeap/... @ CL 4136411
Change 4185551 by Joe.Graf
Added support to query and specify the desired video format for an AR session
Change 4269190 by Ethan.Geller
[Dev-VR] #jira UE-62644 Deescalate resampling logs to display, and make sure that Lumin does not get Resampling settings from Android runtime settings.
Change 4269386 by Ryan.Vance
#jira UE-62274
We need to recompute the view frustum and related distances if the projection matrix is changed.
Change 4269401 by Ryan.Vance
#jira UE-62155
Debug canvas layer fixes
Change 4270710 by Chance.Ivey
Merging //UE4/Dev-Partner-MagicLeap-4.20 to Dev-VR (//UE4/Dev-VR)
- 4262963
- 4261100
- 4261103
- 4265565
Change 4270822 by Ryan.Vance
#jira UE-61462
Work around for csm shadow culling bug on Lumiun
Change 4271396 by Jason.Bestimt
#DEV-VR - Saving off original MLSDK variable for future editor "restarts" within the same process
#JIRA: UE-58634
Change 4271402 by Jason.Bestimt
#DEV-VR - Making bUseMobileRendering non-editable for binary builds
#JIRA: UE-60956
Change 4271454 by Jason.Bestimt
#DEV-VR - Integrating CL 4239939, 4236178 and 4269702 from Partners-Google-VR
Change 4272387 by Ryan.Vance
#jira UEVR-1281
Oculus 1.28 Plugin changes
Change 4273410 by Jason.Bestimt
#DEV-VR - Fixing MagicLeapSDK Settings to be globaluserconfig (by removing the defaultconfig).
#JIRA: UE-62092
Change 4273929 by Ryan.Vance
#jira UE-62744
Fixing missing includes..
Change 4274147 by Kyle.Fung
Round-robin occlusion queries for stereoscopic rendering
With the vr.RoundRobinOcclusion flag turned on, each frame will only render occlusion queries for one eye with an alternating scheme (ie odd frames only left eye, even frames only right eye).
Additionally, the interface for class FPrimitiveOcclusionHistory has been changed along with a slight modification in its implementation. With round-robin occlusion, when extracing history entries we perform a search through the entire history to look for the oldest entry in a primitive's occlusion history.
#jira UEVR-1289
Change 4274206 by Kyle.Fung
Fixed some compiler warnings
#jira UEVR-1289
Change 4275212 by Jason.Bestimt
#DEV-VR - Fixing CIS error (forcing value to bool)
Change 4275973 by Jason.Bestimt
#DEV-VR - Merging CL 4275879 from Partner-Google-VR
GoogleVR 1.170 Release Update.
- Removed reference to GetHMDDeviceType.
- Updated to final version of SDK libraries.
Change 4276154 by Jason.Bestimt
#DEV-VR - fix for CIS warning about PngPtr being used before it is checked
Change 4277171 by Jeff.Fisher
UE-62399 Graphical corruption when opening the debug console
-Switched from the fast hardware clear to the slower shader clear because the slower one works. Perhaps a better fix exists that would make the faster clear work? Costs 60us when debug ui is up, but only when rendering debug to a stereo layer (vr/ar).
#jira UE-62399
#review-4277026
Change 4277633 by Joe.Conley
#jira UE-54565 - "Packaged game/Editor with Stereo Layers crashes when exiting game through steam VR overlay"
Don't call GetStereoLayers if stereo is not enabled.
Change 4277723 by Ryan.Vance
#jira UE-62776
Cleaning up questionable partner code found by SA.
I'm pretty confident the SA warning is a false positive, but there was a lot to fix here regardless.
Change 4280289 by Joe.Graf
Added some "Ignored by ARCore" comments Google requested
Change 4280479 by Joe.Graf
Fixed a member copy step in AppleARKitFrame::operator= that Wanghao reported
Change 4280824 by Jason.Bestimt
#DEV-VR - removing stale comment about ML SDK Settings using defaultengine.ini
Change 4281117 by Jason.Bestimt
#DEV-VR - Removing warnings on LUMIN from trying to load missing modules
#JIRA: UE-62748
Change 4281514 by Jason.Bestimt
#DEV-VR - Moving FunctionalTesting dependency under bCompileAgainstEngine
Change 4281847 by Joe.Graf
Added a UPL file to AppleARKit that modifies the plist to include the requirement of ARKit and request for camera access
#jira: UE-60050, UE-62837
Change 4281945 by Joe.Graf
Removed the ensures from the ARBlueprintLibrary code since the code handles the failure cases properly
#jira: UE-61845, UE-61846
Change 4282098 by Ethan.Geller
#jira UE-62863 fix audio on lumin #rb none
Change 4283974 by Joe.Graf
Deprecated bIsTracked on tracked images and face geo per Google API reunification feedback
Change 4284118 by Jason.Bestimt
#DEV-VR - Moving FunctionalTest dependency to be both non-shipping and CompileAgainstEngine. Allowing FunctionalTesting to be compiled in binary build
Change 4285339 by Ethan.Geller
#jira UE-62087 Whitelist AudioCapture module for mac while not whitelisting the AudioCaptureEditor module, which should only work on Windows.
Change 4286024 by Ryan.Vance
Copying //UE4/Partner-Microsoft-XR to Dev-VR (//UE4/Dev-VR)
Windows mixed reality integration.
Disabled by default
Change 4289812 by Jason.Bestimt
#DEV-VR - Fix for non-unity build issue with windows header
Change 4296399 by Jason.Bestimt
RSync fixes for xml files
#JIRA: UE-62994
Change 4296679 by Jason.Bestimt
#DEV-VR - Fixing remote iOS compile issue with BP projects that require plugins
#JIRA: UE-62967
[CL 4299100 by Jason Bestimt in Main branch]
2018-08-17 19:56:07 -04:00
void FWindowsMixedRealitySpatialInput : : SetChannelValue ( int32 ControllerId , FForceFeedbackChannelType ChannelType , float Value )
{
// Large channel type maps to amplitude. We are interested in amplitude.
if ( ( ChannelType = = FForceFeedbackChannelType : : LEFT_LARGE ) | |
( ChannelType = = FForceFeedbackChannelType : : RIGHT_LARGE ) )
{
// SpatialInteractionController supports SimpleHapticsController. Amplitude is the value
// we need to send. Set Frequency to 1.0f so that the amplitude is properly sent to the
// controller.
FHapticFeedbackValues hapticValues = FHapticFeedbackValues ( 1.0f , Value ) ;
EControllerHand controllerHand = ( ChannelType = = FForceFeedbackChannelType : : LEFT_LARGE ) ?
EControllerHand : : Left : EControllerHand : : Right ;
SetHapticFeedbackValues (
ControllerId ,
( int32 ) controllerHand ,
hapticValues ) ;
}
}
void FWindowsMixedRealitySpatialInput : : SetChannelValues ( int32 ControllerId , const FForceFeedbackValues & values )
{
FHapticFeedbackValues leftHaptics = FHapticFeedbackValues (
values . LeftSmall , // frequency
values . LeftLarge ) ; // amplitude
FHapticFeedbackValues rightHaptics = FHapticFeedbackValues (
values . RightSmall , // frequency
values . RightLarge ) ; // amplitude
2020-08-11 01:36:57 -04:00
Copying //UE4/Dev-VR to //UE4/Dev-Main (Source: //UE4/Dev-VR @ 4296730)
#lockdown Nick.Penwarden
============================
MAJOR FEATURES & CHANGES
============================
Change 3775128 by Nick.Atamas
Merging //UE4/Partner-Google-VR @ CL 3770408 to Dev-VR (//UE4/Dev-VR)
Change 4166311 by Jason.Bestimt
#DEV-VR - Merge from //UE4/Dev-MagicLeap/... @ CL 4136411
Change 4185551 by Joe.Graf
Added support to query and specify the desired video format for an AR session
Change 4269190 by Ethan.Geller
[Dev-VR] #jira UE-62644 Deescalate resampling logs to display, and make sure that Lumin does not get Resampling settings from Android runtime settings.
Change 4269386 by Ryan.Vance
#jira UE-62274
We need to recompute the view frustum and related distances if the projection matrix is changed.
Change 4269401 by Ryan.Vance
#jira UE-62155
Debug canvas layer fixes
Change 4270710 by Chance.Ivey
Merging //UE4/Dev-Partner-MagicLeap-4.20 to Dev-VR (//UE4/Dev-VR)
- 4262963
- 4261100
- 4261103
- 4265565
Change 4270822 by Ryan.Vance
#jira UE-61462
Work around for csm shadow culling bug on Lumiun
Change 4271396 by Jason.Bestimt
#DEV-VR - Saving off original MLSDK variable for future editor "restarts" within the same process
#JIRA: UE-58634
Change 4271402 by Jason.Bestimt
#DEV-VR - Making bUseMobileRendering non-editable for binary builds
#JIRA: UE-60956
Change 4271454 by Jason.Bestimt
#DEV-VR - Integrating CL 4239939, 4236178 and 4269702 from Partners-Google-VR
Change 4272387 by Ryan.Vance
#jira UEVR-1281
Oculus 1.28 Plugin changes
Change 4273410 by Jason.Bestimt
#DEV-VR - Fixing MagicLeapSDK Settings to be globaluserconfig (by removing the defaultconfig).
#JIRA: UE-62092
Change 4273929 by Ryan.Vance
#jira UE-62744
Fixing missing includes..
Change 4274147 by Kyle.Fung
Round-robin occlusion queries for stereoscopic rendering
With the vr.RoundRobinOcclusion flag turned on, each frame will only render occlusion queries for one eye with an alternating scheme (ie odd frames only left eye, even frames only right eye).
Additionally, the interface for class FPrimitiveOcclusionHistory has been changed along with a slight modification in its implementation. With round-robin occlusion, when extracing history entries we perform a search through the entire history to look for the oldest entry in a primitive's occlusion history.
#jira UEVR-1289
Change 4274206 by Kyle.Fung
Fixed some compiler warnings
#jira UEVR-1289
Change 4275212 by Jason.Bestimt
#DEV-VR - Fixing CIS error (forcing value to bool)
Change 4275973 by Jason.Bestimt
#DEV-VR - Merging CL 4275879 from Partner-Google-VR
GoogleVR 1.170 Release Update.
- Removed reference to GetHMDDeviceType.
- Updated to final version of SDK libraries.
Change 4276154 by Jason.Bestimt
#DEV-VR - fix for CIS warning about PngPtr being used before it is checked
Change 4277171 by Jeff.Fisher
UE-62399 Graphical corruption when opening the debug console
-Switched from the fast hardware clear to the slower shader clear because the slower one works. Perhaps a better fix exists that would make the faster clear work? Costs 60us when debug ui is up, but only when rendering debug to a stereo layer (vr/ar).
#jira UE-62399
#review-4277026
Change 4277633 by Joe.Conley
#jira UE-54565 - "Packaged game/Editor with Stereo Layers crashes when exiting game through steam VR overlay"
Don't call GetStereoLayers if stereo is not enabled.
Change 4277723 by Ryan.Vance
#jira UE-62776
Cleaning up questionable partner code found by SA.
I'm pretty confident the SA warning is a false positive, but there was a lot to fix here regardless.
Change 4280289 by Joe.Graf
Added some "Ignored by ARCore" comments Google requested
Change 4280479 by Joe.Graf
Fixed a member copy step in AppleARKitFrame::operator= that Wanghao reported
Change 4280824 by Jason.Bestimt
#DEV-VR - removing stale comment about ML SDK Settings using defaultengine.ini
Change 4281117 by Jason.Bestimt
#DEV-VR - Removing warnings on LUMIN from trying to load missing modules
#JIRA: UE-62748
Change 4281514 by Jason.Bestimt
#DEV-VR - Moving FunctionalTesting dependency under bCompileAgainstEngine
Change 4281847 by Joe.Graf
Added a UPL file to AppleARKit that modifies the plist to include the requirement of ARKit and request for camera access
#jira: UE-60050, UE-62837
Change 4281945 by Joe.Graf
Removed the ensures from the ARBlueprintLibrary code since the code handles the failure cases properly
#jira: UE-61845, UE-61846
Change 4282098 by Ethan.Geller
#jira UE-62863 fix audio on lumin #rb none
Change 4283974 by Joe.Graf
Deprecated bIsTracked on tracked images and face geo per Google API reunification feedback
Change 4284118 by Jason.Bestimt
#DEV-VR - Moving FunctionalTest dependency to be both non-shipping and CompileAgainstEngine. Allowing FunctionalTesting to be compiled in binary build
Change 4285339 by Ethan.Geller
#jira UE-62087 Whitelist AudioCapture module for mac while not whitelisting the AudioCaptureEditor module, which should only work on Windows.
Change 4286024 by Ryan.Vance
Copying //UE4/Partner-Microsoft-XR to Dev-VR (//UE4/Dev-VR)
Windows mixed reality integration.
Disabled by default
Change 4289812 by Jason.Bestimt
#DEV-VR - Fix for non-unity build issue with windows header
Change 4296399 by Jason.Bestimt
RSync fixes for xml files
#JIRA: UE-62994
Change 4296679 by Jason.Bestimt
#DEV-VR - Fixing remote iOS compile issue with BP projects that require plugins
#JIRA: UE-62967
[CL 4299100 by Jason Bestimt in Main branch]
2018-08-17 19:56:07 -04:00
SetHapticFeedbackValues (
ControllerId ,
( int32 ) EControllerHand : : Left ,
leftHaptics ) ;
2020-08-11 01:36:57 -04:00
Copying //UE4/Dev-VR to //UE4/Dev-Main (Source: //UE4/Dev-VR @ 4296730)
#lockdown Nick.Penwarden
============================
MAJOR FEATURES & CHANGES
============================
Change 3775128 by Nick.Atamas
Merging //UE4/Partner-Google-VR @ CL 3770408 to Dev-VR (//UE4/Dev-VR)
Change 4166311 by Jason.Bestimt
#DEV-VR - Merge from //UE4/Dev-MagicLeap/... @ CL 4136411
Change 4185551 by Joe.Graf
Added support to query and specify the desired video format for an AR session
Change 4269190 by Ethan.Geller
[Dev-VR] #jira UE-62644 Deescalate resampling logs to display, and make sure that Lumin does not get Resampling settings from Android runtime settings.
Change 4269386 by Ryan.Vance
#jira UE-62274
We need to recompute the view frustum and related distances if the projection matrix is changed.
Change 4269401 by Ryan.Vance
#jira UE-62155
Debug canvas layer fixes
Change 4270710 by Chance.Ivey
Merging //UE4/Dev-Partner-MagicLeap-4.20 to Dev-VR (//UE4/Dev-VR)
- 4262963
- 4261100
- 4261103
- 4265565
Change 4270822 by Ryan.Vance
#jira UE-61462
Work around for csm shadow culling bug on Lumiun
Change 4271396 by Jason.Bestimt
#DEV-VR - Saving off original MLSDK variable for future editor "restarts" within the same process
#JIRA: UE-58634
Change 4271402 by Jason.Bestimt
#DEV-VR - Making bUseMobileRendering non-editable for binary builds
#JIRA: UE-60956
Change 4271454 by Jason.Bestimt
#DEV-VR - Integrating CL 4239939, 4236178 and 4269702 from Partners-Google-VR
Change 4272387 by Ryan.Vance
#jira UEVR-1281
Oculus 1.28 Plugin changes
Change 4273410 by Jason.Bestimt
#DEV-VR - Fixing MagicLeapSDK Settings to be globaluserconfig (by removing the defaultconfig).
#JIRA: UE-62092
Change 4273929 by Ryan.Vance
#jira UE-62744
Fixing missing includes..
Change 4274147 by Kyle.Fung
Round-robin occlusion queries for stereoscopic rendering
With the vr.RoundRobinOcclusion flag turned on, each frame will only render occlusion queries for one eye with an alternating scheme (ie odd frames only left eye, even frames only right eye).
Additionally, the interface for class FPrimitiveOcclusionHistory has been changed along with a slight modification in its implementation. With round-robin occlusion, when extracing history entries we perform a search through the entire history to look for the oldest entry in a primitive's occlusion history.
#jira UEVR-1289
Change 4274206 by Kyle.Fung
Fixed some compiler warnings
#jira UEVR-1289
Change 4275212 by Jason.Bestimt
#DEV-VR - Fixing CIS error (forcing value to bool)
Change 4275973 by Jason.Bestimt
#DEV-VR - Merging CL 4275879 from Partner-Google-VR
GoogleVR 1.170 Release Update.
- Removed reference to GetHMDDeviceType.
- Updated to final version of SDK libraries.
Change 4276154 by Jason.Bestimt
#DEV-VR - fix for CIS warning about PngPtr being used before it is checked
Change 4277171 by Jeff.Fisher
UE-62399 Graphical corruption when opening the debug console
-Switched from the fast hardware clear to the slower shader clear because the slower one works. Perhaps a better fix exists that would make the faster clear work? Costs 60us when debug ui is up, but only when rendering debug to a stereo layer (vr/ar).
#jira UE-62399
#review-4277026
Change 4277633 by Joe.Conley
#jira UE-54565 - "Packaged game/Editor with Stereo Layers crashes when exiting game through steam VR overlay"
Don't call GetStereoLayers if stereo is not enabled.
Change 4277723 by Ryan.Vance
#jira UE-62776
Cleaning up questionable partner code found by SA.
I'm pretty confident the SA warning is a false positive, but there was a lot to fix here regardless.
Change 4280289 by Joe.Graf
Added some "Ignored by ARCore" comments Google requested
Change 4280479 by Joe.Graf
Fixed a member copy step in AppleARKitFrame::operator= that Wanghao reported
Change 4280824 by Jason.Bestimt
#DEV-VR - removing stale comment about ML SDK Settings using defaultengine.ini
Change 4281117 by Jason.Bestimt
#DEV-VR - Removing warnings on LUMIN from trying to load missing modules
#JIRA: UE-62748
Change 4281514 by Jason.Bestimt
#DEV-VR - Moving FunctionalTesting dependency under bCompileAgainstEngine
Change 4281847 by Joe.Graf
Added a UPL file to AppleARKit that modifies the plist to include the requirement of ARKit and request for camera access
#jira: UE-60050, UE-62837
Change 4281945 by Joe.Graf
Removed the ensures from the ARBlueprintLibrary code since the code handles the failure cases properly
#jira: UE-61845, UE-61846
Change 4282098 by Ethan.Geller
#jira UE-62863 fix audio on lumin #rb none
Change 4283974 by Joe.Graf
Deprecated bIsTracked on tracked images and face geo per Google API reunification feedback
Change 4284118 by Jason.Bestimt
#DEV-VR - Moving FunctionalTest dependency to be both non-shipping and CompileAgainstEngine. Allowing FunctionalTesting to be compiled in binary build
Change 4285339 by Ethan.Geller
#jira UE-62087 Whitelist AudioCapture module for mac while not whitelisting the AudioCaptureEditor module, which should only work on Windows.
Change 4286024 by Ryan.Vance
Copying //UE4/Partner-Microsoft-XR to Dev-VR (//UE4/Dev-VR)
Windows mixed reality integration.
Disabled by default
Change 4289812 by Jason.Bestimt
#DEV-VR - Fix for non-unity build issue with windows header
Change 4296399 by Jason.Bestimt
RSync fixes for xml files
#JIRA: UE-62994
Change 4296679 by Jason.Bestimt
#DEV-VR - Fixing remote iOS compile issue with BP projects that require plugins
#JIRA: UE-62967
[CL 4299100 by Jason Bestimt in Main branch]
2018-08-17 19:56:07 -04:00
SetHapticFeedbackValues (
ControllerId ,
( int32 ) EControllerHand : : Right ,
rightHaptics ) ;
}
void FWindowsMixedRealitySpatialInput : : SetHapticFeedbackValues ( int32 ControllerId , int32 DeviceHand , const FHapticFeedbackValues & Values )
{
EControllerHand controllerHand = ( EControllerHand ) DeviceHand ;
if ( ( controllerHand ! = EControllerHand : : Left ) & &
( controllerHand ! = EControllerHand : : Right ) )
{
return ;
}
2019-01-28 16:31:25 -05:00
# if WITH_WINDOWS_MIXED_REALITY
2019-06-10 12:22:13 -04:00
HMDHand hand = ( HMDHand ) DeviceHand ;
Copying //UE4/Dev-VR to //UE4/Dev-Main (Source: //UE4/Dev-VR @ 4296730)
#lockdown Nick.Penwarden
============================
MAJOR FEATURES & CHANGES
============================
Change 3775128 by Nick.Atamas
Merging //UE4/Partner-Google-VR @ CL 3770408 to Dev-VR (//UE4/Dev-VR)
Change 4166311 by Jason.Bestimt
#DEV-VR - Merge from //UE4/Dev-MagicLeap/... @ CL 4136411
Change 4185551 by Joe.Graf
Added support to query and specify the desired video format for an AR session
Change 4269190 by Ethan.Geller
[Dev-VR] #jira UE-62644 Deescalate resampling logs to display, and make sure that Lumin does not get Resampling settings from Android runtime settings.
Change 4269386 by Ryan.Vance
#jira UE-62274
We need to recompute the view frustum and related distances if the projection matrix is changed.
Change 4269401 by Ryan.Vance
#jira UE-62155
Debug canvas layer fixes
Change 4270710 by Chance.Ivey
Merging //UE4/Dev-Partner-MagicLeap-4.20 to Dev-VR (//UE4/Dev-VR)
- 4262963
- 4261100
- 4261103
- 4265565
Change 4270822 by Ryan.Vance
#jira UE-61462
Work around for csm shadow culling bug on Lumiun
Change 4271396 by Jason.Bestimt
#DEV-VR - Saving off original MLSDK variable for future editor "restarts" within the same process
#JIRA: UE-58634
Change 4271402 by Jason.Bestimt
#DEV-VR - Making bUseMobileRendering non-editable for binary builds
#JIRA: UE-60956
Change 4271454 by Jason.Bestimt
#DEV-VR - Integrating CL 4239939, 4236178 and 4269702 from Partners-Google-VR
Change 4272387 by Ryan.Vance
#jira UEVR-1281
Oculus 1.28 Plugin changes
Change 4273410 by Jason.Bestimt
#DEV-VR - Fixing MagicLeapSDK Settings to be globaluserconfig (by removing the defaultconfig).
#JIRA: UE-62092
Change 4273929 by Ryan.Vance
#jira UE-62744
Fixing missing includes..
Change 4274147 by Kyle.Fung
Round-robin occlusion queries for stereoscopic rendering
With the vr.RoundRobinOcclusion flag turned on, each frame will only render occlusion queries for one eye with an alternating scheme (ie odd frames only left eye, even frames only right eye).
Additionally, the interface for class FPrimitiveOcclusionHistory has been changed along with a slight modification in its implementation. With round-robin occlusion, when extracing history entries we perform a search through the entire history to look for the oldest entry in a primitive's occlusion history.
#jira UEVR-1289
Change 4274206 by Kyle.Fung
Fixed some compiler warnings
#jira UEVR-1289
Change 4275212 by Jason.Bestimt
#DEV-VR - Fixing CIS error (forcing value to bool)
Change 4275973 by Jason.Bestimt
#DEV-VR - Merging CL 4275879 from Partner-Google-VR
GoogleVR 1.170 Release Update.
- Removed reference to GetHMDDeviceType.
- Updated to final version of SDK libraries.
Change 4276154 by Jason.Bestimt
#DEV-VR - fix for CIS warning about PngPtr being used before it is checked
Change 4277171 by Jeff.Fisher
UE-62399 Graphical corruption when opening the debug console
-Switched from the fast hardware clear to the slower shader clear because the slower one works. Perhaps a better fix exists that would make the faster clear work? Costs 60us when debug ui is up, but only when rendering debug to a stereo layer (vr/ar).
#jira UE-62399
#review-4277026
Change 4277633 by Joe.Conley
#jira UE-54565 - "Packaged game/Editor with Stereo Layers crashes when exiting game through steam VR overlay"
Don't call GetStereoLayers if stereo is not enabled.
Change 4277723 by Ryan.Vance
#jira UE-62776
Cleaning up questionable partner code found by SA.
I'm pretty confident the SA warning is a false positive, but there was a lot to fix here regardless.
Change 4280289 by Joe.Graf
Added some "Ignored by ARCore" comments Google requested
Change 4280479 by Joe.Graf
Fixed a member copy step in AppleARKitFrame::operator= that Wanghao reported
Change 4280824 by Jason.Bestimt
#DEV-VR - removing stale comment about ML SDK Settings using defaultengine.ini
Change 4281117 by Jason.Bestimt
#DEV-VR - Removing warnings on LUMIN from trying to load missing modules
#JIRA: UE-62748
Change 4281514 by Jason.Bestimt
#DEV-VR - Moving FunctionalTesting dependency under bCompileAgainstEngine
Change 4281847 by Joe.Graf
Added a UPL file to AppleARKit that modifies the plist to include the requirement of ARKit and request for camera access
#jira: UE-60050, UE-62837
Change 4281945 by Joe.Graf
Removed the ensures from the ARBlueprintLibrary code since the code handles the failure cases properly
#jira: UE-61845, UE-61846
Change 4282098 by Ethan.Geller
#jira UE-62863 fix audio on lumin #rb none
Change 4283974 by Joe.Graf
Deprecated bIsTracked on tracked images and face geo per Google API reunification feedback
Change 4284118 by Jason.Bestimt
#DEV-VR - Moving FunctionalTest dependency to be both non-shipping and CompileAgainstEngine. Allowing FunctionalTesting to be compiled in binary build
Change 4285339 by Ethan.Geller
#jira UE-62087 Whitelist AudioCapture module for mac while not whitelisting the AudioCaptureEditor module, which should only work on Windows.
Change 4286024 by Ryan.Vance
Copying //UE4/Partner-Microsoft-XR to Dev-VR (//UE4/Dev-VR)
Windows mixed reality integration.
Disabled by default
Change 4289812 by Jason.Bestimt
#DEV-VR - Fix for non-unity build issue with windows header
Change 4296399 by Jason.Bestimt
RSync fixes for xml files
#JIRA: UE-62994
Change 4296679 by Jason.Bestimt
#DEV-VR - Fixing remote iOS compile issue with BP projects that require plugins
#JIRA: UE-62967
[CL 4299100 by Jason Bestimt in Main branch]
2018-08-17 19:56:07 -04:00
FWindowsMixedRealityStatics : : SubmitHapticValue ( hand , ( Values . Frequency > 0.0f ) ? Values . Amplitude : 0.0f ) ;
2019-01-28 16:31:25 -05:00
# endif
Copying //UE4/Dev-VR to //UE4/Dev-Main (Source: //UE4/Dev-VR @ 4296730)
#lockdown Nick.Penwarden
============================
MAJOR FEATURES & CHANGES
============================
Change 3775128 by Nick.Atamas
Merging //UE4/Partner-Google-VR @ CL 3770408 to Dev-VR (//UE4/Dev-VR)
Change 4166311 by Jason.Bestimt
#DEV-VR - Merge from //UE4/Dev-MagicLeap/... @ CL 4136411
Change 4185551 by Joe.Graf
Added support to query and specify the desired video format for an AR session
Change 4269190 by Ethan.Geller
[Dev-VR] #jira UE-62644 Deescalate resampling logs to display, and make sure that Lumin does not get Resampling settings from Android runtime settings.
Change 4269386 by Ryan.Vance
#jira UE-62274
We need to recompute the view frustum and related distances if the projection matrix is changed.
Change 4269401 by Ryan.Vance
#jira UE-62155
Debug canvas layer fixes
Change 4270710 by Chance.Ivey
Merging //UE4/Dev-Partner-MagicLeap-4.20 to Dev-VR (//UE4/Dev-VR)
- 4262963
- 4261100
- 4261103
- 4265565
Change 4270822 by Ryan.Vance
#jira UE-61462
Work around for csm shadow culling bug on Lumiun
Change 4271396 by Jason.Bestimt
#DEV-VR - Saving off original MLSDK variable for future editor "restarts" within the same process
#JIRA: UE-58634
Change 4271402 by Jason.Bestimt
#DEV-VR - Making bUseMobileRendering non-editable for binary builds
#JIRA: UE-60956
Change 4271454 by Jason.Bestimt
#DEV-VR - Integrating CL 4239939, 4236178 and 4269702 from Partners-Google-VR
Change 4272387 by Ryan.Vance
#jira UEVR-1281
Oculus 1.28 Plugin changes
Change 4273410 by Jason.Bestimt
#DEV-VR - Fixing MagicLeapSDK Settings to be globaluserconfig (by removing the defaultconfig).
#JIRA: UE-62092
Change 4273929 by Ryan.Vance
#jira UE-62744
Fixing missing includes..
Change 4274147 by Kyle.Fung
Round-robin occlusion queries for stereoscopic rendering
With the vr.RoundRobinOcclusion flag turned on, each frame will only render occlusion queries for one eye with an alternating scheme (ie odd frames only left eye, even frames only right eye).
Additionally, the interface for class FPrimitiveOcclusionHistory has been changed along with a slight modification in its implementation. With round-robin occlusion, when extracing history entries we perform a search through the entire history to look for the oldest entry in a primitive's occlusion history.
#jira UEVR-1289
Change 4274206 by Kyle.Fung
Fixed some compiler warnings
#jira UEVR-1289
Change 4275212 by Jason.Bestimt
#DEV-VR - Fixing CIS error (forcing value to bool)
Change 4275973 by Jason.Bestimt
#DEV-VR - Merging CL 4275879 from Partner-Google-VR
GoogleVR 1.170 Release Update.
- Removed reference to GetHMDDeviceType.
- Updated to final version of SDK libraries.
Change 4276154 by Jason.Bestimt
#DEV-VR - fix for CIS warning about PngPtr being used before it is checked
Change 4277171 by Jeff.Fisher
UE-62399 Graphical corruption when opening the debug console
-Switched from the fast hardware clear to the slower shader clear because the slower one works. Perhaps a better fix exists that would make the faster clear work? Costs 60us when debug ui is up, but only when rendering debug to a stereo layer (vr/ar).
#jira UE-62399
#review-4277026
Change 4277633 by Joe.Conley
#jira UE-54565 - "Packaged game/Editor with Stereo Layers crashes when exiting game through steam VR overlay"
Don't call GetStereoLayers if stereo is not enabled.
Change 4277723 by Ryan.Vance
#jira UE-62776
Cleaning up questionable partner code found by SA.
I'm pretty confident the SA warning is a false positive, but there was a lot to fix here regardless.
Change 4280289 by Joe.Graf
Added some "Ignored by ARCore" comments Google requested
Change 4280479 by Joe.Graf
Fixed a member copy step in AppleARKitFrame::operator= that Wanghao reported
Change 4280824 by Jason.Bestimt
#DEV-VR - removing stale comment about ML SDK Settings using defaultengine.ini
Change 4281117 by Jason.Bestimt
#DEV-VR - Removing warnings on LUMIN from trying to load missing modules
#JIRA: UE-62748
Change 4281514 by Jason.Bestimt
#DEV-VR - Moving FunctionalTesting dependency under bCompileAgainstEngine
Change 4281847 by Joe.Graf
Added a UPL file to AppleARKit that modifies the plist to include the requirement of ARKit and request for camera access
#jira: UE-60050, UE-62837
Change 4281945 by Joe.Graf
Removed the ensures from the ARBlueprintLibrary code since the code handles the failure cases properly
#jira: UE-61845, UE-61846
Change 4282098 by Ethan.Geller
#jira UE-62863 fix audio on lumin #rb none
Change 4283974 by Joe.Graf
Deprecated bIsTracked on tracked images and face geo per Google API reunification feedback
Change 4284118 by Jason.Bestimt
#DEV-VR - Moving FunctionalTest dependency to be both non-shipping and CompileAgainstEngine. Allowing FunctionalTesting to be compiled in binary build
Change 4285339 by Ethan.Geller
#jira UE-62087 Whitelist AudioCapture module for mac while not whitelisting the AudioCaptureEditor module, which should only work on Windows.
Change 4286024 by Ryan.Vance
Copying //UE4/Partner-Microsoft-XR to Dev-VR (//UE4/Dev-VR)
Windows mixed reality integration.
Disabled by default
Change 4289812 by Jason.Bestimt
#DEV-VR - Fix for non-unity build issue with windows header
Change 4296399 by Jason.Bestimt
RSync fixes for xml files
#JIRA: UE-62994
Change 4296679 by Jason.Bestimt
#DEV-VR - Fixing remote iOS compile issue with BP projects that require plugins
#JIRA: UE-62967
[CL 4299100 by Jason Bestimt in Main branch]
2018-08-17 19:56:07 -04:00
}
void FWindowsMixedRealitySpatialInput : : GetHapticFrequencyRange ( float & MinFrequency , float & MaxFrequency ) const
{
MinFrequency = 0.0f ;
MaxFrequency = 1.0f ;
}
float FWindowsMixedRealitySpatialInput : : GetHapticAmplitudeScale ( ) const
{
return 1.0f ;
}
FName FWindowsMixedRealitySpatialInput : : GetMotionControllerDeviceTypeName ( ) const
{
const static FName DeviceTypeName ( TEXT ( MotionControllerDeviceTypeName ) ) ;
return DeviceTypeName ;
}
bool FWindowsMixedRealitySpatialInput : : GetControllerOrientationAndPosition ( const int32 ControllerIndex , const EControllerHand DeviceHand , FRotator & OutOrientation , FVector & OutPosition , float WorldToMetersScale ) const
{
2019-01-28 16:31:25 -05:00
# if WITH_WINDOWS_MIXED_REALITY
2019-06-10 12:22:13 -04:00
HMDHand hand = ( HMDHand ) ( ( int ) DeviceHand ) ;
Copying //UE4/Dev-VR to //UE4/Dev-Main (Source: //UE4/Dev-VR @ 4296730)
#lockdown Nick.Penwarden
============================
MAJOR FEATURES & CHANGES
============================
Change 3775128 by Nick.Atamas
Merging //UE4/Partner-Google-VR @ CL 3770408 to Dev-VR (//UE4/Dev-VR)
Change 4166311 by Jason.Bestimt
#DEV-VR - Merge from //UE4/Dev-MagicLeap/... @ CL 4136411
Change 4185551 by Joe.Graf
Added support to query and specify the desired video format for an AR session
Change 4269190 by Ethan.Geller
[Dev-VR] #jira UE-62644 Deescalate resampling logs to display, and make sure that Lumin does not get Resampling settings from Android runtime settings.
Change 4269386 by Ryan.Vance
#jira UE-62274
We need to recompute the view frustum and related distances if the projection matrix is changed.
Change 4269401 by Ryan.Vance
#jira UE-62155
Debug canvas layer fixes
Change 4270710 by Chance.Ivey
Merging //UE4/Dev-Partner-MagicLeap-4.20 to Dev-VR (//UE4/Dev-VR)
- 4262963
- 4261100
- 4261103
- 4265565
Change 4270822 by Ryan.Vance
#jira UE-61462
Work around for csm shadow culling bug on Lumiun
Change 4271396 by Jason.Bestimt
#DEV-VR - Saving off original MLSDK variable for future editor "restarts" within the same process
#JIRA: UE-58634
Change 4271402 by Jason.Bestimt
#DEV-VR - Making bUseMobileRendering non-editable for binary builds
#JIRA: UE-60956
Change 4271454 by Jason.Bestimt
#DEV-VR - Integrating CL 4239939, 4236178 and 4269702 from Partners-Google-VR
Change 4272387 by Ryan.Vance
#jira UEVR-1281
Oculus 1.28 Plugin changes
Change 4273410 by Jason.Bestimt
#DEV-VR - Fixing MagicLeapSDK Settings to be globaluserconfig (by removing the defaultconfig).
#JIRA: UE-62092
Change 4273929 by Ryan.Vance
#jira UE-62744
Fixing missing includes..
Change 4274147 by Kyle.Fung
Round-robin occlusion queries for stereoscopic rendering
With the vr.RoundRobinOcclusion flag turned on, each frame will only render occlusion queries for one eye with an alternating scheme (ie odd frames only left eye, even frames only right eye).
Additionally, the interface for class FPrimitiveOcclusionHistory has been changed along with a slight modification in its implementation. With round-robin occlusion, when extracing history entries we perform a search through the entire history to look for the oldest entry in a primitive's occlusion history.
#jira UEVR-1289
Change 4274206 by Kyle.Fung
Fixed some compiler warnings
#jira UEVR-1289
Change 4275212 by Jason.Bestimt
#DEV-VR - Fixing CIS error (forcing value to bool)
Change 4275973 by Jason.Bestimt
#DEV-VR - Merging CL 4275879 from Partner-Google-VR
GoogleVR 1.170 Release Update.
- Removed reference to GetHMDDeviceType.
- Updated to final version of SDK libraries.
Change 4276154 by Jason.Bestimt
#DEV-VR - fix for CIS warning about PngPtr being used before it is checked
Change 4277171 by Jeff.Fisher
UE-62399 Graphical corruption when opening the debug console
-Switched from the fast hardware clear to the slower shader clear because the slower one works. Perhaps a better fix exists that would make the faster clear work? Costs 60us when debug ui is up, but only when rendering debug to a stereo layer (vr/ar).
#jira UE-62399
#review-4277026
Change 4277633 by Joe.Conley
#jira UE-54565 - "Packaged game/Editor with Stereo Layers crashes when exiting game through steam VR overlay"
Don't call GetStereoLayers if stereo is not enabled.
Change 4277723 by Ryan.Vance
#jira UE-62776
Cleaning up questionable partner code found by SA.
I'm pretty confident the SA warning is a false positive, but there was a lot to fix here regardless.
Change 4280289 by Joe.Graf
Added some "Ignored by ARCore" comments Google requested
Change 4280479 by Joe.Graf
Fixed a member copy step in AppleARKitFrame::operator= that Wanghao reported
Change 4280824 by Jason.Bestimt
#DEV-VR - removing stale comment about ML SDK Settings using defaultengine.ini
Change 4281117 by Jason.Bestimt
#DEV-VR - Removing warnings on LUMIN from trying to load missing modules
#JIRA: UE-62748
Change 4281514 by Jason.Bestimt
#DEV-VR - Moving FunctionalTesting dependency under bCompileAgainstEngine
Change 4281847 by Joe.Graf
Added a UPL file to AppleARKit that modifies the plist to include the requirement of ARKit and request for camera access
#jira: UE-60050, UE-62837
Change 4281945 by Joe.Graf
Removed the ensures from the ARBlueprintLibrary code since the code handles the failure cases properly
#jira: UE-61845, UE-61846
Change 4282098 by Ethan.Geller
#jira UE-62863 fix audio on lumin #rb none
Change 4283974 by Joe.Graf
Deprecated bIsTracked on tracked images and face geo per Google API reunification feedback
Change 4284118 by Jason.Bestimt
#DEV-VR - Moving FunctionalTest dependency to be both non-shipping and CompileAgainstEngine. Allowing FunctionalTesting to be compiled in binary build
Change 4285339 by Ethan.Geller
#jira UE-62087 Whitelist AudioCapture module for mac while not whitelisting the AudioCaptureEditor module, which should only work on Windows.
Change 4286024 by Ryan.Vance
Copying //UE4/Partner-Microsoft-XR to Dev-VR (//UE4/Dev-VR)
Windows mixed reality integration.
Disabled by default
Change 4289812 by Jason.Bestimt
#DEV-VR - Fix for non-unity build issue with windows header
Change 4296399 by Jason.Bestimt
RSync fixes for xml files
#JIRA: UE-62994
Change 4296679 by Jason.Bestimt
#DEV-VR - Fixing remote iOS compile issue with BP projects that require plugins
#JIRA: UE-62967
[CL 4299100 by Jason Bestimt in Main branch]
2018-08-17 19:56:07 -04:00
bool success = FWindowsMixedRealityStatics : : GetControllerOrientationAndPosition ( hand , OutOrientation , OutPosition ) ;
OutPosition * = WorldToMetersScale ;
return success ;
2019-01-28 16:31:25 -05:00
# else
return false ;
# endif
Copying //UE4/Dev-VR to //UE4/Dev-Main (Source: //UE4/Dev-VR @ 4296730)
#lockdown Nick.Penwarden
============================
MAJOR FEATURES & CHANGES
============================
Change 3775128 by Nick.Atamas
Merging //UE4/Partner-Google-VR @ CL 3770408 to Dev-VR (//UE4/Dev-VR)
Change 4166311 by Jason.Bestimt
#DEV-VR - Merge from //UE4/Dev-MagicLeap/... @ CL 4136411
Change 4185551 by Joe.Graf
Added support to query and specify the desired video format for an AR session
Change 4269190 by Ethan.Geller
[Dev-VR] #jira UE-62644 Deescalate resampling logs to display, and make sure that Lumin does not get Resampling settings from Android runtime settings.
Change 4269386 by Ryan.Vance
#jira UE-62274
We need to recompute the view frustum and related distances if the projection matrix is changed.
Change 4269401 by Ryan.Vance
#jira UE-62155
Debug canvas layer fixes
Change 4270710 by Chance.Ivey
Merging //UE4/Dev-Partner-MagicLeap-4.20 to Dev-VR (//UE4/Dev-VR)
- 4262963
- 4261100
- 4261103
- 4265565
Change 4270822 by Ryan.Vance
#jira UE-61462
Work around for csm shadow culling bug on Lumiun
Change 4271396 by Jason.Bestimt
#DEV-VR - Saving off original MLSDK variable for future editor "restarts" within the same process
#JIRA: UE-58634
Change 4271402 by Jason.Bestimt
#DEV-VR - Making bUseMobileRendering non-editable for binary builds
#JIRA: UE-60956
Change 4271454 by Jason.Bestimt
#DEV-VR - Integrating CL 4239939, 4236178 and 4269702 from Partners-Google-VR
Change 4272387 by Ryan.Vance
#jira UEVR-1281
Oculus 1.28 Plugin changes
Change 4273410 by Jason.Bestimt
#DEV-VR - Fixing MagicLeapSDK Settings to be globaluserconfig (by removing the defaultconfig).
#JIRA: UE-62092
Change 4273929 by Ryan.Vance
#jira UE-62744
Fixing missing includes..
Change 4274147 by Kyle.Fung
Round-robin occlusion queries for stereoscopic rendering
With the vr.RoundRobinOcclusion flag turned on, each frame will only render occlusion queries for one eye with an alternating scheme (ie odd frames only left eye, even frames only right eye).
Additionally, the interface for class FPrimitiveOcclusionHistory has been changed along with a slight modification in its implementation. With round-robin occlusion, when extracing history entries we perform a search through the entire history to look for the oldest entry in a primitive's occlusion history.
#jira UEVR-1289
Change 4274206 by Kyle.Fung
Fixed some compiler warnings
#jira UEVR-1289
Change 4275212 by Jason.Bestimt
#DEV-VR - Fixing CIS error (forcing value to bool)
Change 4275973 by Jason.Bestimt
#DEV-VR - Merging CL 4275879 from Partner-Google-VR
GoogleVR 1.170 Release Update.
- Removed reference to GetHMDDeviceType.
- Updated to final version of SDK libraries.
Change 4276154 by Jason.Bestimt
#DEV-VR - fix for CIS warning about PngPtr being used before it is checked
Change 4277171 by Jeff.Fisher
UE-62399 Graphical corruption when opening the debug console
-Switched from the fast hardware clear to the slower shader clear because the slower one works. Perhaps a better fix exists that would make the faster clear work? Costs 60us when debug ui is up, but only when rendering debug to a stereo layer (vr/ar).
#jira UE-62399
#review-4277026
Change 4277633 by Joe.Conley
#jira UE-54565 - "Packaged game/Editor with Stereo Layers crashes when exiting game through steam VR overlay"
Don't call GetStereoLayers if stereo is not enabled.
Change 4277723 by Ryan.Vance
#jira UE-62776
Cleaning up questionable partner code found by SA.
I'm pretty confident the SA warning is a false positive, but there was a lot to fix here regardless.
Change 4280289 by Joe.Graf
Added some "Ignored by ARCore" comments Google requested
Change 4280479 by Joe.Graf
Fixed a member copy step in AppleARKitFrame::operator= that Wanghao reported
Change 4280824 by Jason.Bestimt
#DEV-VR - removing stale comment about ML SDK Settings using defaultengine.ini
Change 4281117 by Jason.Bestimt
#DEV-VR - Removing warnings on LUMIN from trying to load missing modules
#JIRA: UE-62748
Change 4281514 by Jason.Bestimt
#DEV-VR - Moving FunctionalTesting dependency under bCompileAgainstEngine
Change 4281847 by Joe.Graf
Added a UPL file to AppleARKit that modifies the plist to include the requirement of ARKit and request for camera access
#jira: UE-60050, UE-62837
Change 4281945 by Joe.Graf
Removed the ensures from the ARBlueprintLibrary code since the code handles the failure cases properly
#jira: UE-61845, UE-61846
Change 4282098 by Ethan.Geller
#jira UE-62863 fix audio on lumin #rb none
Change 4283974 by Joe.Graf
Deprecated bIsTracked on tracked images and face geo per Google API reunification feedback
Change 4284118 by Jason.Bestimt
#DEV-VR - Moving FunctionalTest dependency to be both non-shipping and CompileAgainstEngine. Allowing FunctionalTesting to be compiled in binary build
Change 4285339 by Ethan.Geller
#jira UE-62087 Whitelist AudioCapture module for mac while not whitelisting the AudioCaptureEditor module, which should only work on Windows.
Change 4286024 by Ryan.Vance
Copying //UE4/Partner-Microsoft-XR to Dev-VR (//UE4/Dev-VR)
Windows mixed reality integration.
Disabled by default
Change 4289812 by Jason.Bestimt
#DEV-VR - Fix for non-unity build issue with windows header
Change 4296399 by Jason.Bestimt
RSync fixes for xml files
#JIRA: UE-62994
Change 4296679 by Jason.Bestimt
#DEV-VR - Fixing remote iOS compile issue with BP projects that require plugins
#JIRA: UE-62967
[CL 4299100 by Jason Bestimt in Main branch]
2018-08-17 19:56:07 -04:00
}
ETrackingStatus FWindowsMixedRealitySpatialInput : : GetControllerTrackingStatus ( const int32 ControllerIndex , const EControllerHand DeviceHand ) const
{
2019-01-28 16:31:25 -05:00
# if WITH_WINDOWS_MIXED_REALITY
2019-06-10 12:22:13 -04:00
HMDHand hand = ( HMDHand ) ( ( int ) DeviceHand ) ;
HMDTrackingStatus trackingStatus = FWindowsMixedRealityStatics : : GetControllerTrackingStatus ( hand ) ;
Copying //UE4/Dev-VR to //UE4/Dev-Main (Source: //UE4/Dev-VR @ 4296730)
#lockdown Nick.Penwarden
============================
MAJOR FEATURES & CHANGES
============================
Change 3775128 by Nick.Atamas
Merging //UE4/Partner-Google-VR @ CL 3770408 to Dev-VR (//UE4/Dev-VR)
Change 4166311 by Jason.Bestimt
#DEV-VR - Merge from //UE4/Dev-MagicLeap/... @ CL 4136411
Change 4185551 by Joe.Graf
Added support to query and specify the desired video format for an AR session
Change 4269190 by Ethan.Geller
[Dev-VR] #jira UE-62644 Deescalate resampling logs to display, and make sure that Lumin does not get Resampling settings from Android runtime settings.
Change 4269386 by Ryan.Vance
#jira UE-62274
We need to recompute the view frustum and related distances if the projection matrix is changed.
Change 4269401 by Ryan.Vance
#jira UE-62155
Debug canvas layer fixes
Change 4270710 by Chance.Ivey
Merging //UE4/Dev-Partner-MagicLeap-4.20 to Dev-VR (//UE4/Dev-VR)
- 4262963
- 4261100
- 4261103
- 4265565
Change 4270822 by Ryan.Vance
#jira UE-61462
Work around for csm shadow culling bug on Lumiun
Change 4271396 by Jason.Bestimt
#DEV-VR - Saving off original MLSDK variable for future editor "restarts" within the same process
#JIRA: UE-58634
Change 4271402 by Jason.Bestimt
#DEV-VR - Making bUseMobileRendering non-editable for binary builds
#JIRA: UE-60956
Change 4271454 by Jason.Bestimt
#DEV-VR - Integrating CL 4239939, 4236178 and 4269702 from Partners-Google-VR
Change 4272387 by Ryan.Vance
#jira UEVR-1281
Oculus 1.28 Plugin changes
Change 4273410 by Jason.Bestimt
#DEV-VR - Fixing MagicLeapSDK Settings to be globaluserconfig (by removing the defaultconfig).
#JIRA: UE-62092
Change 4273929 by Ryan.Vance
#jira UE-62744
Fixing missing includes..
Change 4274147 by Kyle.Fung
Round-robin occlusion queries for stereoscopic rendering
With the vr.RoundRobinOcclusion flag turned on, each frame will only render occlusion queries for one eye with an alternating scheme (ie odd frames only left eye, even frames only right eye).
Additionally, the interface for class FPrimitiveOcclusionHistory has been changed along with a slight modification in its implementation. With round-robin occlusion, when extracing history entries we perform a search through the entire history to look for the oldest entry in a primitive's occlusion history.
#jira UEVR-1289
Change 4274206 by Kyle.Fung
Fixed some compiler warnings
#jira UEVR-1289
Change 4275212 by Jason.Bestimt
#DEV-VR - Fixing CIS error (forcing value to bool)
Change 4275973 by Jason.Bestimt
#DEV-VR - Merging CL 4275879 from Partner-Google-VR
GoogleVR 1.170 Release Update.
- Removed reference to GetHMDDeviceType.
- Updated to final version of SDK libraries.
Change 4276154 by Jason.Bestimt
#DEV-VR - fix for CIS warning about PngPtr being used before it is checked
Change 4277171 by Jeff.Fisher
UE-62399 Graphical corruption when opening the debug console
-Switched from the fast hardware clear to the slower shader clear because the slower one works. Perhaps a better fix exists that would make the faster clear work? Costs 60us when debug ui is up, but only when rendering debug to a stereo layer (vr/ar).
#jira UE-62399
#review-4277026
Change 4277633 by Joe.Conley
#jira UE-54565 - "Packaged game/Editor with Stereo Layers crashes when exiting game through steam VR overlay"
Don't call GetStereoLayers if stereo is not enabled.
Change 4277723 by Ryan.Vance
#jira UE-62776
Cleaning up questionable partner code found by SA.
I'm pretty confident the SA warning is a false positive, but there was a lot to fix here regardless.
Change 4280289 by Joe.Graf
Added some "Ignored by ARCore" comments Google requested
Change 4280479 by Joe.Graf
Fixed a member copy step in AppleARKitFrame::operator= that Wanghao reported
Change 4280824 by Jason.Bestimt
#DEV-VR - removing stale comment about ML SDK Settings using defaultengine.ini
Change 4281117 by Jason.Bestimt
#DEV-VR - Removing warnings on LUMIN from trying to load missing modules
#JIRA: UE-62748
Change 4281514 by Jason.Bestimt
#DEV-VR - Moving FunctionalTesting dependency under bCompileAgainstEngine
Change 4281847 by Joe.Graf
Added a UPL file to AppleARKit that modifies the plist to include the requirement of ARKit and request for camera access
#jira: UE-60050, UE-62837
Change 4281945 by Joe.Graf
Removed the ensures from the ARBlueprintLibrary code since the code handles the failure cases properly
#jira: UE-61845, UE-61846
Change 4282098 by Ethan.Geller
#jira UE-62863 fix audio on lumin #rb none
Change 4283974 by Joe.Graf
Deprecated bIsTracked on tracked images and face geo per Google API reunification feedback
Change 4284118 by Jason.Bestimt
#DEV-VR - Moving FunctionalTest dependency to be both non-shipping and CompileAgainstEngine. Allowing FunctionalTesting to be compiled in binary build
Change 4285339 by Ethan.Geller
#jira UE-62087 Whitelist AudioCapture module for mac while not whitelisting the AudioCaptureEditor module, which should only work on Windows.
Change 4286024 by Ryan.Vance
Copying //UE4/Partner-Microsoft-XR to Dev-VR (//UE4/Dev-VR)
Windows mixed reality integration.
Disabled by default
Change 4289812 by Jason.Bestimt
#DEV-VR - Fix for non-unity build issue with windows header
Change 4296399 by Jason.Bestimt
RSync fixes for xml files
#JIRA: UE-62994
Change 4296679 by Jason.Bestimt
#DEV-VR - Fixing remote iOS compile issue with BP projects that require plugins
#JIRA: UE-62967
[CL 4299100 by Jason Bestimt in Main branch]
2018-08-17 19:56:07 -04:00
return ( ETrackingStatus ) ( ( int ) trackingStatus ) ;
2019-01-28 16:31:25 -05:00
# else
return ETrackingStatus : : NotTracked ;
# endif
Copying //UE4/Dev-VR to //UE4/Dev-Main (Source: //UE4/Dev-VR @ 4296730)
#lockdown Nick.Penwarden
============================
MAJOR FEATURES & CHANGES
============================
Change 3775128 by Nick.Atamas
Merging //UE4/Partner-Google-VR @ CL 3770408 to Dev-VR (//UE4/Dev-VR)
Change 4166311 by Jason.Bestimt
#DEV-VR - Merge from //UE4/Dev-MagicLeap/... @ CL 4136411
Change 4185551 by Joe.Graf
Added support to query and specify the desired video format for an AR session
Change 4269190 by Ethan.Geller
[Dev-VR] #jira UE-62644 Deescalate resampling logs to display, and make sure that Lumin does not get Resampling settings from Android runtime settings.
Change 4269386 by Ryan.Vance
#jira UE-62274
We need to recompute the view frustum and related distances if the projection matrix is changed.
Change 4269401 by Ryan.Vance
#jira UE-62155
Debug canvas layer fixes
Change 4270710 by Chance.Ivey
Merging //UE4/Dev-Partner-MagicLeap-4.20 to Dev-VR (//UE4/Dev-VR)
- 4262963
- 4261100
- 4261103
- 4265565
Change 4270822 by Ryan.Vance
#jira UE-61462
Work around for csm shadow culling bug on Lumiun
Change 4271396 by Jason.Bestimt
#DEV-VR - Saving off original MLSDK variable for future editor "restarts" within the same process
#JIRA: UE-58634
Change 4271402 by Jason.Bestimt
#DEV-VR - Making bUseMobileRendering non-editable for binary builds
#JIRA: UE-60956
Change 4271454 by Jason.Bestimt
#DEV-VR - Integrating CL 4239939, 4236178 and 4269702 from Partners-Google-VR
Change 4272387 by Ryan.Vance
#jira UEVR-1281
Oculus 1.28 Plugin changes
Change 4273410 by Jason.Bestimt
#DEV-VR - Fixing MagicLeapSDK Settings to be globaluserconfig (by removing the defaultconfig).
#JIRA: UE-62092
Change 4273929 by Ryan.Vance
#jira UE-62744
Fixing missing includes..
Change 4274147 by Kyle.Fung
Round-robin occlusion queries for stereoscopic rendering
With the vr.RoundRobinOcclusion flag turned on, each frame will only render occlusion queries for one eye with an alternating scheme (ie odd frames only left eye, even frames only right eye).
Additionally, the interface for class FPrimitiveOcclusionHistory has been changed along with a slight modification in its implementation. With round-robin occlusion, when extracing history entries we perform a search through the entire history to look for the oldest entry in a primitive's occlusion history.
#jira UEVR-1289
Change 4274206 by Kyle.Fung
Fixed some compiler warnings
#jira UEVR-1289
Change 4275212 by Jason.Bestimt
#DEV-VR - Fixing CIS error (forcing value to bool)
Change 4275973 by Jason.Bestimt
#DEV-VR - Merging CL 4275879 from Partner-Google-VR
GoogleVR 1.170 Release Update.
- Removed reference to GetHMDDeviceType.
- Updated to final version of SDK libraries.
Change 4276154 by Jason.Bestimt
#DEV-VR - fix for CIS warning about PngPtr being used before it is checked
Change 4277171 by Jeff.Fisher
UE-62399 Graphical corruption when opening the debug console
-Switched from the fast hardware clear to the slower shader clear because the slower one works. Perhaps a better fix exists that would make the faster clear work? Costs 60us when debug ui is up, but only when rendering debug to a stereo layer (vr/ar).
#jira UE-62399
#review-4277026
Change 4277633 by Joe.Conley
#jira UE-54565 - "Packaged game/Editor with Stereo Layers crashes when exiting game through steam VR overlay"
Don't call GetStereoLayers if stereo is not enabled.
Change 4277723 by Ryan.Vance
#jira UE-62776
Cleaning up questionable partner code found by SA.
I'm pretty confident the SA warning is a false positive, but there was a lot to fix here regardless.
Change 4280289 by Joe.Graf
Added some "Ignored by ARCore" comments Google requested
Change 4280479 by Joe.Graf
Fixed a member copy step in AppleARKitFrame::operator= that Wanghao reported
Change 4280824 by Jason.Bestimt
#DEV-VR - removing stale comment about ML SDK Settings using defaultengine.ini
Change 4281117 by Jason.Bestimt
#DEV-VR - Removing warnings on LUMIN from trying to load missing modules
#JIRA: UE-62748
Change 4281514 by Jason.Bestimt
#DEV-VR - Moving FunctionalTesting dependency under bCompileAgainstEngine
Change 4281847 by Joe.Graf
Added a UPL file to AppleARKit that modifies the plist to include the requirement of ARKit and request for camera access
#jira: UE-60050, UE-62837
Change 4281945 by Joe.Graf
Removed the ensures from the ARBlueprintLibrary code since the code handles the failure cases properly
#jira: UE-61845, UE-61846
Change 4282098 by Ethan.Geller
#jira UE-62863 fix audio on lumin #rb none
Change 4283974 by Joe.Graf
Deprecated bIsTracked on tracked images and face geo per Google API reunification feedback
Change 4284118 by Jason.Bestimt
#DEV-VR - Moving FunctionalTest dependency to be both non-shipping and CompileAgainstEngine. Allowing FunctionalTesting to be compiled in binary build
Change 4285339 by Ethan.Geller
#jira UE-62087 Whitelist AudioCapture module for mac while not whitelisting the AudioCaptureEditor module, which should only work on Windows.
Change 4286024 by Ryan.Vance
Copying //UE4/Partner-Microsoft-XR to Dev-VR (//UE4/Dev-VR)
Windows mixed reality integration.
Disabled by default
Change 4289812 by Jason.Bestimt
#DEV-VR - Fix for non-unity build issue with windows header
Change 4296399 by Jason.Bestimt
RSync fixes for xml files
#JIRA: UE-62994
Change 4296679 by Jason.Bestimt
#DEV-VR - Fixing remote iOS compile issue with BP projects that require plugins
#JIRA: UE-62967
[CL 4299100 by Jason Bestimt in Main branch]
2018-08-17 19:56:07 -04:00
}
void FWindowsMixedRealitySpatialInput : : RegisterKeys ( ) noexcept
{
2019-06-10 12:22:13 -04:00
EKeys : : AddKey ( FKeyDetails ( FSpatialInputKeys : : TapGesture , LOCTEXT ( TapGestureName , " Windows Spatial Input Tap Gesture " ) , FKeyDetails : : GamepadKey ) ) ;
EKeys : : AddKey ( FKeyDetails ( FSpatialInputKeys : : DoubleTapGesture , LOCTEXT ( DoubleTapGestureName , " Windows Spatial Input Double Tap Gesture " ) , FKeyDetails : : GamepadKey ) ) ;
EKeys : : AddKey ( FKeyDetails ( FSpatialInputKeys : : HoldGesture , LOCTEXT ( HoldGestureName , " Windows Spatial Input Hold Gesture " ) , FKeyDetails : : GamepadKey ) ) ;
EKeys : : AddKey ( FKeyDetails ( FSpatialInputKeys : : LeftTapGesture , LOCTEXT ( LeftTapGestureName , " Windows Spatial Input Left Tap Gesture " ) , FKeyDetails : : GamepadKey ) ) ;
EKeys : : AddKey ( FKeyDetails ( FSpatialInputKeys : : LeftDoubleTapGesture , LOCTEXT ( LeftDoubleTapGestureName , " Windows Spatial Input Left Double Tap Gesture " ) , FKeyDetails : : GamepadKey ) ) ;
EKeys : : AddKey ( FKeyDetails ( FSpatialInputKeys : : LeftHoldGesture , LOCTEXT ( LeftHoldGestureName , " Windows Spatial Input Left Hold Gesture " ) , FKeyDetails : : GamepadKey ) ) ;
EKeys : : AddKey ( FKeyDetails ( FSpatialInputKeys : : RightTapGesture , LOCTEXT ( RightTapGestureName , " Windows Spatial Input Right Tap Gesture " ) , FKeyDetails : : GamepadKey ) ) ;
EKeys : : AddKey ( FKeyDetails ( FSpatialInputKeys : : RightDoubleTapGesture , LOCTEXT ( RightDoubleTapGestureName , " Windows Spatial Input Right Double Tap Gesture " ) , FKeyDetails : : GamepadKey ) ) ;
EKeys : : AddKey ( FKeyDetails ( FSpatialInputKeys : : RightHoldGesture , LOCTEXT ( RightHoldGestureName , " Windows Spatial Input Right Hold Gesture " ) , FKeyDetails : : GamepadKey ) ) ;
EKeys : : AddKey ( FKeyDetails ( FSpatialInputKeys : : LeftManipulationGesture , LOCTEXT ( LeftManipulationGestureName , " Windows Spatial Input Left Manipulation Gesture " ) , FKeyDetails : : GamepadKey ) ) ;
2020-08-11 01:36:57 -04:00
EKeys : : AddKey ( FKeyDetails ( FSpatialInputKeys : : LeftManipulationXGesture , LOCTEXT ( LeftManipulationXGestureName , " Windows Spatial Input Left Manipulation X Gesture " ) , FKeyDetails : : GamepadKey | FKeyDetails : : Axis1D ) ) ;
EKeys : : AddKey ( FKeyDetails ( FSpatialInputKeys : : LeftManipulationYGesture , LOCTEXT ( LeftManipulationYGestureName , " Windows Spatial Input Left Manipulation Y Gesture " ) , FKeyDetails : : GamepadKey | FKeyDetails : : Axis1D ) ) ;
EKeys : : AddKey ( FKeyDetails ( FSpatialInputKeys : : LeftManipulationZGesture , LOCTEXT ( LeftManipulationZGestureName , " Windows Spatial Input Left Manipulation Z Gesture " ) , FKeyDetails : : GamepadKey | FKeyDetails : : Axis1D ) ) ;
2019-06-10 12:22:13 -04:00
EKeys : : AddKey ( FKeyDetails ( FSpatialInputKeys : : LeftNavigationGesture , LOCTEXT ( LeftNavigationGestureName , " Windows Spatial Input Left Navigation Gesture " ) , FKeyDetails : : GamepadKey ) ) ;
2020-08-11 01:36:57 -04:00
EKeys : : AddKey ( FKeyDetails ( FSpatialInputKeys : : LeftNavigationXGesture , LOCTEXT ( LeftNavigationXGestureName , " Windows Spatial Input Left Navigation X Gesture " ) , FKeyDetails : : GamepadKey | FKeyDetails : : Axis1D ) ) ;
EKeys : : AddKey ( FKeyDetails ( FSpatialInputKeys : : LeftNavigationYGesture , LOCTEXT ( LeftNavigationYGestureName , " Windows Spatial Input Left Navigation Y Gesture " ) , FKeyDetails : : GamepadKey | FKeyDetails : : Axis1D ) ) ;
EKeys : : AddKey ( FKeyDetails ( FSpatialInputKeys : : LeftNavigationZGesture , LOCTEXT ( LeftNavigationZGestureName , " Windows Spatial Input Left Navigation Z Gesture " ) , FKeyDetails : : GamepadKey | FKeyDetails : : Axis1D ) ) ;
2019-06-10 12:22:13 -04:00
EKeys : : AddKey ( FKeyDetails ( FSpatialInputKeys : : RightManipulationGesture , LOCTEXT ( RightManipulationGestureName , " Windows Spatial Input Right Manipulation Gesture " ) , FKeyDetails : : GamepadKey ) ) ;
2020-08-11 01:36:57 -04:00
EKeys : : AddKey ( FKeyDetails ( FSpatialInputKeys : : RightManipulationXGesture , LOCTEXT ( RightManipulationXGestureName , " Windows Spatial Input Right Manipulation X Gesture " ) , FKeyDetails : : GamepadKey | FKeyDetails : : Axis1D ) ) ;
EKeys : : AddKey ( FKeyDetails ( FSpatialInputKeys : : RightManipulationYGesture , LOCTEXT ( RightManipulationYGestureName , " Windows Spatial Input Right Manipulation Y Gesture " ) , FKeyDetails : : GamepadKey | FKeyDetails : : Axis1D ) ) ;
EKeys : : AddKey ( FKeyDetails ( FSpatialInputKeys : : RightManipulationZGesture , LOCTEXT ( RightManipulationZGestureName , " Windows Spatial Input Right Manipulation Z Gesture " ) , FKeyDetails : : GamepadKey | FKeyDetails : : Axis1D ) ) ;
2019-06-10 12:22:13 -04:00
EKeys : : AddKey ( FKeyDetails ( FSpatialInputKeys : : RightNavigationGesture , LOCTEXT ( RightNavigationGestureName , " Windows Spatial Input Right Navigation Gesture " ) , FKeyDetails : : GamepadKey ) ) ;
2020-08-11 01:36:57 -04:00
EKeys : : AddKey ( FKeyDetails ( FSpatialInputKeys : : RightNavigationXGesture , LOCTEXT ( RightNavigationXGestureName , " Windows Spatial Input Right Navigation X Gesture " ) , FKeyDetails : : GamepadKey | FKeyDetails : : Axis1D ) ) ;
EKeys : : AddKey ( FKeyDetails ( FSpatialInputKeys : : RightNavigationYGesture , LOCTEXT ( RightNavigationYGestureName , " Windows Spatial Input Right Navigation Y Gesture " ) , FKeyDetails : : GamepadKey | FKeyDetails : : Axis1D ) ) ;
EKeys : : AddKey ( FKeyDetails ( FSpatialInputKeys : : RightNavigationZGesture , LOCTEXT ( RightNavigationZGestureName , " Windows Spatial Input Right Navigation Z Gesture " ) , FKeyDetails : : GamepadKey | FKeyDetails : : Axis1D ) ) ;
Copying //UE4/Dev-VR to //UE4/Dev-Main (Source: //UE4/Dev-VR @ 4296730)
#lockdown Nick.Penwarden
============================
MAJOR FEATURES & CHANGES
============================
Change 3775128 by Nick.Atamas
Merging //UE4/Partner-Google-VR @ CL 3770408 to Dev-VR (//UE4/Dev-VR)
Change 4166311 by Jason.Bestimt
#DEV-VR - Merge from //UE4/Dev-MagicLeap/... @ CL 4136411
Change 4185551 by Joe.Graf
Added support to query and specify the desired video format for an AR session
Change 4269190 by Ethan.Geller
[Dev-VR] #jira UE-62644 Deescalate resampling logs to display, and make sure that Lumin does not get Resampling settings from Android runtime settings.
Change 4269386 by Ryan.Vance
#jira UE-62274
We need to recompute the view frustum and related distances if the projection matrix is changed.
Change 4269401 by Ryan.Vance
#jira UE-62155
Debug canvas layer fixes
Change 4270710 by Chance.Ivey
Merging //UE4/Dev-Partner-MagicLeap-4.20 to Dev-VR (//UE4/Dev-VR)
- 4262963
- 4261100
- 4261103
- 4265565
Change 4270822 by Ryan.Vance
#jira UE-61462
Work around for csm shadow culling bug on Lumiun
Change 4271396 by Jason.Bestimt
#DEV-VR - Saving off original MLSDK variable for future editor "restarts" within the same process
#JIRA: UE-58634
Change 4271402 by Jason.Bestimt
#DEV-VR - Making bUseMobileRendering non-editable for binary builds
#JIRA: UE-60956
Change 4271454 by Jason.Bestimt
#DEV-VR - Integrating CL 4239939, 4236178 and 4269702 from Partners-Google-VR
Change 4272387 by Ryan.Vance
#jira UEVR-1281
Oculus 1.28 Plugin changes
Change 4273410 by Jason.Bestimt
#DEV-VR - Fixing MagicLeapSDK Settings to be globaluserconfig (by removing the defaultconfig).
#JIRA: UE-62092
Change 4273929 by Ryan.Vance
#jira UE-62744
Fixing missing includes..
Change 4274147 by Kyle.Fung
Round-robin occlusion queries for stereoscopic rendering
With the vr.RoundRobinOcclusion flag turned on, each frame will only render occlusion queries for one eye with an alternating scheme (ie odd frames only left eye, even frames only right eye).
Additionally, the interface for class FPrimitiveOcclusionHistory has been changed along with a slight modification in its implementation. With round-robin occlusion, when extracing history entries we perform a search through the entire history to look for the oldest entry in a primitive's occlusion history.
#jira UEVR-1289
Change 4274206 by Kyle.Fung
Fixed some compiler warnings
#jira UEVR-1289
Change 4275212 by Jason.Bestimt
#DEV-VR - Fixing CIS error (forcing value to bool)
Change 4275973 by Jason.Bestimt
#DEV-VR - Merging CL 4275879 from Partner-Google-VR
GoogleVR 1.170 Release Update.
- Removed reference to GetHMDDeviceType.
- Updated to final version of SDK libraries.
Change 4276154 by Jason.Bestimt
#DEV-VR - fix for CIS warning about PngPtr being used before it is checked
Change 4277171 by Jeff.Fisher
UE-62399 Graphical corruption when opening the debug console
-Switched from the fast hardware clear to the slower shader clear because the slower one works. Perhaps a better fix exists that would make the faster clear work? Costs 60us when debug ui is up, but only when rendering debug to a stereo layer (vr/ar).
#jira UE-62399
#review-4277026
Change 4277633 by Joe.Conley
#jira UE-54565 - "Packaged game/Editor with Stereo Layers crashes when exiting game through steam VR overlay"
Don't call GetStereoLayers if stereo is not enabled.
Change 4277723 by Ryan.Vance
#jira UE-62776
Cleaning up questionable partner code found by SA.
I'm pretty confident the SA warning is a false positive, but there was a lot to fix here regardless.
Change 4280289 by Joe.Graf
Added some "Ignored by ARCore" comments Google requested
Change 4280479 by Joe.Graf
Fixed a member copy step in AppleARKitFrame::operator= that Wanghao reported
Change 4280824 by Jason.Bestimt
#DEV-VR - removing stale comment about ML SDK Settings using defaultengine.ini
Change 4281117 by Jason.Bestimt
#DEV-VR - Removing warnings on LUMIN from trying to load missing modules
#JIRA: UE-62748
Change 4281514 by Jason.Bestimt
#DEV-VR - Moving FunctionalTesting dependency under bCompileAgainstEngine
Change 4281847 by Joe.Graf
Added a UPL file to AppleARKit that modifies the plist to include the requirement of ARKit and request for camera access
#jira: UE-60050, UE-62837
Change 4281945 by Joe.Graf
Removed the ensures from the ARBlueprintLibrary code since the code handles the failure cases properly
#jira: UE-61845, UE-61846
Change 4282098 by Ethan.Geller
#jira UE-62863 fix audio on lumin #rb none
Change 4283974 by Joe.Graf
Deprecated bIsTracked on tracked images and face geo per Google API reunification feedback
Change 4284118 by Jason.Bestimt
#DEV-VR - Moving FunctionalTest dependency to be both non-shipping and CompileAgainstEngine. Allowing FunctionalTesting to be compiled in binary build
Change 4285339 by Ethan.Geller
#jira UE-62087 Whitelist AudioCapture module for mac while not whitelisting the AudioCaptureEditor module, which should only work on Windows.
Change 4286024 by Ryan.Vance
Copying //UE4/Partner-Microsoft-XR to Dev-VR (//UE4/Dev-VR)
Windows mixed reality integration.
Disabled by default
Change 4289812 by Jason.Bestimt
#DEV-VR - Fix for non-unity build issue with windows header
Change 4296399 by Jason.Bestimt
RSync fixes for xml files
#JIRA: UE-62994
Change 4296679 by Jason.Bestimt
#DEV-VR - Fixing remote iOS compile issue with BP projects that require plugins
#JIRA: UE-62967
[CL 4299100 by Jason Bestimt in Main branch]
2018-08-17 19:56:07 -04:00
}
void FWindowsMixedRealitySpatialInput : : InitializeSpatialInput ( ) noexcept
{
if ( IsInitialized | |
! FWindowsMixedRealityStatics : : SupportsSpatialInput ( ) )
{
return ;
}
IModularFeatures : : Get ( ) . RegisterModularFeature ( GetModularFeatureName ( ) , this ) ;
2019-07-26 15:20:42 -04:00
# if SUPPORTS_WINDOWS_MIXED_REALITY_GESTURES
2019-11-14 12:29:04 -05:00
GestureRecognizer = MakeUnique < GestureRecognizerInterop > ( ) ;
2019-06-10 12:22:13 -04:00
# endif
Copying //UE4/Dev-VR to //UE4/Dev-Main (Source: //UE4/Dev-VR @ 4296730)
#lockdown Nick.Penwarden
============================
MAJOR FEATURES & CHANGES
============================
Change 3775128 by Nick.Atamas
Merging //UE4/Partner-Google-VR @ CL 3770408 to Dev-VR (//UE4/Dev-VR)
Change 4166311 by Jason.Bestimt
#DEV-VR - Merge from //UE4/Dev-MagicLeap/... @ CL 4136411
Change 4185551 by Joe.Graf
Added support to query and specify the desired video format for an AR session
Change 4269190 by Ethan.Geller
[Dev-VR] #jira UE-62644 Deescalate resampling logs to display, and make sure that Lumin does not get Resampling settings from Android runtime settings.
Change 4269386 by Ryan.Vance
#jira UE-62274
We need to recompute the view frustum and related distances if the projection matrix is changed.
Change 4269401 by Ryan.Vance
#jira UE-62155
Debug canvas layer fixes
Change 4270710 by Chance.Ivey
Merging //UE4/Dev-Partner-MagicLeap-4.20 to Dev-VR (//UE4/Dev-VR)
- 4262963
- 4261100
- 4261103
- 4265565
Change 4270822 by Ryan.Vance
#jira UE-61462
Work around for csm shadow culling bug on Lumiun
Change 4271396 by Jason.Bestimt
#DEV-VR - Saving off original MLSDK variable for future editor "restarts" within the same process
#JIRA: UE-58634
Change 4271402 by Jason.Bestimt
#DEV-VR - Making bUseMobileRendering non-editable for binary builds
#JIRA: UE-60956
Change 4271454 by Jason.Bestimt
#DEV-VR - Integrating CL 4239939, 4236178 and 4269702 from Partners-Google-VR
Change 4272387 by Ryan.Vance
#jira UEVR-1281
Oculus 1.28 Plugin changes
Change 4273410 by Jason.Bestimt
#DEV-VR - Fixing MagicLeapSDK Settings to be globaluserconfig (by removing the defaultconfig).
#JIRA: UE-62092
Change 4273929 by Ryan.Vance
#jira UE-62744
Fixing missing includes..
Change 4274147 by Kyle.Fung
Round-robin occlusion queries for stereoscopic rendering
With the vr.RoundRobinOcclusion flag turned on, each frame will only render occlusion queries for one eye with an alternating scheme (ie odd frames only left eye, even frames only right eye).
Additionally, the interface for class FPrimitiveOcclusionHistory has been changed along with a slight modification in its implementation. With round-robin occlusion, when extracing history entries we perform a search through the entire history to look for the oldest entry in a primitive's occlusion history.
#jira UEVR-1289
Change 4274206 by Kyle.Fung
Fixed some compiler warnings
#jira UEVR-1289
Change 4275212 by Jason.Bestimt
#DEV-VR - Fixing CIS error (forcing value to bool)
Change 4275973 by Jason.Bestimt
#DEV-VR - Merging CL 4275879 from Partner-Google-VR
GoogleVR 1.170 Release Update.
- Removed reference to GetHMDDeviceType.
- Updated to final version of SDK libraries.
Change 4276154 by Jason.Bestimt
#DEV-VR - fix for CIS warning about PngPtr being used before it is checked
Change 4277171 by Jeff.Fisher
UE-62399 Graphical corruption when opening the debug console
-Switched from the fast hardware clear to the slower shader clear because the slower one works. Perhaps a better fix exists that would make the faster clear work? Costs 60us when debug ui is up, but only when rendering debug to a stereo layer (vr/ar).
#jira UE-62399
#review-4277026
Change 4277633 by Joe.Conley
#jira UE-54565 - "Packaged game/Editor with Stereo Layers crashes when exiting game through steam VR overlay"
Don't call GetStereoLayers if stereo is not enabled.
Change 4277723 by Ryan.Vance
#jira UE-62776
Cleaning up questionable partner code found by SA.
I'm pretty confident the SA warning is a false positive, but there was a lot to fix here regardless.
Change 4280289 by Joe.Graf
Added some "Ignored by ARCore" comments Google requested
Change 4280479 by Joe.Graf
Fixed a member copy step in AppleARKitFrame::operator= that Wanghao reported
Change 4280824 by Jason.Bestimt
#DEV-VR - removing stale comment about ML SDK Settings using defaultengine.ini
Change 4281117 by Jason.Bestimt
#DEV-VR - Removing warnings on LUMIN from trying to load missing modules
#JIRA: UE-62748
Change 4281514 by Jason.Bestimt
#DEV-VR - Moving FunctionalTesting dependency under bCompileAgainstEngine
Change 4281847 by Joe.Graf
Added a UPL file to AppleARKit that modifies the plist to include the requirement of ARKit and request for camera access
#jira: UE-60050, UE-62837
Change 4281945 by Joe.Graf
Removed the ensures from the ARBlueprintLibrary code since the code handles the failure cases properly
#jira: UE-61845, UE-61846
Change 4282098 by Ethan.Geller
#jira UE-62863 fix audio on lumin #rb none
Change 4283974 by Joe.Graf
Deprecated bIsTracked on tracked images and face geo per Google API reunification feedback
Change 4284118 by Jason.Bestimt
#DEV-VR - Moving FunctionalTest dependency to be both non-shipping and CompileAgainstEngine. Allowing FunctionalTesting to be compiled in binary build
Change 4285339 by Ethan.Geller
#jira UE-62087 Whitelist AudioCapture module for mac while not whitelisting the AudioCaptureEditor module, which should only work on Windows.
Change 4286024 by Ryan.Vance
Copying //UE4/Partner-Microsoft-XR to Dev-VR (//UE4/Dev-VR)
Windows mixed reality integration.
Disabled by default
Change 4289812 by Jason.Bestimt
#DEV-VR - Fix for non-unity build issue with windows header
Change 4296399 by Jason.Bestimt
RSync fixes for xml files
#JIRA: UE-62994
Change 4296679 by Jason.Bestimt
#DEV-VR - Fixing remote iOS compile issue with BP projects that require plugins
#JIRA: UE-62967
[CL 4299100 by Jason Bestimt in Main branch]
2018-08-17 19:56:07 -04:00
IsInitialized = true ;
}
void FWindowsMixedRealitySpatialInput : : UninitializeSpatialInput ( ) noexcept
{
if ( ! IsInitialized )
{
return ;
}
2020-08-11 01:36:57 -04:00
2019-07-26 15:20:42 -04:00
# if SUPPORTS_WINDOWS_MIXED_REALITY_GESTURES
2019-11-14 12:29:04 -05:00
GestureRecognizer = nullptr ;
2019-06-10 12:22:13 -04:00
# endif
Copying //UE4/Dev-VR to //UE4/Dev-Main (Source: //UE4/Dev-VR @ 4296730)
#lockdown Nick.Penwarden
============================
MAJOR FEATURES & CHANGES
============================
Change 3775128 by Nick.Atamas
Merging //UE4/Partner-Google-VR @ CL 3770408 to Dev-VR (//UE4/Dev-VR)
Change 4166311 by Jason.Bestimt
#DEV-VR - Merge from //UE4/Dev-MagicLeap/... @ CL 4136411
Change 4185551 by Joe.Graf
Added support to query and specify the desired video format for an AR session
Change 4269190 by Ethan.Geller
[Dev-VR] #jira UE-62644 Deescalate resampling logs to display, and make sure that Lumin does not get Resampling settings from Android runtime settings.
Change 4269386 by Ryan.Vance
#jira UE-62274
We need to recompute the view frustum and related distances if the projection matrix is changed.
Change 4269401 by Ryan.Vance
#jira UE-62155
Debug canvas layer fixes
Change 4270710 by Chance.Ivey
Merging //UE4/Dev-Partner-MagicLeap-4.20 to Dev-VR (//UE4/Dev-VR)
- 4262963
- 4261100
- 4261103
- 4265565
Change 4270822 by Ryan.Vance
#jira UE-61462
Work around for csm shadow culling bug on Lumiun
Change 4271396 by Jason.Bestimt
#DEV-VR - Saving off original MLSDK variable for future editor "restarts" within the same process
#JIRA: UE-58634
Change 4271402 by Jason.Bestimt
#DEV-VR - Making bUseMobileRendering non-editable for binary builds
#JIRA: UE-60956
Change 4271454 by Jason.Bestimt
#DEV-VR - Integrating CL 4239939, 4236178 and 4269702 from Partners-Google-VR
Change 4272387 by Ryan.Vance
#jira UEVR-1281
Oculus 1.28 Plugin changes
Change 4273410 by Jason.Bestimt
#DEV-VR - Fixing MagicLeapSDK Settings to be globaluserconfig (by removing the defaultconfig).
#JIRA: UE-62092
Change 4273929 by Ryan.Vance
#jira UE-62744
Fixing missing includes..
Change 4274147 by Kyle.Fung
Round-robin occlusion queries for stereoscopic rendering
With the vr.RoundRobinOcclusion flag turned on, each frame will only render occlusion queries for one eye with an alternating scheme (ie odd frames only left eye, even frames only right eye).
Additionally, the interface for class FPrimitiveOcclusionHistory has been changed along with a slight modification in its implementation. With round-robin occlusion, when extracing history entries we perform a search through the entire history to look for the oldest entry in a primitive's occlusion history.
#jira UEVR-1289
Change 4274206 by Kyle.Fung
Fixed some compiler warnings
#jira UEVR-1289
Change 4275212 by Jason.Bestimt
#DEV-VR - Fixing CIS error (forcing value to bool)
Change 4275973 by Jason.Bestimt
#DEV-VR - Merging CL 4275879 from Partner-Google-VR
GoogleVR 1.170 Release Update.
- Removed reference to GetHMDDeviceType.
- Updated to final version of SDK libraries.
Change 4276154 by Jason.Bestimt
#DEV-VR - fix for CIS warning about PngPtr being used before it is checked
Change 4277171 by Jeff.Fisher
UE-62399 Graphical corruption when opening the debug console
-Switched from the fast hardware clear to the slower shader clear because the slower one works. Perhaps a better fix exists that would make the faster clear work? Costs 60us when debug ui is up, but only when rendering debug to a stereo layer (vr/ar).
#jira UE-62399
#review-4277026
Change 4277633 by Joe.Conley
#jira UE-54565 - "Packaged game/Editor with Stereo Layers crashes when exiting game through steam VR overlay"
Don't call GetStereoLayers if stereo is not enabled.
Change 4277723 by Ryan.Vance
#jira UE-62776
Cleaning up questionable partner code found by SA.
I'm pretty confident the SA warning is a false positive, but there was a lot to fix here regardless.
Change 4280289 by Joe.Graf
Added some "Ignored by ARCore" comments Google requested
Change 4280479 by Joe.Graf
Fixed a member copy step in AppleARKitFrame::operator= that Wanghao reported
Change 4280824 by Jason.Bestimt
#DEV-VR - removing stale comment about ML SDK Settings using defaultengine.ini
Change 4281117 by Jason.Bestimt
#DEV-VR - Removing warnings on LUMIN from trying to load missing modules
#JIRA: UE-62748
Change 4281514 by Jason.Bestimt
#DEV-VR - Moving FunctionalTesting dependency under bCompileAgainstEngine
Change 4281847 by Joe.Graf
Added a UPL file to AppleARKit that modifies the plist to include the requirement of ARKit and request for camera access
#jira: UE-60050, UE-62837
Change 4281945 by Joe.Graf
Removed the ensures from the ARBlueprintLibrary code since the code handles the failure cases properly
#jira: UE-61845, UE-61846
Change 4282098 by Ethan.Geller
#jira UE-62863 fix audio on lumin #rb none
Change 4283974 by Joe.Graf
Deprecated bIsTracked on tracked images and face geo per Google API reunification feedback
Change 4284118 by Jason.Bestimt
#DEV-VR - Moving FunctionalTest dependency to be both non-shipping and CompileAgainstEngine. Allowing FunctionalTesting to be compiled in binary build
Change 4285339 by Ethan.Geller
#jira UE-62087 Whitelist AudioCapture module for mac while not whitelisting the AudioCaptureEditor module, which should only work on Windows.
Change 4286024 by Ryan.Vance
Copying //UE4/Partner-Microsoft-XR to Dev-VR (//UE4/Dev-VR)
Windows mixed reality integration.
Disabled by default
Change 4289812 by Jason.Bestimt
#DEV-VR - Fix for non-unity build issue with windows header
Change 4296399 by Jason.Bestimt
RSync fixes for xml files
#JIRA: UE-62994
Change 4296679 by Jason.Bestimt
#DEV-VR - Fixing remote iOS compile issue with BP projects that require plugins
#JIRA: UE-62967
[CL 4299100 by Jason Bestimt in Main branch]
2018-08-17 19:56:07 -04:00
IModularFeatures : : Get ( ) . UnregisterModularFeature ( GetModularFeatureName ( ) , this ) ;
}
2019-06-10 12:22:13 -04:00
bool FWindowsMixedRealitySpatialInput : : GetHandJointPosition ( const FName MotionSource , const int32 jointIndex , FVector & OutPosition ) const
{
# if WITH_WINDOWS_MIXED_REALITY
EControllerHand DeviceHand ;
if ( GetHandEnumForSourceName ( MotionSource , DeviceHand ) )
{
FRotator outRotator ;
2020-02-12 13:27:19 -05:00
float outRadius ;
return FWindowsMixedRealityStatics : : GetHandJointOrientationAndPosition ( ( HMDHand ) DeviceHand , ( HMDHandJoint ) jointIndex , outRotator , OutPosition , outRadius ) ;
2019-06-10 12:22:13 -04:00
}
# endif
return false ;
}
Copying //UE4/Dev-VR to //UE4/Dev-Main (Source: //UE4/Dev-VR @ 4296730)
#lockdown Nick.Penwarden
============================
MAJOR FEATURES & CHANGES
============================
Change 3775128 by Nick.Atamas
Merging //UE4/Partner-Google-VR @ CL 3770408 to Dev-VR (//UE4/Dev-VR)
Change 4166311 by Jason.Bestimt
#DEV-VR - Merge from //UE4/Dev-MagicLeap/... @ CL 4136411
Change 4185551 by Joe.Graf
Added support to query and specify the desired video format for an AR session
Change 4269190 by Ethan.Geller
[Dev-VR] #jira UE-62644 Deescalate resampling logs to display, and make sure that Lumin does not get Resampling settings from Android runtime settings.
Change 4269386 by Ryan.Vance
#jira UE-62274
We need to recompute the view frustum and related distances if the projection matrix is changed.
Change 4269401 by Ryan.Vance
#jira UE-62155
Debug canvas layer fixes
Change 4270710 by Chance.Ivey
Merging //UE4/Dev-Partner-MagicLeap-4.20 to Dev-VR (//UE4/Dev-VR)
- 4262963
- 4261100
- 4261103
- 4265565
Change 4270822 by Ryan.Vance
#jira UE-61462
Work around for csm shadow culling bug on Lumiun
Change 4271396 by Jason.Bestimt
#DEV-VR - Saving off original MLSDK variable for future editor "restarts" within the same process
#JIRA: UE-58634
Change 4271402 by Jason.Bestimt
#DEV-VR - Making bUseMobileRendering non-editable for binary builds
#JIRA: UE-60956
Change 4271454 by Jason.Bestimt
#DEV-VR - Integrating CL 4239939, 4236178 and 4269702 from Partners-Google-VR
Change 4272387 by Ryan.Vance
#jira UEVR-1281
Oculus 1.28 Plugin changes
Change 4273410 by Jason.Bestimt
#DEV-VR - Fixing MagicLeapSDK Settings to be globaluserconfig (by removing the defaultconfig).
#JIRA: UE-62092
Change 4273929 by Ryan.Vance
#jira UE-62744
Fixing missing includes..
Change 4274147 by Kyle.Fung
Round-robin occlusion queries for stereoscopic rendering
With the vr.RoundRobinOcclusion flag turned on, each frame will only render occlusion queries for one eye with an alternating scheme (ie odd frames only left eye, even frames only right eye).
Additionally, the interface for class FPrimitiveOcclusionHistory has been changed along with a slight modification in its implementation. With round-robin occlusion, when extracing history entries we perform a search through the entire history to look for the oldest entry in a primitive's occlusion history.
#jira UEVR-1289
Change 4274206 by Kyle.Fung
Fixed some compiler warnings
#jira UEVR-1289
Change 4275212 by Jason.Bestimt
#DEV-VR - Fixing CIS error (forcing value to bool)
Change 4275973 by Jason.Bestimt
#DEV-VR - Merging CL 4275879 from Partner-Google-VR
GoogleVR 1.170 Release Update.
- Removed reference to GetHMDDeviceType.
- Updated to final version of SDK libraries.
Change 4276154 by Jason.Bestimt
#DEV-VR - fix for CIS warning about PngPtr being used before it is checked
Change 4277171 by Jeff.Fisher
UE-62399 Graphical corruption when opening the debug console
-Switched from the fast hardware clear to the slower shader clear because the slower one works. Perhaps a better fix exists that would make the faster clear work? Costs 60us when debug ui is up, but only when rendering debug to a stereo layer (vr/ar).
#jira UE-62399
#review-4277026
Change 4277633 by Joe.Conley
#jira UE-54565 - "Packaged game/Editor with Stereo Layers crashes when exiting game through steam VR overlay"
Don't call GetStereoLayers if stereo is not enabled.
Change 4277723 by Ryan.Vance
#jira UE-62776
Cleaning up questionable partner code found by SA.
I'm pretty confident the SA warning is a false positive, but there was a lot to fix here regardless.
Change 4280289 by Joe.Graf
Added some "Ignored by ARCore" comments Google requested
Change 4280479 by Joe.Graf
Fixed a member copy step in AppleARKitFrame::operator= that Wanghao reported
Change 4280824 by Jason.Bestimt
#DEV-VR - removing stale comment about ML SDK Settings using defaultengine.ini
Change 4281117 by Jason.Bestimt
#DEV-VR - Removing warnings on LUMIN from trying to load missing modules
#JIRA: UE-62748
Change 4281514 by Jason.Bestimt
#DEV-VR - Moving FunctionalTesting dependency under bCompileAgainstEngine
Change 4281847 by Joe.Graf
Added a UPL file to AppleARKit that modifies the plist to include the requirement of ARKit and request for camera access
#jira: UE-60050, UE-62837
Change 4281945 by Joe.Graf
Removed the ensures from the ARBlueprintLibrary code since the code handles the failure cases properly
#jira: UE-61845, UE-61846
Change 4282098 by Ethan.Geller
#jira UE-62863 fix audio on lumin #rb none
Change 4283974 by Joe.Graf
Deprecated bIsTracked on tracked images and face geo per Google API reunification feedback
Change 4284118 by Jason.Bestimt
#DEV-VR - Moving FunctionalTest dependency to be both non-shipping and CompileAgainstEngine. Allowing FunctionalTesting to be compiled in binary build
Change 4285339 by Ethan.Geller
#jira UE-62087 Whitelist AudioCapture module for mac while not whitelisting the AudioCaptureEditor module, which should only work on Windows.
Change 4286024 by Ryan.Vance
Copying //UE4/Partner-Microsoft-XR to Dev-VR (//UE4/Dev-VR)
Windows mixed reality integration.
Disabled by default
Change 4289812 by Jason.Bestimt
#DEV-VR - Fix for non-unity build issue with windows header
Change 4296399 by Jason.Bestimt
RSync fixes for xml files
#JIRA: UE-62994
Change 4296679 by Jason.Bestimt
#DEV-VR - Fixing remote iOS compile issue with BP projects that require plugins
#JIRA: UE-62967
[CL 4299100 by Jason Bestimt in Main branch]
2018-08-17 19:56:07 -04:00
}
# undef LOCTEXT_NAMESPACE // "WindowsMixedRealitySpatialInput"