docs.unity.cn
    Show / Hide Table of Contents

    Enum CameraFacingDirection

    Represents the camera used when supplying the video feed.

    Namespace: UnityEngine.XR.ARFoundation
    Syntax
    public enum CameraFacingDirection

    Fields

    Name Description Value
    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 (i.e., "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()
    Back to top Copyright © 2022 Unity Technologies
    Generated by DocFX
    on Monday, November 7, 2022
    Terms of use