133 Commits

Author SHA1 Message Date
henrik karlsson
562dc45ab9 [Engine]
* Moved dllexport from type to methods/staticvar in all Engine runtime code. This improves compile times, memory and performance in dll builds

[CL 26082288 by henrik karlsson in 5.3 branch]
2023-06-17 18:14:12 -04:00
henrik karlsson
541c9938bd [Engine]
* Moved dll export from type to methods/static variables. This is changelist is produced by a script and contains 900+ files.

#rb none

[CL 25898513 by henrik karlsson in ue5-main branch]
2023-06-09 13:36:39 -04:00
ben hoffman
5411b8c17f Mark the FKey::KeyName as EditAnywhere so that its value is correctly propegated if it is changed on a subobject. Without this, the KeyName property will be filtered out when determining if a property has changed on a subobject, leading to an unusable UPROPERTY. This has no effect visually in the editor since the FKey has a custom details row.
#jira UE-167134
#rb trivial
#preflight skip
[FYI] ben.zeigler

[CL 25339727 by ben hoffman in ue5-main branch]
2023-05-04 14:50:00 -04:00
Francis Hurteau
febc04ca18 Activating truncation warnings for
Analytics, AnalyticsET, Cbor, Serialization, XMLParser, DerivedDataEditor, DirectoryWatcher, LogVisualizer, InputCore

fixing a few addtional truncation warnings in SDerivedDataDialogs

#jira UE-166274
#rb Devin.Doucette
#preflight 63c05622305002c6417a8bd3

[CL 23668557 by Francis Hurteau in ue5-main branch]
2023-01-12 15:27:09 -05:00
francis hurteau
239f9e142c Truncation warning fixes for multiple core modules:
Analytics, AnalyticsET, Cbor, Serialization, XMLParser, DerivedDataEditor, DirectoryWatcher, LogVisualizer, OutputLog, InputCore

#jira UE-166274
#rb Devin.Doucette
#preflight 63c01436d862fdd347e2dd74

[CL 23664694 by francis hurteau in ue5-main branch]
2023-01-12 11:57:28 -05:00
henrik karlsson
56431d6609 [CoreUObject/Core]
* Removed CoreMinimal.h include from a ton of headers all the way to Actor.h. This shaved off 15% of the compile time of small files that has uht markup.

#preflight 63b915baaf3ebedd9931496e
#rb none

[CL 23607296 by henrik karlsson in ue5-main branch]
2023-01-07 04:08:49 -05:00
Bryan sefcik
80f80e7a25 Updated the underlying types for regular and namespaced enums.
#jira
#preflight 638e6d479549ddaa2822be9a

[CL 23421568 by Bryan sefcik in ue5-main branch]
2022-12-06 19:43:59 -05:00
steve robb
8b340797ba Removed PPF_ExportCpp, which is a vestige of the blueprint C++ compiler.
#rb robert.manuszewski
#jira UE-129532
#preflight 637f939bcc307d6fa55e42c1

[CL 23263272 by steve robb in ue5-main branch]
2022-11-24 20:01:58 -05:00
joe pribele
1d8537f20b changed PRAGMA_DISABLE_OPTIMIZATION to UE_DISABLE_OPTIMIZATION_SHIP
#preflight 6372ba60ee4d25f90ae3d207

[CL 23128414 by joe pribele in ue5-main branch]
2022-11-14 17:31:05 -05:00
Jules Blok
32a3446469 LiveLinkXR API changes and refactors
- Refactor XrPath manipulation using a new FOpenXRPath utility class
- Allow XrSpace to be queried from OpenXRHMD
- Rename Special motion sources to the body tracking roles

#jira UE-147549
#rb christopher.fiala
#preflight 6340a4182a0a2c1ead9dbf48

[CL 22411907 by Jules Blok in ue5-main branch]
2022-10-07 18:46:18 -04:00
zach brockway
d1640a601a OpenXR / InputCore: Deprecate XR system click/touch FKeys, which cannot be bound in OpenXR.
#jira UE-166091
#rb Jules.Blok
#preflight 633e1d28a712a61df10a7e22

[CL 22388791 by zach brockway in ue5-main branch]
2022-10-06 20:08:28 -04:00
marc audy
311f7464bf Updated ../Engine/Source/Runtime/... to inline gen.cpp files
Before:
3648 unity files
Total CPU Time: 47886.140625 s
Total time in Parallel executor: 498.81 seconds

After:
3548 unity files
Total CPU Time: 46643.828125 s
Total time in Parallel executor: 486.06 seconds

#jira
#preflight

[CL 22173263 by marc audy in ue5-main branch]
2022-09-24 13:57:58 -04:00
Jules Blok
2ac95d6d97 Create actions for each individual key when not using a player mappable input config.
This will prevent OpenXR from remapping the actions in a project, but it will fix the pitfalls in the legacy system.
We should strongly encourage that developers do provide a player mappable input config for better OpenXR integration.

#jira UE-147885
#rb Jeff.Fisher
#preflight 630e91e90345de4ccfbfa314

[CL 21712008 by Jules Blok in ue5-main branch]
2022-08-30 19:02:02 -04:00
Bryan sefcik
b4a6e947d8 Ran IWYU on Public headers under Engine/Source/Runtime/...
Headers are updated to contain any missing #includes needed to compile and #includes are sorted.  Nothing is removed.

#ushell-cherrypick of 21065896 by bryan.sefcik
#preflight 62d4b1a5a6141b6adfb0c892
#jira

#ROBOMERGE-OWNER: Bryan.sefcik
#ROBOMERGE-AUTHOR: bryan.sefcik
#ROBOMERGE-SOURCE: CL 21150156 via CL 21151754 via CL 21154719
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)
#ROBOMERGE-CONFLICT from-shelf

[CL 21181076 by Bryan sefcik in ue5-main branch]
2022-07-20 11:31:36 -04:00
Jules Blok
e18fdfdae5 Enhanced Input for OpenXR
This allows us to expose the OpenXR input system through the same assets and APIs as Enhanced Input providing a familiar interface to devs.

- UInputAction is equivalent to XrAction
- UInputMappingContext is equivalent to XrActionSet
- FEnhancedActionKeyMapping is equivalent to XrActionSuggestedBinding

However unlike Enhanced input there are additional constraints:

- All actions sets that can be applied during a session need to be provided to xrAttachSessionActionSets and become immutable for the duration of the session.
- All suggested bindings need to be provided to xrSuggestInteractionProfileBindings and also become immutable for the duration of the session.
- The action set priorities are also immutable, but we're currently in the process of drafting an extension that allows them to be changed at any time.

To accommodate these constraints we ask the developer to provide a UPlayerMappableInputConfig containing every UInputMappingContext that will be used for XR and their default priorities.

#rb Jeff.Fisher
#preflight 629fa72ae9383fd88fc92419

[CL 20543929 by Jules Blok in ue5-main branch]
2022-06-07 15:50:25 -04:00
David Harvey
dfa6b776b1 Input debugging plugin.
- includes touch input visualization, toggled via `Input.Debug.ShowTouches 1`


#jira UE-150305
#rb Serge.Bernier, Ben.Hoffman
#preflight 628665b22c1bb3e25a4a0da9

[CL 20282745 by David Harvey in ue5-main branch]
2022-05-19 12:58:06 -04:00
David Harvey
9cc4146fbc move HoloLens runtime source to platform extension folder.
#jira UE-149794
#rnx
#rb Jeff.Fisher
#preflight 6284cd49614041edb76395dc

[CL 20258963 by David Harvey in ue5-main branch]
2022-05-18 06:59:59 -04:00
JSaueressig88
a600b42b5c PR #9106: Bug Fix: ValveIndex_Left_Trackpad_Touch would never call release (Contributed by JSaueressig88)
#jira UE-149521
#rb Jules.Blok
#preflight
#preflight 6273162d606d0d83895e59a1

[CL 20053452 by JSaueressig88 in ue5-main branch]
2022-05-04 20:23:20 -04:00
UnrealBot
c47e81b2cb Branch snapshot for CL 18531810
[CL 18531810 in ue5-main branch]
2022-01-06 16:44:09 +00:00
UnrealBot
2987349d36 Branch snapshot for CL 18514113
[CL 18514113 in ue5-main branch]
2022-01-05 20:41:17 +00:00
ben hoffman
c35fb2613a Do not allow blueprints to bind to gesture keys if it is not enabled in the settings
#jira UE-101949
#rb justin.hare
#preflight 61d4814b430de36baa3142c3

#ROBOMERGE-AUTHOR: ben.hoffman
#ROBOMERGE-SOURCE: CL 18519475 in //UE5/Release-5.0/... via CL 18519496
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v899-18417669)

[CL 18519510 by ben hoffman in ue5-release-engine-test branch]
2022-01-05 10:57:39 -05:00
ben hoffman
0cb77052f3 Deprecated console specific Fkeys in favor of generic ones
#jira UE-130619
#rb trivial
#rnx
#preflight 61bb6f5cbd7d5fe54ecb3bfc

#ROBOMERGE-AUTHOR: ben.hoffman
#ROBOMERGE-SOURCE: CL 18476589 in //UE5/Release-5.0/... via CL 18481359
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v899-18417669)

[CL 18481450 by ben hoffman in ue5-release-engine-test branch]
2021-12-16 19:28:47 -05:00
ben hoffman
0735b2f069 Fix platform definition in CommonUI
#jira UE-130619
#rb marc.audy
#rnx
#preflight 61b377d213028c27d29b3641
#p4v-preflight-copy 18430652

#ROBOMERGE-AUTHOR: ben.hoffman
#ROBOMERGE-SOURCE: CL 18444033 in //UE5/Release-5.0/... via CL 18445312
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v897-18405271)

[CL 18445493 by ben hoffman in ue5-release-engine-test branch]
2021-12-13 13:43:09 -05:00
jeff fisher
a3748e48bc OpenXR related features and fixes.
-Adds support for getting velocity and accelleration through GetControllerTransformForTime.
-Adds mechanism for using openxr chain structs which are defined in and consumed by an extension plugin.
-Support for defining a swapchain and renderbridge in an extension plugin.
-Some OpenXR fixes related to runtimes not supplying tracking data of various types.  Basically if the data isn't being provided we should not copy it out because it might be full of nonsense.  Also we would generally rather preserve our last cached position than overwrite with zero/identity.
-Moving OpenXRPlatformRHI.h OpenXRHMD_RenderBridge.h and _Swapchain.h back to private folder.
-Previously one could not run the same haptic effect on two devices simultaneously and have it behave correctly because most of the per-effect-play data for each effect was shared by all controllers.  This refactors so that the necessary runtime data is per controller and the constant bulk data is shared by all controllers.
-Adding infrastructure for playing haptics on a VR HMD.
-Refactored haptic data resampling into the oculus plugin because that is plugin specific.
swarm reviews review-18220544 and review-18220542
#rb Robert.Srinivasiah, Jules.Blok, Steve.Smith

#ROBOMERGE-AUTHOR: jeff.fisher
#ROBOMERGE-SOURCE: CL 18271123 in //UE5/Release-5.0/... via CL 18271142
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v895-18170469)

[CL 18271147 by jeff fisher in ue5-release-engine-test branch]
2021-11-23 11:41:31 -05:00
Marc Audy
0c3be2b6ad Merge Release-Engine-Staging to Test @ CL# 18240298
[CL 18241953 by Marc Audy in ue5-release-engine-test branch]
2021-11-18 14:37:34 -05:00