docs.unity3d.com
    Show / Hide Table of Contents

    Class WindowsMRBuildProcessor

    Build Processor class used to handle XR Plugin specific build actions.

    Inheritance
    Object
    WindowsMRBuildProcessor
    Namespace: UnityEditor.XR.WindowsMR
    Syntax
    public class WindowsMRBuildProcessor : XRBuildHelper<WindowsMRSettings>

    Properties

    BuildSettingsKey

    The key used to get the build settings object.

    Declaration
    public override string BuildSettingsKey { get; }
    Property Value
    Type Description
    String

    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
    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
    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
    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.

    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023