Struct XrCompositionLayerEquirect2KHR
Inherited Members
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 |