232 lines
6.9 KiB
C#
232 lines
6.9 KiB
C#
using System;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace UnityEngine.PostProcessing
|
|
{
|
|
// Token: 0x02000599 RID: 1433
|
|
[Token(Token = "0x2000599")]
|
|
[Serializable]
|
|
public class BuiltinDebugViewsModel : PostProcessingModel
|
|
{
|
|
// Token: 0x17000367 RID: 871
|
|
// (get) Token: 0x0600305F RID: 12383 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
// (set) Token: 0x06003060 RID: 12384 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x17000367")]
|
|
public BuiltinDebugViewsModel.Settings settings
|
|
{
|
|
[Token(Token = "0x600305F")]
|
|
[Address(RVA = "0x491350", Offset = "0x490350", VA = "0x180491350")]
|
|
get
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
[Token(Token = "0x6003060")]
|
|
[Address(RVA = "0xB89120", Offset = "0xB88120", VA = "0x180B89120")]
|
|
set
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
}
|
|
|
|
// Token: 0x17000368 RID: 872
|
|
// (get) Token: 0x06003061 RID: 12385 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x17000368")]
|
|
public bool willInterrupt
|
|
{
|
|
[Token(Token = "0x6003061")]
|
|
[Address(RVA = "0xB89100", Offset = "0xB88100", VA = "0x180B89100")]
|
|
get
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
}
|
|
|
|
// Token: 0x06003062 RID: 12386 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x6003062")]
|
|
[Address(RVA = "0xB89090", Offset = "0xB88090", VA = "0x180B89090", Slot = "4")]
|
|
public override void Reset()
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x06003063 RID: 12387 RVA: 0x00069464 File Offset: 0x00067664
|
|
[Token(Token = "0x6003063")]
|
|
[Address(RVA = "0xB89080", Offset = "0xB88080", VA = "0x180B89080")]
|
|
public bool IsModeActive(BuiltinDebugViewsModel.Mode mode)
|
|
{
|
|
return this.m_Settings == mode;
|
|
}
|
|
|
|
// Token: 0x06003064 RID: 12388 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x6003064")]
|
|
[Address(RVA = "0xB890C0", Offset = "0xB880C0", VA = "0x180B890C0")]
|
|
public BuiltinDebugViewsModel()
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x04003916 RID: 14614
|
|
[FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x4003916")]
|
|
[SerializeField]
|
|
private BuiltinDebugViewsModel.Settings m_Settings;
|
|
|
|
// Token: 0x0200059A RID: 1434
|
|
[Token(Token = "0x200059A")]
|
|
[Serializable]
|
|
public struct DepthSettings
|
|
{
|
|
// Token: 0x17000369 RID: 873
|
|
// (get) Token: 0x06003065 RID: 12389 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x17000369")]
|
|
public static BuiltinDebugViewsModel.DepthSettings defaultSettings
|
|
{
|
|
[Token(Token = "0x6003065")]
|
|
[Address(RVA = "0x19BD2B0", Offset = "0x19BC2B0", VA = "0x1819BD2B0")]
|
|
get
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
}
|
|
|
|
// Token: 0x04003917 RID: 14615
|
|
[FieldOffset(Offset = "0x0")]
|
|
[Token(Token = "0x4003917")]
|
|
[Range(0f, 1f)]
|
|
[Tooltip("Scales the camera far plane before displaying the depth map.")]
|
|
public float scale;
|
|
}
|
|
|
|
// Token: 0x0200059B RID: 1435
|
|
[Token(Token = "0x200059B")]
|
|
[Serializable]
|
|
public struct MotionVectorsSettings
|
|
{
|
|
// Token: 0x1700036A RID: 874
|
|
// (get) Token: 0x06003066 RID: 12390 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x1700036A")]
|
|
public static BuiltinDebugViewsModel.MotionVectorsSettings defaultSettings
|
|
{
|
|
[Token(Token = "0x6003066")]
|
|
[Address(RVA = "0x19BD7C0", Offset = "0x19BC7C0", VA = "0x1819BD7C0")]
|
|
get
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
}
|
|
|
|
// Token: 0x04003918 RID: 14616
|
|
[FieldOffset(Offset = "0x0")]
|
|
[Token(Token = "0x4003918")]
|
|
[Range(0f, 1f)]
|
|
[Tooltip("Opacity of the source render.")]
|
|
public float sourceOpacity;
|
|
|
|
// Token: 0x04003919 RID: 14617
|
|
[FieldOffset(Offset = "0x4")]
|
|
[Token(Token = "0x4003919")]
|
|
[Range(0f, 1f)]
|
|
[Tooltip("Opacity of the per-pixel motion vector colors.")]
|
|
public float motionImageOpacity;
|
|
|
|
// Token: 0x0400391A RID: 14618
|
|
[FieldOffset(Offset = "0x8")]
|
|
[Token(Token = "0x400391A")]
|
|
[Tooltip("Because motion vectors are mainly very small vectors, you can use this setting to make them more visible.")]
|
|
[Min(0f)]
|
|
public float motionImageAmplitude;
|
|
|
|
// Token: 0x0400391B RID: 14619
|
|
[FieldOffset(Offset = "0xC")]
|
|
[Token(Token = "0x400391B")]
|
|
[Range(0f, 1f)]
|
|
[Tooltip("Opacity for the motion vector arrows.")]
|
|
public float motionVectorsOpacity;
|
|
|
|
// Token: 0x0400391C RID: 14620
|
|
[FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x400391C")]
|
|
[Range(8f, 64f)]
|
|
[Tooltip("The arrow density on screen.")]
|
|
public int motionVectorsResolution;
|
|
|
|
// Token: 0x0400391D RID: 14621
|
|
[FieldOffset(Offset = "0x14")]
|
|
[Token(Token = "0x400391D")]
|
|
[Min(0f)]
|
|
[Tooltip("Tweaks the arrows length.")]
|
|
public float motionVectorsAmplitude;
|
|
}
|
|
|
|
// Token: 0x0200059C RID: 1436
|
|
[Token(Token = "0x200059C")]
|
|
public enum Mode
|
|
{
|
|
// Token: 0x0400391F RID: 14623
|
|
[Token(Token = "0x400391F")]
|
|
None,
|
|
// Token: 0x04003920 RID: 14624
|
|
[Token(Token = "0x4003920")]
|
|
Depth,
|
|
// Token: 0x04003921 RID: 14625
|
|
[Token(Token = "0x4003921")]
|
|
Normals,
|
|
// Token: 0x04003922 RID: 14626
|
|
[Token(Token = "0x4003922")]
|
|
MotionVectors,
|
|
// Token: 0x04003923 RID: 14627
|
|
[Token(Token = "0x4003923")]
|
|
AmbientOcclusion,
|
|
// Token: 0x04003924 RID: 14628
|
|
[Token(Token = "0x4003924")]
|
|
EyeAdaptation,
|
|
// Token: 0x04003925 RID: 14629
|
|
[Token(Token = "0x4003925")]
|
|
FocusPlane,
|
|
// Token: 0x04003926 RID: 14630
|
|
[Token(Token = "0x4003926")]
|
|
PreGradingLog,
|
|
// Token: 0x04003927 RID: 14631
|
|
[Token(Token = "0x4003927")]
|
|
LogLut,
|
|
// Token: 0x04003928 RID: 14632
|
|
[Token(Token = "0x4003928")]
|
|
UserLut
|
|
}
|
|
|
|
// Token: 0x0200059D RID: 1437
|
|
[Token(Token = "0x200059D")]
|
|
[Serializable]
|
|
public struct Settings
|
|
{
|
|
// Token: 0x1700036B RID: 875
|
|
// (get) Token: 0x06003067 RID: 12391 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x1700036B")]
|
|
public static BuiltinDebugViewsModel.Settings defaultSettings
|
|
{
|
|
[Token(Token = "0x6003067")]
|
|
[Address(RVA = "0x19BDB50", Offset = "0x19BCB50", VA = "0x1819BDB50")]
|
|
get
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
}
|
|
|
|
// Token: 0x04003929 RID: 14633
|
|
[FieldOffset(Offset = "0x0")]
|
|
[Token(Token = "0x4003929")]
|
|
public BuiltinDebugViewsModel.Mode mode;
|
|
|
|
// Token: 0x0400392A RID: 14634
|
|
[FieldOffset(Offset = "0x4")]
|
|
[Token(Token = "0x400392A")]
|
|
public BuiltinDebugViewsModel.DepthSettings depth;
|
|
|
|
// Token: 0x0400392B RID: 14635
|
|
[FieldOffset(Offset = "0x8")]
|
|
[Token(Token = "0x400392B")]
|
|
public BuiltinDebugViewsModel.MotionVectorsSettings motionVectors;
|
|
}
|
|
}
|
|
}
|