docs.unity3d.com
    Show / Hide Table of Contents

    Struct XRCameraSubsystem.CameraImagePlaneCinfo

    Container for the metadata describing access to the raw camera image plane data.

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

    Constructors

    CameraImagePlaneCinfo(IntPtr, Int32, Int32, Int32)

    Constructs the camera image plane cinfo.

    Declaration
    public CameraImagePlaneCinfo(IntPtr dataPtr, int dataLength, int rowStride, int pixelStride)
    Parameters
    Type Name Description
    IntPtr dataPtr

    The pointer to the raw native image data.

    Int32 dataLength

    The length of the native image data.

    Int32 rowStride

    The stride for iterating through the rows of the native image data.

    Int32 pixelStride

    The stride for iterating through the pixels of the native image data.

    Properties

    dataLength

    The length of the native image data.

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

    The length of the native image data.

    dataPtr

    The pointer to the raw native image data.

    Declaration
    public readonly IntPtr dataPtr { get; }
    Property Value
    Type Description
    IntPtr

    The pointer to the raw native image data.

    pixelStride

    The stride for iterating through the pixels of the native image data.

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

    The stride for iterating through the pixels of the native image data.

    rowStride

    The stride for iterating through the rows of the native image data.

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

    The stride for iterating through the rows of the native image data.

    Methods

    Equals(System.Object)

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

    Equals(XRCameraSubsystem.CameraImagePlaneCinfo)

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

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    Int32

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    String

    Operators

    Equality(XRCameraSubsystem.CameraImagePlaneCinfo, XRCameraSubsystem.CameraImagePlaneCinfo)

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

    Inequality(XRCameraSubsystem.CameraImagePlaneCinfo, XRCameraSubsystem.CameraImagePlaneCinfo)

    Declaration
    public static bool operator !=(XRCameraSubsystem.CameraImagePlaneCinfo lhs, XRCameraSubsystem.CameraImagePlaneCinfo rhs)
    Parameters
    Type Name Description
    XRCameraSubsystem.CameraImagePlaneCinfo lhs
    XRCameraSubsystem.CameraImagePlaneCinfo rhs
    Returns
    Type Description
    Boolean
    Back to top Copyright © 2022 Unity Technologies
    Generated by DocFX
    on Friday, January 7, 2022
    Terms of use