docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class FeatureHelpers

    Editor OpenXR Feature helpers.

    Inheritance
    object
    FeatureHelpers
    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 FeatureHelpers

    Methods

    Name Description
    GetFeatureWithIdForActiveBuildTarget(string)

    Given a feature id, returns the first instance of OpenXRFeature associated with that id.

    GetFeatureWithIdForBuildTarget(BuildTargetGroup, string)

    Given a feature id, returns the first OpenXRFeature associated with that id.

    GetFeaturesWithIdsForActiveBuildTarget(string[])

    Given an array of feature ids, returns an array of matching OpenXRFeature instances.

    GetFeaturesWithIdsForBuildTarget(BuildTargetGroup, string[])

    Given an array of feature ids, returns an array of matching OpenXRFeature instances that match.

    RefreshFeatures(BuildTargetGroup)

    Discovers all features in project and ensures that OpenXRSettings.Instance.features is up to date for selected build target group.

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