Navigation
API > API/Plugins > API/Plugins/OpenXRHMD > API/Plugins/OpenXRHMD/IOpenXRExtensionPlugin
Description
Fill the array with optional extensions blocked by this plugin. This can be used to disable optional extension usage by the UEOpenXR core and by other ExtensionPlugins. Required extensions either from UEOpenXR core or from ExtensionPlugins are NOT blocked. In the latter case disabling plugins may have the same effect. Otherwise code changes will be needed. In general blocking optional extensions used by UE's OpenXR core should be ok because it is designed to run correctly without those extensions and it seems likely the blocking plugin is replacing that functionality somehow. Blocking optional extensions added by plugins is potentially more complicated and ExtensionPlugins that do this may make themselves harder to use along with other ExtensionPlugins. They are optional, so it should work, but feature use may become complex. Plugin settings to explicitly disable extension use or splitting plugins up so that features can be individually enabled/disable should be considered. If false is returned the returned extension list will be ignored.
| Name | GetBlockedOptionalExtensions |
| Type | function |
| Header File | /Engine/Plugins/Runtime/OpenXR/Source/OpenXRHMD/Public/IOpenXRExtensionPlugin.h |
| Include Path | #include "IOpenXRExtensionPlugin.h" |
virtual bool GetBlockedOptionalExtensions
(
TArray < const ANSICHAR * > & OutExtensions
)