docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct XrCompositionLayerQuad

    Quad composition layer.

    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 struct XrCompositionLayerQuad

    Fields

    EyeVisibility

    The XrEyeVisibility for this layer.

    Declaration
    public uint EyeVisibility
    Field Value
    Type Description
    uint

    LayerFlags

    Bitmask of XrCompositionLayerFlags describing flags to apply to the layer.

    Declaration
    public XrCompositionLayerFlags LayerFlags
    Field Value
    Type Description
    XrCompositionLayerFlags

    Next

    Pointer to the next structure in a structure chain.

    Declaration
    public void* Next
    Field Value
    Type Description
    void*

    Pose

    An XrPosef defining the position and orientation of the quad in the reference frame of the space.

    Declaration
    public XrPosef Pose
    Field Value
    Type Description
    XrPosef

    Size

    The width and height of the quad in meters.

    Declaration
    public XrExtent2Df Size
    Field Value
    Type Description
    XrExtent2Df

    Space

    The XrSpace in which the layer will be kept stable over time.

    Declaration
    public ulong Space
    Field Value
    Type Description
    ulong

    SubImage

    The image layer XrSwapchainSubImage to use. The swapchain must have been created with a XrSwapchainCreateInfo.faceCount of 1.

    Declaration
    public XrSwapchainSubImage SubImage
    Field Value
    Type Description
    XrSwapchainSubImage

    Type

    The XrStructureType of this structure.

    Declaration
    public uint Type
    Field Value
    Type Description
    uint
    In This Article
    Back to top
    Copyright © 2024 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)