docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class OpenXRFeatureSetManager

    API for finding and managing feature sets for OpenXR.

    Inheritance
    object
    OpenXRFeatureSetManager
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: UnityEditor.XR.OpenXR.Features
    Assembly: solution.dll
    Syntax
    public static class OpenXRFeatureSetManager

    Fields

    Name Description
    activeBuildTarget

    The current active build target. Used to handle callbacks from enabled into CanFeatureBeDisabled(string) to determine if a feature can currently be disabled.

    Methods

    Name Description
    CanFeatureBeDisabled(string, BuildTargetGroup)

    Tell the user if the feature with passed in feature id can be disabled based on the build target group.

    FeatureSetsForBuildTarget(BuildTargetGroup)

    Returns the list of all OpenXRFeatureSetManager.FeatureSet for the given build target group.

    GetFeatureSetWithId(BuildTargetGroup, string)

    Returns a specific OpenXRFeatureSetManager.FeatureSet instance that matches the input.

    InitializeFeatureSets()

    Initializes all currently known feature sets. This will do two initialization passes:

    1. Starts with all built in/known feature sets.
    2. Queries the system for anything with an OpenXRFeatureSetAttribute defined on it and uses that to add/update the store of known feature sets.
    SetFeaturesFromEnabledFeatureSets(BuildTargetGroup)

    Given the current enabled state of the feature sets that match for a build target group, enable and disable the features associated with each feature set. Features that overlap sets of varying enabled states will maintain their enabled setting.

    In This Article
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Wednesday, November 1, 2023