docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method GetFeature

    GetFeature<TFeature>()

    Returns the first feature that matches the given type.

    Declaration
    public TFeature GetFeature<TFeature>() where TFeature : OpenXRFeature
    Returns
    Type Description
    TFeature

    Feature by type

    Type Parameters
    Name Description
    TFeature

    Type of the feature to retrieve

    GetFeature(Type)

    Returns the first feature that matches the given type.

    Declaration
    public OpenXRFeature GetFeature(Type featureType)
    Parameters
    Type Name Description
    Type featureType

    Type of the feature to return

    Returns
    Type Description
    OpenXRFeature

    Feature by type

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