docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class XRCameraConfigurationExtensions

    Extensions to the XRCameraConfiguration object.

    Inheritance
    object
    XRCameraConfigurationExtensions
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: UnityEngine.XR.ARCore
    Assembly: Unity.XR.ARCore.dll
    Syntax
    public static class XRCameraConfigurationExtensions

    Methods

    AsArCameraConfig(XRCameraConfiguration)

    Gets cameraConfiguration as an ARCore ArCameraConfig.

    Declaration
    public static ArCameraConfig AsArCameraConfig(this XRCameraConfiguration cameraConfiguration)
    Parameters
    Type Name Description
    XRCameraConfiguration cameraConfiguration

    The XRCameraConfiguration being extended.

    Returns
    Type Description
    ArCameraConfig

    Returns the ARCore-specific representation of cameraConfiguration.

    Remarks
    Important

    Do not Dispose() the returned ArCameraConfig.

    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)