docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct XrSpatialComponentPlaneAlignmentListEXT

    Plane alignment component list structure, used to query component data. Provided by XR_EXT_spatial_plane_tracking.

    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: UnityEngine.XR.OpenXR.NativeTypes
    Assembly: Unity.XR.OpenXR.dll
    Syntax
    public readonly struct XrSpatialComponentPlaneAlignmentListEXT
    Remarks
    Warning

    Don't initialize this struct with the default parameterless constructor. Use a constructor with parameters to ensure that type is correctly initialized to SpatialComponentPlaneAlignmentListEXT.

    Constructors

    XrSpatialComponentPlaneAlignmentListEXT(uint, XrSpatialPlaneAlignmentEXT*)

    Construct an instance with a null next pointer.

    Declaration
    public XrSpatialComponentPlaneAlignmentListEXT(uint planeAlignmentCount, XrSpatialPlaneAlignmentEXT* planeAlignments)
    Parameters
    Type Name Description
    uint planeAlignmentCount

    The count of elements in planeAlignments. Must be greater than 0.

    XrSpatialPlaneAlignmentEXT* planeAlignments

    Pointer to an array of plane alignment components. Must be non-null.

    XrSpatialComponentPlaneAlignmentListEXT(void*, uint, XrSpatialPlaneAlignmentEXT*)

    Construct an instance.

    Declaration
    public XrSpatialComponentPlaneAlignmentListEXT(void* next, uint planeAlignmentCount, XrSpatialPlaneAlignmentEXT* planeAlignments)
    Parameters
    Type Name Description
    void* next

    The next pointer.

    uint planeAlignmentCount

    The count of elements in planeAlignments. Must be greater than 0.

    XrSpatialPlaneAlignmentEXT* planeAlignments

    Pointer to an array of plane alignment components. Must be non-null.

    XrSpatialComponentPlaneAlignmentListEXT(void*, NativeArray<XrSpatialPlaneAlignmentEXT>)

    Construct an instance from a native array.

    Declaration
    public XrSpatialComponentPlaneAlignmentListEXT(void* next, NativeArray<XrSpatialPlaneAlignmentEXT> planeAlignments)
    Parameters
    Type Name Description
    void* next

    The next pointer.

    NativeArray<XrSpatialPlaneAlignmentEXT> planeAlignments

    Native array of plane alignment components. Must be non-empty.

    XrSpatialComponentPlaneAlignmentListEXT(void*, ReadOnly)

    Construct an instance from a read-only native array.

    Declaration
    public XrSpatialComponentPlaneAlignmentListEXT(void* next, NativeArray<XrSpatialPlaneAlignmentEXT>.ReadOnly planeAlignments)
    Parameters
    Type Name Description
    void* next

    The next pointer.

    NativeArray<XrSpatialPlaneAlignmentEXT>.ReadOnly planeAlignments

    Read-only native array of plane alignment components. Must be non-empty.

    XrSpatialComponentPlaneAlignmentListEXT(NativeArray<XrSpatialPlaneAlignmentEXT>)

    Construct an instance with a null next pointer from a native array.

    Declaration
    public XrSpatialComponentPlaneAlignmentListEXT(NativeArray<XrSpatialPlaneAlignmentEXT> planeAlignments)
    Parameters
    Type Name Description
    NativeArray<XrSpatialPlaneAlignmentEXT> planeAlignments

    Native array of plane alignment components. Must be non-empty.

    XrSpatialComponentPlaneAlignmentListEXT(ReadOnly)

    Construct an instance with a null next pointer from a read-only native array.

    Declaration
    public XrSpatialComponentPlaneAlignmentListEXT(NativeArray<XrSpatialPlaneAlignmentEXT>.ReadOnly planeAlignments)
    Parameters
    Type Name Description
    NativeArray<XrSpatialPlaneAlignmentEXT>.ReadOnly planeAlignments

    Read-only native array of plane alignment components. Must be non-empty.

    Properties

    next

    null or a pointer to the next structure in a structure chain.

    Declaration
    public void* next { get; }
    Property Value
    Type Description
    void*

    planeAlignmentCount

    The count of elements in planeAlignments. Must be greater than 0.

    Declaration
    public uint planeAlignmentCount { get; }
    Property Value
    Type Description
    uint

    planeAlignments

    Pointer to an array of plane alignment components. Must be non-null.

    Declaration
    public XrSpatialPlaneAlignmentEXT* planeAlignments { get; }
    Property Value
    Type Description
    XrSpatialPlaneAlignmentEXT*

    type

    The XrStructureType of this struct: SpatialComponentPlaneAlignmentListEXT.

    Declaration
    public XrStructureType type { get; }
    Property Value
    Type Description
    XrStructureType
    In This Article
    Back to top
    Copyright © 2025 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)