docs.unity3d.com
    Show / Hide Table of Contents

    Interface IXRPackageMetadata

    Top level package metadata interface. Create an instance oif this interface to provide metadata information for your package.

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

    Properties

    loaderMetadata

    List of IXRLoaderMetadata instances describing the data about the loaders your package supports.

    Declaration
    List<IXRLoaderMetadata> loaderMetadata { get; }
    Property Value
    Type Description
    List<IXRLoaderMetadata>

    packageId

    The package id used to track and install the package. Must be the same value as the name keyword in the package.json file, otherwise installation will not be possible.

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

    packageName

    User facing package name. Should be the same as the value for the displayName keyword in the package.json file.

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

    settingsType

    This is the full type name for the settings type for your package.

    When your package is first installed, the XR Plug-in Management system will use this information to create an instance of your settings in Assets/XR/Settings.

    Declaration
    string settingsType { get; }
    Property Value
    Type Description
    String
    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