forked from BilalY/Rasagar
25 lines
788 B
C#
25 lines
788 B
C#
using UnityEngine.Rendering;
|
|
|
|
namespace UnityEditor.Rendering.HighDefinition
|
|
{
|
|
class SerializedXRSettings
|
|
{
|
|
public SerializedProperty root;
|
|
|
|
public SerializedProperty singlePass;
|
|
public SerializedProperty occlusionMesh;
|
|
public SerializedProperty cameraJitter;
|
|
public SerializedProperty allowMotionBlur;
|
|
|
|
public SerializedXRSettings(SerializedProperty root)
|
|
{
|
|
this.root = root;
|
|
|
|
singlePass = root.Find((GlobalXRSettings s) => s.singlePass);
|
|
occlusionMesh = root.Find((GlobalXRSettings s) => s.occlusionMesh);
|
|
cameraJitter = root.Find((GlobalXRSettings s) => s.cameraJitter);
|
|
allowMotionBlur = root.Find((GlobalXRSettings s) => s.allowMotionBlur);
|
|
}
|
|
}
|
|
}
|