Struct XrCompositionLayerCylinderKHR
Inherited Members
Namespace: UnityEngine.XR.OpenXR.NativeTypes
Assembly: Unity.XR.OpenXR.dll
Syntax
public struct XrCompositionLayerCylinderKHR
Fields
AspectRatio
The ratio of the visible cylinder section width / height. The height of the cylinder is given by: (cylinder radius × cylinder angle) / aspectRatio.
Declaration
public float AspectRatio
Field Value
| Type | Description |
|---|---|
| float |
CentralAngle
The angle of the visible section of the cylinder, based at 0 radians, in the range of [0, 2π). It grows symmetrically around the 0 radian angle.
Declaration
public float CentralAngle
Field Value
| Type | Description |
|---|---|
| float |
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 center point of the view of the cylinder within the reference frame of the space.
Declaration
public XrPosef Pose
Field Value
| Type | Description |
|---|---|
| XrPosef |
Radius
The non-negative radius of the cylinder. Values of zero or floating point positive infinity are treated as an infinite cylinder.
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
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 |