Struct XRCameraSubsystem.CameraImageCinfo | AR Subsystems | 3.1.10
docs.unity3d.com
    Show / Hide Table of Contents

    Struct XRCameraSubsystem.CameraImageCinfo

    Container for native camera image construction metadata.

    Namespace: UnityEngine.XR.ARSubsystems
    Syntax
    protected struct CameraImageCinfo : IEquatable<XRCameraSubsystem.CameraImageCinfo>

    Constructors

    CameraImageCinfo(Int32, Vector2Int, Int32, Double, CameraImageFormat)

    Constructs the camera image cinfo.

    Declaration
    public CameraImageCinfo(int nativeHandle, Vector2Int dimensions, int planeCount, double timestamp, CameraImageFormat format)
    Parameters
    Type Name Description
    Int32 nativeHandle

    The handle representing the camera image on the native level.

    Vector2Int dimensions

    The dimensions of the camera image.

    Int32 planeCount

    The number of video planes in the camera image.

    Double timestamp

    The timestamp for when the camera image was captured.

    CameraImageFormat format

    The format of the camera image.

    Properties

    dimensions

    The dimensions of the camera image.

    Declaration
    public Vector2Int dimensions { get; }
    Property Value
    Type Description
    Vector2Int

    The dimensions of the camera image.

    format

    The format of the camera image.

    Declaration
    public CameraImageFormat format { get; }
    Property Value
    Type Description
    CameraImageFormat

    The format of the camera image.

    nativeHandle

    The handle representing the camera image on the native level.

    Declaration
    public int nativeHandle { get; }
    Property Value
    Type Description
    Int32

    The handle representing the camera image on the native level.

    planeCount

    The number of video planes in the camera image.

    Declaration
    public int planeCount { get; }
    Property Value
    Type Description
    Int32

    The number of video planes in the camera image.

    timestamp

    The timestamp for when the camera image was captured.

    Declaration
    public double timestamp { get; }
    Property Value
    Type Description
    Double

    The timestamp for when the camera image was captured.

    Methods

    Equals(Object)

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    Object obj
    Returns
    Type Description
    Boolean
    Overrides
    ValueType.Equals(Object)

    Equals(XRCameraSubsystem.CameraImageCinfo)

    Declaration
    public bool Equals(XRCameraSubsystem.CameraImageCinfo other)
    Parameters
    Type Name Description
    XRCameraSubsystem.CameraImageCinfo other
    Returns
    Type Description
    Boolean

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    Int32
    Overrides
    ValueType.GetHashCode()

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    String
    Overrides
    ValueType.ToString()

    Operators

    Equality(XRCameraSubsystem.CameraImageCinfo, XRCameraSubsystem.CameraImageCinfo)

    Declaration
    public static bool operator ==(XRCameraSubsystem.CameraImageCinfo lhs, XRCameraSubsystem.CameraImageCinfo rhs)
    Parameters
    Type Name Description
    XRCameraSubsystem.CameraImageCinfo lhs
    XRCameraSubsystem.CameraImageCinfo rhs
    Returns
    Type Description
    Boolean

    Inequality(XRCameraSubsystem.CameraImageCinfo, XRCameraSubsystem.CameraImageCinfo)

    Declaration
    public static bool operator !=(XRCameraSubsystem.CameraImageCinfo lhs, XRCameraSubsystem.CameraImageCinfo rhs)
    Parameters
    Type Name Description
    XRCameraSubsystem.CameraImageCinfo lhs
    XRCameraSubsystem.CameraImageCinfo rhs
    Returns
    Type Description
    Boolean
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023