docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct XrCompositionLayerEquirect2KHR

    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 XrCompositionLayerEquirect2KHR

    Fields

    CentralHorizontalAngle

    Defines the visible horizontal angle of the sphere, based at 0 radians, in the range of [0, 2π]. It grows symmetrically around the 0 radian angle.

    Declaration
    public float CentralHorizontalAngle
    Field Value
    Type Description
    float

    EyeVisibility

    The eye represented by 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

    LowerVerticalAngle

    Defines the lower vertical angle of the visible portion of the sphere, in the range of [-π/2, π/2].

    Declaration
    public float LowerVerticalAngle
    Field Value
    Type Description
    float

    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 center point of the sphere onto which the equirect image data is mapped, relative to the reference frame of the space.

    Declaration
    public XrPosef Pose
    Field Value
    Type Description
    XrPosef

    Radius

    The non-negative radius of the sphere onto which the equirect image data is mapped. Values of zero or floating point positive infinity are treated as an infinite sphere.

    Declaration
    public float Radius
    Field Value
    Type Description
    float

    Space

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

    Declaration
    public ulong Space
    Field Value
    Type Description
    ulong

    SubImage

    Identifies the image 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. This base structure itself has no associated XrStructureType value

    Declaration
    public uint Type
    Field Value
    Type Description
    uint

    UpperVerticalAngle

    Defines the upper vertical angle of the visible portion of the sphere, in the range of [-π/2, π/2].

    Declaration
    public float UpperVerticalAngle
    Field Value
    Type Description
    float
    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)