26 lines
656 B
C#
26 lines
656 B
C#
using System;
|
|
|
|
namespace UnityEngine.Rendering
|
|
{
|
|
/// <summary>
|
|
/// Global XR Settings.
|
|
/// </summary>
|
|
[Serializable]
|
|
public struct GlobalXRSettings
|
|
{
|
|
internal static GlobalXRSettings NewDefault() => new GlobalXRSettings()
|
|
{
|
|
singlePass = true,
|
|
occlusionMesh = true,
|
|
cameraJitter = false
|
|
};
|
|
|
|
/// <summary>Use single pass.</summary>
|
|
public bool singlePass;
|
|
/// <summary>Use occlusion mesh.</summary>
|
|
public bool occlusionMesh;
|
|
/// <summary>Add jitter to camera for temporal effects.</summary>
|
|
public bool cameraJitter;
|
|
}
|
|
}
|