docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Enum CameraFacingDirection

    Represents the camera used when supplying the video feed.

    Namespace: UnityEngine.XR.ARFoundation
    Assembly: Unity.XR.ARFoundation.dll
    Syntax
    public enum CameraFacingDirection

    Fields

    Name Description
    None

    No video feed should be provided.

    User

    Provide the video feed from the user-facing camera. On a phone, this is usually the front ("selfie") camera.

    World

    Provide the video feed from the world-facing camera. On a phone, this is usually the rear camera.

    Extension Methods

    CameraModeExtensions.ToFeature(CameraFacingDirection)
    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)