102 lines
3.5 KiB
C#
102 lines
3.5 KiB
C#
using System;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace UnityEngine.Rendering.Universal
|
|
{
|
|
// Token: 0x0200003F RID: 63
|
|
[Token(Token = "0x2000039")]
|
|
[VolumeComponentMenu("Post-processing/Depth Of Field")]
|
|
[Serializable]
|
|
public sealed class DepthOfField : VolumeComponent, IPostProcessComponent
|
|
{
|
|
// Token: 0x060000EC RID: 236 RVA: 0x00002AA8 File Offset: 0x00000CA8
|
|
[Token(Token = "0x60000E4")]
|
|
[Address(RVA = "0x23EF660", Offset = "0x23EE660", VA = "0x1823EF660", Slot = "8")]
|
|
public bool IsActive()
|
|
{
|
|
return default(bool);
|
|
}
|
|
|
|
// Token: 0x060000ED RID: 237 RVA: 0x00002AC0 File Offset: 0x00000CC0
|
|
[Token(Token = "0x60000E5")]
|
|
[Address(RVA = "0x424690", Offset = "0x423690", VA = "0x180424690", Slot = "9")]
|
|
public bool IsTileCompatible()
|
|
{
|
|
return default(bool);
|
|
}
|
|
|
|
// Token: 0x060000EE RID: 238 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x60000E6")]
|
|
[Address(RVA = "0x23EF6E0", Offset = "0x23EE6E0", VA = "0x1823EF6E0")]
|
|
public DepthOfField()
|
|
{
|
|
}
|
|
|
|
// Token: 0x04000160 RID: 352
|
|
[FieldOffset(Offset = "0x38")]
|
|
[Token(Token = "0x400013C")]
|
|
[Tooltip("Use \"Gaussian\" for a faster but non physical depth of field; \"Bokeh\" for a more realistic but slower depth of field.")]
|
|
public DepthOfFieldModeParameter mode;
|
|
|
|
// Token: 0x04000161 RID: 353
|
|
[FieldOffset(Offset = "0x40")]
|
|
[Token(Token = "0x400013D")]
|
|
[Tooltip("The distance at which the blurring will start.")]
|
|
public MinFloatParameter gaussianStart;
|
|
|
|
// Token: 0x04000162 RID: 354
|
|
[FieldOffset(Offset = "0x48")]
|
|
[Token(Token = "0x400013E")]
|
|
[Tooltip("The distance at which the blurring will reach its maximum radius.")]
|
|
public MinFloatParameter gaussianEnd;
|
|
|
|
// Token: 0x04000163 RID: 355
|
|
[FieldOffset(Offset = "0x50")]
|
|
[Token(Token = "0x400013F")]
|
|
[Tooltip("The maximum radius of the gaussian blur. Values above 1 may show under-sampling artifacts.")]
|
|
public ClampedFloatParameter gaussianMaxRadius;
|
|
|
|
// Token: 0x04000164 RID: 356
|
|
[FieldOffset(Offset = "0x58")]
|
|
[Token(Token = "0x4000140")]
|
|
[Tooltip("Use higher quality sampling to reduce flickering and improve the overall blur smoothness.")]
|
|
public BoolParameter highQualitySampling;
|
|
|
|
// Token: 0x04000165 RID: 357
|
|
[FieldOffset(Offset = "0x60")]
|
|
[Token(Token = "0x4000141")]
|
|
[Tooltip("The distance to the point of focus.")]
|
|
public MinFloatParameter focusDistance;
|
|
|
|
// Token: 0x04000166 RID: 358
|
|
[FieldOffset(Offset = "0x68")]
|
|
[Token(Token = "0x4000142")]
|
|
[Tooltip("The ratio of aperture (known as f-stop or f-number). The smaller the value is, the shallower the depth of field is.")]
|
|
public ClampedFloatParameter aperture;
|
|
|
|
// Token: 0x04000167 RID: 359
|
|
[FieldOffset(Offset = "0x70")]
|
|
[Token(Token = "0x4000143")]
|
|
[Tooltip("The distance between the lens and the film. The larger the value is, the shallower the depth of field is.")]
|
|
public ClampedFloatParameter focalLength;
|
|
|
|
// Token: 0x04000168 RID: 360
|
|
[FieldOffset(Offset = "0x78")]
|
|
[Token(Token = "0x4000144")]
|
|
[Tooltip("The number of aperture blades.")]
|
|
public ClampedIntParameter bladeCount;
|
|
|
|
// Token: 0x04000169 RID: 361
|
|
[FieldOffset(Offset = "0x80")]
|
|
[Token(Token = "0x4000145")]
|
|
[Tooltip("The curvature of aperture blades. The smaller the value is, the more visible aperture blades are. A value of 1 will make the bokeh perfectly circular.")]
|
|
public ClampedFloatParameter bladeCurvature;
|
|
|
|
// Token: 0x0400016A RID: 362
|
|
[FieldOffset(Offset = "0x88")]
|
|
[Token(Token = "0x4000146")]
|
|
[Tooltip("The rotation of aperture blades in degrees.")]
|
|
public ClampedFloatParameter bladeRotation;
|
|
}
|
|
}
|