docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Property currentConfiguration

    currentConfiguration

    Property to be implemented by the provider to query or set the current camera configuration.

    Declaration
    public virtual XRCameraConfiguration? currentConfiguration { get; set; }
    Property Value
    Type Description
    XRCameraConfiguration?

    The current camera configuration, if it exists. Otherwise, null.

    Exceptions
    Type Condition
    NotSupportedException

    Thrown when setting the current configuration if the implementation does not support camera configurations.

    ArgumentException

    Thrown when setting the current configuration if the given configuration is not a valid, supported camera configuration.

    InvalidOperationException

    Thrown when setting the current configuration if the implementation is unable to set the current camera configuration.

    In This Article
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Friday, September 22, 2023