182 lines
8.2 KiB
C#
182 lines
8.2 KiB
C#
using System;
|
|
using System.Runtime.InteropServices;
|
|
using Il2CppInterop.Common.Attributes;
|
|
using Il2CppInterop.Runtime;
|
|
using Il2CppSystem;
|
|
|
|
namespace UnityEngine.PostProcessing
|
|
{
|
|
// Token: 0x0200057B RID: 1403
|
|
[Serializable]
|
|
public class MotionBlurModel : PostProcessingModel
|
|
{
|
|
// Token: 0x17003336 RID: 13110
|
|
// (get) Token: 0x0600975C RID: 38748 RVA: 0x0026D838 File Offset: 0x0026BA38
|
|
// (set) Token: 0x0600975D RID: 38749 RVA: 0x0026D888 File Offset: 0x0026BA88
|
|
public unsafe MotionBlurModel.Settings settings
|
|
{
|
|
[CallerCount(0)]
|
|
get
|
|
{
|
|
IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
|
|
IntPtr* ptr = null;
|
|
IntPtr intPtr2;
|
|
IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(MotionBlurModel.NativeMethodInfoPtr_get_settings_Public_get_Settings_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
|
|
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
|
|
return *IL2CPP.il2cpp_object_unbox(intPtr);
|
|
}
|
|
[CallerCount(0)]
|
|
set
|
|
{
|
|
IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
|
|
checked
|
|
{
|
|
IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)];
|
|
*ptr = ref value;
|
|
IntPtr intPtr2;
|
|
IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(MotionBlurModel.NativeMethodInfoPtr_set_settings_Public_set_Void_Settings_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
|
|
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600975E RID: 38750 RVA: 0x0026D8DC File Offset: 0x0026BADC
|
|
[CallerCount(0)]
|
|
[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 634290, XrefRangeEnd = 634291, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
|
|
public unsafe override void Reset()
|
|
{
|
|
IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
|
|
IntPtr* ptr = null;
|
|
IntPtr intPtr2;
|
|
IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(IL2CPP.il2cpp_object_get_virtual_method(IL2CPP.Il2CppObjectBaseToPtr(this), MotionBlurModel.NativeMethodInfoPtr_Reset_Public_Virtual_Void_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
|
|
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
|
|
}
|
|
|
|
// Token: 0x0600975F RID: 38751 RVA: 0x0026D92C File Offset: 0x0026BB2C
|
|
[CallerCount(1)]
|
|
[CachedScanResults(RefRangeStart = 634293, RefRangeEnd = 634294, XrefRangeStart = 634291, XrefRangeEnd = 634293, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
|
|
public unsafe MotionBlurModel()
|
|
: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<MotionBlurModel>.NativeClassPtr))
|
|
{
|
|
IntPtr* ptr = null;
|
|
IntPtr intPtr2;
|
|
IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(MotionBlurModel.NativeMethodInfoPtr__ctor_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
|
|
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
|
|
}
|
|
|
|
// Token: 0x06009760 RID: 38752 RVA: 0x0026D978 File Offset: 0x0026BB78
|
|
// Note: this type is marked as 'beforefieldinit'.
|
|
static MotionBlurModel()
|
|
{
|
|
Il2CppClassPointerStore<MotionBlurModel>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "UnityEngine.PostProcessing", "MotionBlurModel");
|
|
IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<MotionBlurModel>.NativeClassPtr);
|
|
MotionBlurModel.NativeFieldInfoPtr_m_Settings = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<MotionBlurModel>.NativeClassPtr, "m_Settings");
|
|
MotionBlurModel.NativeMethodInfoPtr_get_settings_Public_get_Settings_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<MotionBlurModel>.NativeClassPtr, 100675072);
|
|
MotionBlurModel.NativeMethodInfoPtr_set_settings_Public_set_Void_Settings_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<MotionBlurModel>.NativeClassPtr, 100675073);
|
|
MotionBlurModel.NativeMethodInfoPtr_Reset_Public_Virtual_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<MotionBlurModel>.NativeClassPtr, 100675074);
|
|
MotionBlurModel.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<MotionBlurModel>.NativeClassPtr, 100675075);
|
|
}
|
|
|
|
// Token: 0x06009761 RID: 38753 RVA: 0x00269DA4 File Offset: 0x00267FA4
|
|
public MotionBlurModel(IntPtr pointer)
|
|
: base(pointer)
|
|
{
|
|
}
|
|
|
|
// Token: 0x17003335 RID: 13109
|
|
// (get) Token: 0x06009762 RID: 38754 RVA: 0x0026DA0C File Offset: 0x0026BC0C
|
|
// (set) Token: 0x06009763 RID: 38755 RVA: 0x0026DA34 File Offset: 0x0026BC34
|
|
public unsafe MotionBlurModel.Settings m_Settings
|
|
{
|
|
get
|
|
{
|
|
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(MotionBlurModel.NativeFieldInfoPtr_m_Settings);
|
|
return *intPtr;
|
|
}
|
|
set
|
|
{
|
|
*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(MotionBlurModel.NativeFieldInfoPtr_m_Settings)) = value;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0400657B RID: 25979
|
|
private static readonly IntPtr NativeFieldInfoPtr_m_Settings;
|
|
|
|
// Token: 0x0400657C RID: 25980
|
|
private static readonly IntPtr NativeMethodInfoPtr_get_settings_Public_get_Settings_0;
|
|
|
|
// Token: 0x0400657D RID: 25981
|
|
private static readonly IntPtr NativeMethodInfoPtr_set_settings_Public_set_Void_Settings_0;
|
|
|
|
// Token: 0x0400657E RID: 25982
|
|
private static readonly IntPtr NativeMethodInfoPtr_Reset_Public_Virtual_Void_0;
|
|
|
|
// Token: 0x0400657F RID: 25983
|
|
private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
|
|
|
|
// Token: 0x0200057C RID: 1404
|
|
[Serializable]
|
|
[StructLayout(LayoutKind.Explicit)]
|
|
public struct Settings
|
|
{
|
|
// Token: 0x17003337 RID: 13111
|
|
// (get) Token: 0x06009764 RID: 38756 RVA: 0x0026DA58 File Offset: 0x0026BC58
|
|
public unsafe static MotionBlurModel.Settings defaultSettings
|
|
{
|
|
[CallerCount(2)]
|
|
[CachedScanResults(RefRangeStart = 634288, RefRangeEnd = 634290, XrefRangeStart = 634288, XrefRangeEnd = 634288, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
|
|
get
|
|
{
|
|
IntPtr* ptr = null;
|
|
IntPtr intPtr2;
|
|
IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(MotionBlurModel.Settings.NativeMethodInfoPtr_get_defaultSettings_Public_Static_get_Settings_0, 0, (void**)ptr, ref intPtr2);
|
|
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
|
|
return *IL2CPP.il2cpp_object_unbox(intPtr);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06009765 RID: 38757 RVA: 0x0026DA9C File Offset: 0x0026BC9C
|
|
// Note: this type is marked as 'beforefieldinit'.
|
|
static Settings()
|
|
{
|
|
Il2CppClassPointerStore<MotionBlurModel.Settings>.NativeClassPtr = IL2CPP.GetIl2CppNestedType(Il2CppClassPointerStore<MotionBlurModel>.NativeClassPtr, "Settings");
|
|
IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<MotionBlurModel.Settings>.NativeClassPtr);
|
|
MotionBlurModel.Settings.NativeFieldInfoPtr_shutterAngle = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<MotionBlurModel.Settings>.NativeClassPtr, "shutterAngle");
|
|
MotionBlurModel.Settings.NativeFieldInfoPtr_sampleCount = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<MotionBlurModel.Settings>.NativeClassPtr, "sampleCount");
|
|
MotionBlurModel.Settings.NativeFieldInfoPtr_frameBlending = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<MotionBlurModel.Settings>.NativeClassPtr, "frameBlending");
|
|
MotionBlurModel.Settings.NativeMethodInfoPtr_get_defaultSettings_Public_Static_get_Settings_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<MotionBlurModel.Settings>.NativeClassPtr, 100675076);
|
|
}
|
|
|
|
// Token: 0x06009766 RID: 38758 RVA: 0x0026DB17 File Offset: 0x0026BD17
|
|
public Object BoxIl2CppObject()
|
|
{
|
|
return new Object(IL2CPP.il2cpp_value_box(Il2CppClassPointerStore<MotionBlurModel.Settings>.NativeClassPtr, ref this));
|
|
}
|
|
|
|
// Token: 0x04006580 RID: 25984
|
|
private static readonly IntPtr NativeFieldInfoPtr_shutterAngle;
|
|
|
|
// Token: 0x04006581 RID: 25985
|
|
private static readonly IntPtr NativeFieldInfoPtr_sampleCount;
|
|
|
|
// Token: 0x04006582 RID: 25986
|
|
private static readonly IntPtr NativeFieldInfoPtr_frameBlending;
|
|
|
|
// Token: 0x04006583 RID: 25987
|
|
private static readonly IntPtr NativeMethodInfoPtr_get_defaultSettings_Public_Static_get_Settings_0;
|
|
|
|
// Token: 0x04006584 RID: 25988
|
|
[FieldOffset(0)]
|
|
public float shutterAngle;
|
|
|
|
// Token: 0x04006585 RID: 25989
|
|
[FieldOffset(4)]
|
|
public int sampleCount;
|
|
|
|
// Token: 0x04006586 RID: 25990
|
|
[FieldOffset(8)]
|
|
public float frameBlending;
|
|
}
|
|
}
|
|
}
|