docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Interface IPackageSettings

    Namespace: UnityEngine.XR.OpenXR
    Assembly: Unity.XR.OpenXR.dll
    Syntax
    public interface IPackageSettings

    Methods

    GetActiveLoaderLibraryPath()

    Declaration
    string GetActiveLoaderLibraryPath()
    Returns
    Type Description
    string

    GetFeatures<T>()

    Returns all features of a given type from all existing build target groups.

    Declaration
    IEnumerable<(BuildTargetGroup buildTargetGroup, T feature)> GetFeatures<T>() where T : OpenXRFeature
    Returns
    Type Description
    IEnumerable<(BuildTargetGroup buildTargetGroup, T feature)>

    All known features of the given type within the package settings

    Type Parameters
    Name Description
    T

    Feature type

    GetSettingsForBuildTargetGroup(BuildTargetGroup)

    Declaration
    OpenXRSettings GetSettingsForBuildTargetGroup(BuildTargetGroup buildTargetGroup)
    Parameters
    Type Name Description
    BuildTargetGroup buildTargetGroup
    Returns
    Type Description
    OpenXRSettings
    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)