docs.unity.cn
    Show / Hide Table of Contents

    Enum XRCpuImage.Transformation

    Describes transformations that can be applied to a camera image.

    Namespace: UnityEngine.XR.ARSubsystems
    Syntax
    [Flags]
    public enum Transformation

    Fields

    Name Description Value
    None

    No transformations will be applied. The image will match the native format.


    0
    MirrorX

    Mirror the image across the X axis. This reverses the order of the horizontal rows, flipping the image upside down.


    1
    MirrorY

    Mirror the image across the Y axis. This reverses the pixels in each horizontal row such that the left part of the image will appear on the right and vice versa.


    2
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Monday, May 22, 2023