Struct XRCameraSubsystem.CameraImagePlaneCinfo | AR Subsystems | 3.1.10
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 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 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 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 int rowStride { get; }
    Property Value
    Type Description
    Int32

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

    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.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
    Overrides
    ValueType.GetHashCode()

    ToString()

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

    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 © 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