docs.unity3d.com
    Show / Hide Table of Contents

    Interface IXRLoaderMetadata

    Provides an interface for describing specific loader metadata. Package authors should implement this interface for each loader they provide in their package.

    Namespace: UnityEditor.XR.Management.Metadata
    Syntax
    public interface IXRLoaderMetadata

    Properties

    loaderName

    The user facing name for this loader. Will be used to populate the list in the XR Plug-in Management UI.

    Declaration
    string loaderName { get; }
    Property Value
    Type Description
    String

    loaderType

    The full type name for this loader. This is used to allow management to find and create instances of supported loaders for your package.

    When your package is first installed, the XR Plug-in Management system will use this information to create instances of your loaders in Assets/XR/Loaders.

    Declaration
    string loaderType { get; }
    Property Value
    Type Description
    String

    supportedBuildTargets

    The full list of supported buildtargets for this loader. This allows the UI to only show the loaders appropriate for a specific build target.

    Returning an empty list or a list containing just BuildTargetGroup.Unknown. will make this loader invisible in the ui.

    Declaration
    List<BuildTargetGroup> supportedBuildTargets { get; }
    Property Value
    Type Description
    List<BuildTargetGroup>
    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