Class WindowsMRBuildProcessor
Build Processor class used to handle XR Plugin specific build actions.
Inherited Members
Namespace: UnityEditor.XR.WindowsMR
Syntax
public class WindowsMRBuildProcessor : XRBuildHelper<WindowsMRSettings>, IPreprocessBuildWithReport, IOrderedCallback, IPostprocessBuildWithReport
Properties
BuildSettingsKey
The key used to get the build settings object.
Declaration
public override string BuildSettingsKey { get; }
Property Value
Type | Description |
---|---|
String |
Overrides
Methods
BuildSettingsForBuildTargetGroup(BuildTargetGroup)
Get the XR Plugin build settings for the specific build platform.
Declaration
public WindowsMRBuildSettings BuildSettingsForBuildTargetGroup(BuildTargetGroup buildTargetGroup)
Parameters
Type | Name | Description |
---|---|---|
BuildTargetGroup | buildTargetGroup | The build platform we want to get settings for. |
Returns
Type | Description |
---|---|
WindowsMRBuildSettings | An instance of WindowsMRBuildSettings, or null if there are none for the current build platform. |
OnPostprocessBuild(BuildReport)
OnPostprocessBuild override to provide XR Plugin specific build actions.
Declaration
public override void OnPostprocessBuild(BuildReport report)
Parameters
Type | Name | Description |
---|---|---|
BuildReport | report | The build report. |
OnPreprocessBuild(BuildReport)
OnPreprocessBuild override to provide XR Plugin specific build actions.
Declaration
public override void OnPreprocessBuild(BuildReport report)
Parameters
Type | Name | Description |
---|---|---|
BuildReport | report | The build report. |
SettingsForBuildTargetGroup(BuildTargetGroup)
Get a generic object reference for runtime settings for the build platform
Declaration
public override Object SettingsForBuildTargetGroup(BuildTargetGroup buildTargetGroup)
Parameters
Type | Name | Description |
---|---|---|
BuildTargetGroup | buildTargetGroup | The build platform we want to get settings for. |
Returns
Type | Description |
---|---|
Object | An object instance of the saved settings, or null if there are none. |
ShouldIncludeRemotingPluginsInBuild(String)
Used to determine whether or not the WMR remoting plugin should be included in the final build.
Declaration
[Obsolete("This API is obsolete and will be removed in a future version of the package.", false)]
public bool ShouldIncludeRemotingPluginsInBuild(string path)
Parameters
Type | Name | Description |
---|---|---|
String | path | The path to the plugin. |
Returns
Type | Description |
---|---|
Boolean | True if the plugin should be included, false otherwise. |
ShouldIncludeRuntimePluginsInBuild(String)
Used to determine whether or not plugins used for WMR runtime should be included in the final build.
Declaration
[Obsolete("This API is obsolete and will be removed in a future version of the package.", false)]
public bool ShouldIncludeRuntimePluginsInBuild(string path)
Parameters
Type | Name | Description |
---|---|---|
String | path | The path to the plugin. |
Returns
Type | Description |
---|---|
Boolean | True if the plugin should be included, false otherwise. |
ShouldIncludeSpatializerPluginsInBuild(String)
Used to determine whether or not the MicrosoftHRTFAudioSpatializer plugin should be included in the final build.
Declaration
[Obsolete("This API is obsolete and will be removed in a future version of the package.", false)]
public bool ShouldIncludeSpatializerPluginsInBuild(string path)
Parameters
Type | Name | Description |
---|---|---|
String | path | The path to the plugin. |
Returns
Type | Description |
---|---|
Boolean | True if the plugin should be included, false otherwise. |