Class EquirectMeshLayerData
Subclass of LayerData that defines a equirect layer in a scene. A equirect sphere is centered at the transform location with only its inside faces visible.
Inherited Members
Namespace: Unity.XR.CompositionLayers.Layers
Assembly: Unity.XR.CompositionLayers.dll
Syntax
[Serializable]
public class EquirectMeshLayerData : LayerDataProperties
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 { get; set; }Property Value
| Type | Description | 
|---|---|
| float | 
CentralHorizontalAngleInDegrees
Defines the visible horizontal angle of the sphere, based at 0 radians, in the range of [0, 360]. It grows symmetrically around the 0 radian angle.
Declaration
public float CentralHorizontalAngleInDegrees { get; set; }Property Value
| Type | Description | 
|---|---|
| float | 
LowerVerticalAngle
Defines the lower vertical angle of the visible portion of the sphere, in the range of [-π/2, π/2].
Declaration
public float LowerVerticalAngle { get; set; }Property Value
| Type | Description | 
|---|---|
| float | 
LowerVerticalAngleInDegrees
Defines the lower vertical angle of the visible portion of the sphere, in the range of [-90, 90].
Declaration
public float LowerVerticalAngleInDegrees { get; set; }Property Value
| Type | Description | 
|---|---|
| float | 
Radius
Defines radius of the sphere onto which the equirect image data is mapped.
Declaration
public float Radius { get; set; }Property Value
| Type | Description | 
|---|---|
| float | 
UpperVerticalAngle
Defines the upper vertical angle of the visible portion of the sphere, in the range of [-π/2, π/2].
Declaration
public float UpperVerticalAngle { get; set; }Property Value
| Type | Description | 
|---|---|
| float | 
UpperVerticalAngleInDegrees
Defines the upper vertical angle of the visible portion of the sphere, in the range of [-90, 90].
Declaration
public float UpperVerticalAngleInDegrees { get; set; }Property Value
| Type | Description | 
|---|---|
| float |