docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class CameraModeExtensions

    Extensions related to the CameraFacingDirection enum.

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

    Methods

    ToCameraFacingDirection(Feature)

    Converts self to a CameraFacingDirection.

    Declaration
    public static CameraFacingDirection ToCameraFacingDirection(this Feature self)
    Parameters
    Type Name Description
    Feature self

    The Feature being extended.

    Returns
    Type Description
    CameraFacingDirection

    The CameraFacingDirection represented by self.

    ToFeature(CameraFacingDirection)

    Converts self to a Feature.

    Declaration
    public static Feature ToFeature(this CameraFacingDirection self)
    Parameters
    Type Name Description
    CameraFacingDirection self

    The CameraFacingDirection being extended.

    Returns
    Type Description
    Feature

    The Feature representation of the camera facing direction.

    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)