优化实践教程示例项目
您最多选择25个主题 主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

14300 行
758 KiB

#include "pch-cpp.hpp"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <limits>
#include <stdint.h>
// System.Action`2<UnityEngine.Rendering.ScriptableRenderContext,UnityEngine.Camera>
struct Action_2_t8E07914D7090FF200FE84404EEEFAF3CE183C9F3;
// System.Action`2<UnityEngine.Rendering.ScriptableRenderContext,System.Object>
struct Action_2_t38DEBB6BD6AE1CA882236F63F7E1DB3781D38994;
// System.Collections.Generic.Dictionary`2<UnityEngine.Hash128,System.Int32[]>
struct Dictionary_2_tCB9019887EB0254D4745B0724BC12327C5B63792;
// System.Collections.Generic.Dictionary`2<UnityEngine.Hash128,System.Int32>
struct Dictionary_2_tB41FAC88F07BAB98D6D373F7C94FB0496D1BDA32;
// System.Collections.Generic.Dictionary`2<System.Int32,System.Object>
struct Dictionary_2_tA75D1125AC9BE8F005BA9B868B373398E643C907;
// System.Collections.Generic.Dictionary`2<System.Int32,Unity.Mathematics.int2>
struct Dictionary_2_t34976844C1A11EC7C4C065C9F12F6223D78D4583;
// System.Collections.Generic.Dictionary`2<System.Int32,LocalToWorldJob/TransformLocalToWorld>
struct Dictionary_2_t04D9DCBB28EAB303065226F1E05133427281836B;
// System.Collections.Generic.IEnumerator`1<System.Action`2<UnityEngine.Rendering.RenderTargetIdentifier,UnityEngine.Rendering.CommandBuffer>>
struct IEnumerator_1_t5926539DBBB2302C569D0A07AF3A95A874CEBE33;
// System.Collections.Generic.IEqualityComparer`1<System.Int32>
struct IEqualityComparer_1_tDBFC8496F14612776AF930DBF84AFE7D06D1F0E9;
// System.Collections.Generic.Dictionary`2/KeyCollection<System.Int32,Unity.Mathematics.int2>
struct KeyCollection_tF0D51351968B9D6AF4A5E5927147A329933047EC;
// System.Collections.Generic.Dictionary`2/KeyCollection<System.Int32,LocalToWorldJob/TransformLocalToWorld>
struct KeyCollection_t04CB8EBC228F5944FE884026D3541937D7DF9E5A;
// System.Collections.Generic.List`1<UnityEngine.Camera>
struct List_1_tD2FA3273746E404D72561E8324608D18B52B533E;
// System.Collections.Generic.List`1<System.Int32>
struct List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73;
// System.Collections.Generic.List`1<UnityEngine.Rendering.Universal.ScriptableRenderPass>
struct List_1_t2E485E650BF1E41358CE56A69323E183C5A89CB6;
// System.Collections.Generic.List`1<UnityEngine.Rendering.Universal.ScriptableRendererFeature>
struct List_1_t2121653FB628940E808D105AD2C17E0F20AFB3A6;
// System.Collections.Generic.List`1<UnityEngine.Vector3>
struct List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B;
// System.Collections.Generic.List`1<UnityEngine.Vector4>
struct List_1_tF42FEB6C3B18B7E7C8F2DE1FEBA00D2491736317;
// System.Collections.Generic.List`1<WaterSystem.Data.Wave>
struct List_1_tBC238FE9E191BC345C4C774C9917EFB6D9B7F1CC;
// System.Collections.Generic.Dictionary`2/ValueCollection<System.Int32,Unity.Mathematics.int2>
struct ValueCollection_t528A6C30362E5F1887421441B80947E30B5313FE;
// System.Collections.Generic.Dictionary`2/ValueCollection<System.Int32,LocalToWorldJob/TransformLocalToWorld>
struct ValueCollection_tF1B07DAB54F833AE51CC232D69E59038EBB7637D;
// System.Collections.Generic.Dictionary`2/Entry<System.Int32,Unity.Mathematics.int2>[]
struct EntryU5BU5D_t08FBD654D1BE94AA116403FFDB70A3F1B7F69717;
// System.Collections.Generic.Dictionary`2/Entry<System.Int32,LocalToWorldJob/TransformLocalToWorld>[]
struct EntryU5BU5D_t55D0BB35E8397CC6AF3DC42255AD648D3F0F3D0A;
// UnityEngine.Experimental.Rendering.GraphicsFormat[][]
struct GraphicsFormatU5BU5DU5BU5D_t1424BD937A890524D2A66FF39E61DEB0F10FE0A2;
// System.Int32[][]
struct Int32U5BU5DU5BU5D_t179D865D5B30EFCBC50F82C9774329C15943466E;
// UnityEngine.Rendering.RenderTargetIdentifier[][]
struct RenderTargetIdentifierU5BU5DU5BU5D_tDB35F8D017FE3AD8BB35E08E323074D47C5A10BB;
// UnityEngine.Rendering.AttachmentDescriptor[]
struct AttachmentDescriptorU5BU5D_tC70107EBD955FE94BA31C7FDC146069EF9C547C1;
// System.Boolean[]
struct BooleanU5BU5D_tD317D27C31DB892BE79FAE3AEBC0B3FFB73DE9B4;
// System.Char[]
struct CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB;
// UnityEngine.Collider[]
struct ColliderU5BU5D_t94A9D70F63D095AFF2A9B4613012A5F7F3141787;
// UnityEngine.Color[]
struct ColorU5BU5D_t612261CF293F6FFC3D80AB52259FF0DC2B2CC389;
// System.Delegate[]
struct DelegateU5BU5D_tC5AB7E8F745616680F337909D3A8E6C722CDF771;
// UnityEngine.Rendering.GraphicsDeviceType[]
struct GraphicsDeviceTypeU5BU5D_t4322565F239068C66BF47053B83BD6A9A9D16408;
// UnityEngine.Experimental.Rendering.GraphicsFormat[]
struct GraphicsFormatU5BU5D_tF6A3D90C430FA3F548B77E5D58D25D71F154E6C5;
// UnityEngine.Hash128[]
struct Hash128U5BU5D_tB104E7247B842648E447B7FCF4748077DC1F8C98;
// System.Int32[]
struct Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C;
// System.IntPtr[]
struct IntPtrU5BU5D_tFD177F8C806A6921AD7150264CCC62FA00CAD832;
// UnityEngine.Keyframe[]
struct KeyframeU5BU5D_t63250A46914A6A07B2A6689850D47D7D19D80BA3;
// UnityEngine.Mesh[]
struct MeshU5BU5D_t178CA36422FC397211E68FB7E39C5B2F95619689;
// System.Object[]
struct ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918;
// UnityEngine.Plane[]
struct PlaneU5BU5D_t4EEF66BAA8B0140EFFF34F6183CE7F80546592BE;
// UnityEngine.Rendering.RenderBufferStoreAction[]
struct RenderBufferStoreActionU5BU5D_tFEA8F5DD460573EA9F35FBEC5727D1804C5DCBF5;
// UnityEngine.Rendering.RenderTargetIdentifier[]
struct RenderTargetIdentifierU5BU5D_t179798C153B7CE381B41C57863F98CB24023C4CE;
// UnityEngine.Rendering.Universal.ScriptableRenderer[]
struct ScriptableRendererU5BU5D_t9B15C048BCE03A67E830F1C79989B6A3E43788E6;
// UnityEngine.Rendering.Universal.ScriptableRendererData[]
struct ScriptableRendererDataU5BU5D_tC674C147618C92B68DB64ECFDC847C8A941C6169;
// System.Diagnostics.StackTrace[]
struct StackTraceU5BU5D_t32FBCB20930EAF5BAE3F450FF75228E5450DA0DF;
// System.Type[]
struct TypeU5BU5D_t97234E1129B564EB38B8D85CAC2AD8B5B9522FFB;
// UnityEngine.Vector3[]
struct Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C;
// UnityEngine.Vector4[]
struct Vector4U5BU5D_tC0F3A7115F85007510F6D173968200CD31BCF7AD;
// WaterSystem.Data.Wave[]
struct WaveU5BU5D_t464305B39C1E1AA8D0E58528BC0562C10AB70BC5;
// Unity.Mathematics.float3[]
struct float3U5BU5D_t94C1DF28FA7E0FA017D0C77B720D9FF3519E0D45;
// WaterSystem.BuoyantObject/DebugDrawing[]
struct DebugDrawingU5BU5D_t04C7DD1A501E3860BAC818512BC651716CD4C4FC;
// UnityEngine.AnimationCurve
struct AnimationCurve_tCBFFAAD05CEBB35EF8D8631BD99914BE1A6BB354;
// System.ArgumentOutOfRangeException
struct ArgumentOutOfRangeException_tEA2822DAF62B10EEED00E0E3A341D4BAF78CF85F;
// WaterSystem.Data.BasicWaves
struct BasicWaves_tC7BCDF12B18FB4126AB8A0BCC8CD1DCC33156D96;
// UnityEngine.Behaviour
struct Behaviour_t01970CFBBA658497AE30F311C447DB0440BAB7FA;
// System.Reflection.Binder
struct Binder_t91BFCE95A7057FADF4D8A1A342AFE52872246235;
// UnityEngine.BoxCollider
struct BoxCollider_tFA5D239388334D6DE0B8FFDAD6825C5B03786E23;
// WaterSystem.BuoyantObject
struct BuoyantObject_t8611DAACF74D9E88F389659A4E68C8DBF6226F50;
// System.Byte
struct Byte_t94D9231AC217BE4D2E004C4CD32DF6D099EA41A3;
// UnityEngine.Camera
struct Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184;
// UnityEngine.Collider
struct Collider_t1CC3163924FCD6C4CC2E816373A929C1E3D55E76;
// UnityEngine.Rendering.CommandBuffer
struct CommandBuffer_tB56007DC84EF56296C325EC32DD12AC1E3DC91F7;
// UnityEngine.Component
struct Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3;
// UnityEngine.ComputeBuffer
struct ComputeBuffer_t51EADA9015EBCC1B982C5584E9AB2734415A8233;
// UnityEngine.Cubemap
struct Cubemap_t4F2DFF70696A5CB5C1695DF8947CC60D718C4A1C;
// UnityEngine.Rendering.CullingAllocationInfo
struct CullingAllocationInfo_tB260F5CD0B290F74E145EB16E54B901CC68D9D5A;
// UnityEngine.Profiling.CustomSampler
struct CustomSampler_tDA472186F08B4016626F032F944036BADFDB5487;
// UnityEngine.Rendering.Universal.DebugHandler
struct DebugHandler_t3A09E2CFD1CA6F5C192968A6FF19EE4863F44DA4;
// System.Delegate
struct Delegate_t;
// System.DelegateData
struct DelegateData_t9B286B493293CD2D23A5B2B5EF0E5B1324C2B77E;
// WaterSystem.Data.FoamSettings
struct FoamSettings_tAB393D4E610A9219CD0C021238F8A18B0839608E;
// UnityEngine.GameObject
struct GameObject_t76FEDD663AB33C991A9C9A23129337651094216F;
// UnityEngine.Gradient
struct Gradient_tA7FEBE2FDB4929FFF6C997134841046F713DAC1E;
// System.Collections.IDictionary
struct IDictionary_t6D03155AF1FA9083817AA5B6AD7DEEACC26AB220;
// System.IndexOutOfRangeException
struct IndexOutOfRangeException_t7ECB35264FB6CA8FAA516BD958F4B2ADC78E8A82;
// UnityEngine.Light
struct Light_t1E68479B7782AF2050FAA02A5DC612FD034F18F3;
// UnityEngine.LightProbeProxyVolume
struct LightProbeProxyVolume_t431001CA94D2BB5DB419E2A89E7D8116E4E1B658;
// WaterSystem.MainCameraAlign
struct MainCameraAlign_t11B7356BD1B1AD52E277FC0BAE1A4BAD92903D12;
// UnityEngine.Material
struct Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3;
// UnityEngine.MaterialPropertyBlock
struct MaterialPropertyBlock_t2308669579033A857EFE6E4831909F638B27411D;
// System.Reflection.MemberFilter
struct MemberFilter_tF644F1AE82F611B677CE1964D5A3277DDA21D553;
// UnityEngine.Mesh
struct Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4;
// System.Reflection.MethodInfo
struct MethodInfo_t;
// UnityEngine.MonoBehaviour
struct MonoBehaviour_t532A11E69716D348D8AA7F854AFCBFCB8AD17F71;
// UnityEngine.Object
struct Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C;
// UnityEngine.Rendering.Universal.PlanarReflections
struct PlanarReflections_t89C378C054F8113CB465D2A27E38FCC4F4B9F169;
// UnityEngine.Rendering.ProfilingSampler
struct ProfilingSampler_t420D4672EDB44E0EF980B31ADFD9E5747200FECE;
// UnityEngine.Profiling.Recorder
struct Recorder_t0A14385FB0F5829CAAC1E16F88B095769D648C90;
// UnityEngine.RenderTexture
struct RenderTexture_tBA90C4C3AD9EECCFDDCC632D97C29FAB80D60D27;
// UnityEngine.Renderer
struct Renderer_t320575F223BCB177A982E5DDB5DB19FAA89E7FBF;
// UnityEngine.Rigidbody
struct Rigidbody_t268697F5A994213ED97393309870968BC1C7393C;
// System.Runtime.Serialization.SafeSerializationManager
struct SafeSerializationManager_tCBB85B95DFD1634237140CD892E82D06ECB3F5E6;
// UnityEngine.ScriptableObject
struct ScriptableObject_tB3BFDB921A1B1795B38A5417D3B97A89A140436A;
// UnityEngine.Rendering.Universal.ScriptableRenderPass
struct ScriptableRenderPass_tEA38F6C7AD8D111A2251E4C2A7530BCEE7D6D2B0;
// UnityEngine.Rendering.Universal.ScriptableRenderer
struct ScriptableRenderer_tF15B95BB85F26BE4B4719901D909831B89DC8892;
// UnityEngine.Rendering.Universal.ScriptableRendererData
struct ScriptableRendererData_t9005CE645D4881FA4431E52EDC7678203632CAA7;
// UnityEngine.Rendering.Universal.ScriptableRendererFeature
struct ScriptableRendererFeature_tF2ED08AD2498105378D4DAB0386A0F8A144EF4C6;
// UnityEngine.Shader
struct Shader_tADC867D36B7876EE22427FAA2CE485105F4EE692;
// System.String
struct String_t;
// UnityEngine.Texture
struct Texture_t791CBB51219779964E0E8A2ED7C1AA5F92A4A700;
// UnityEngine.Texture2D
struct Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4;
// UnityEngine.Transform
struct Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1;
// System.Type
struct Type_t;
// UnityEngine.Rendering.Universal.UniversalAdditionalCameraData
struct UniversalAdditionalCameraData_t57B5D0F93C2D506E618E23187302C0FADE813B93;
// UnityEngine.Rendering.Universal.UniversalRenderPipelineAsset
struct UniversalRenderPipelineAsset_tE8A9AA6F030CC3B558CEA2EB54FFF4FC58CA6232;
// System.Void
struct Void_t4861ACF8F4594C3437BB48B6E56783494B843915;
// UnityEngine.Rendering.VolumeStack
struct VolumeStack_t5DE94743BDB63D97EF5587DBDAE46468233F36E8;
// WaterSystem.Water
struct Water_t8D0105147A62029CB3B0497FE968F18E33C3D319;
// WaterSystem.WaterResources
struct WaterResources_t314516FE58A01D31093FF9936D7DA8F2D455EAAE;
// WaterSystem.Data.WaterSettingsData
struct WaterSettingsData_tE1FC3BFA899A42BE86438D0C1706008CEF83DBF2;
// WaterSystem.Data.WaterSurfaceData
struct WaterSurfaceData_t69017B077D8A40D429E217EE688B9C5AE831D87B;
// WaterSystem.WaterSystemFeature
struct WaterSystemFeature_t89B0192FA750BC0CDBEEB20341FA467A2FE8D098;
// UnityEngine.Rendering.Universal.XRPass
struct XRPass_t0A618D61DBC9E3F8BC970B7C9D2679375C6C8A24;
// UnityEngine.Camera/CameraCallback
struct CameraCallback_t844E527BFE37BC0495E7F67993E43C07642DA9DD;
// LocalToWorldJob/TransformLocalToWorld
struct TransformLocalToWorld_tE67A70BFEDF4AF544F58C9F6A47CC3DB9D8387F3;
// UnityEngine.Rendering.Universal.PlanarReflections/PlanarReflectionSettingData
struct PlanarReflectionSettingData_tA2166FF34B27262BB7A4ADA1EA450DB940ACCF37;
// UnityEngine.Rendering.Universal.PlanarReflections/PlanarReflectionSettings
struct PlanarReflectionSettings_t933C0BB776407C4B49D2CE2FD8E60337F2B62731;
// UnityEngine.Rendering.Universal.ScriptableRenderer/RenderingFeatures
struct RenderingFeatures_t31044CBDCDC2F05194BFA2A2122FBD937D78A371;
// WaterSystem.WaterSystemFeature/WaterCausticsPass
struct WaterCausticsPass_t922AB7DEF9518C198D2DF81EB7504248DB015F28;
// WaterSystem.WaterSystemFeature/WaterFxPass
struct WaterFxPass_t7E07E3E2745F0FD3567D3CAB421FB44653884497;
// WaterSystem.WaterSystemFeature/WaterSystemSettings
struct WaterSystemSettings_tE1A03BEC806E79F355763506E93C356C0497BE8C;
IL2CPP_EXTERN_C RuntimeClass* Action_2_t8E07914D7090FF200FE84404EEEFAF3CE183C9F3_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* AnimationCurve_tCBFFAAD05CEBB35EF8D8631BD99914BE1A6BB354_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* ArgumentOutOfRangeException_tEA2822DAF62B10EEED00E0E3A341D4BAF78CF85F_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* BasicWaves_tC7BCDF12B18FB4126AB8A0BCC8CD1DCC33156D96_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* BitConverter_t6E99605185963BC12B3D369E13F2B88997E64A27_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* ColliderU5BU5D_t94A9D70F63D095AFF2A9B4613012A5F7F3141787_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* ColorU5BU5D_t612261CF293F6FFC3D80AB52259FF0DC2B2CC389_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* CommandBufferPool_t88CACA06AB445EE4743F5C4D742C73761A2DEF0F_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* ComputeBuffer_t51EADA9015EBCC1B982C5584E9AB2734415A8233_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* CoreUtils_tEE57AB2B0DAE9561F4954B08800A8F957850B038_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* DebugDrawingU5BU5D_t04C7DD1A501E3860BAC818512BC651716CD4C4FC_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* Dictionary_2_t04D9DCBB28EAB303065226F1E05133427281836B_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* Dictionary_2_t34976844C1A11EC7C4C065C9F12F6223D78D4583_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* FoamSettings_tAB393D4E610A9219CD0C021238F8A18B0839608E_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* GameObject_t76FEDD663AB33C991A9C9A23129337651094216F_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* GerstnerWavesJobs_t93D7738515E9961C2592A8DC0BE0BAF4F3EDEFAB_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* GraphicsFormatUtility_t3DAD8CAC84EA38F28613F98184F871773CB282FD_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* Graphics_t99CD970FFEA58171C70F54DF0C06D315BD452F2C_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* IndexOutOfRangeException_t7ECB35264FB6CA8FAA516BD958F4B2ADC78E8A82_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* KeyframeU5BU5D_t63250A46914A6A07B2A6689850D47D7D19D80BA3_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* List_1_tBC238FE9E191BC345C4C774C9917EFB6D9B7F1CC_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* LocalToWorldJob_tDFBD6859E10A384CFA9407CA1D07CF9ACBB1D3EE_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* PlanarReflectionSettingData_tA2166FF34B27262BB7A4ADA1EA450DB940ACCF37_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* PlanarReflectionSettings_t933C0BB776407C4B49D2CE2FD8E60337F2B62731_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* PlanarReflections_t89C378C054F8113CB465D2A27E38FCC4F4B9F169_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* ProfilingSampler_t420D4672EDB44E0EF980B31ADFD9E5747200FECE_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* RenderPipelineManager_t44E0175AAADDD5487593AEF2B009B1B154957CDB_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* RenderQueueRange_t7518252AA6426B1EA45D3D9B394F304EEF784D71_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* RenderTargetHandle_tB5C2670041BF377223D41FDF9290F6D8BFB7BA66_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* RenderTexture_tBA90C4C3AD9EECCFDDCC632D97C29FAB80D60D27_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* RenderingUtils_t4E40200449A82FA3A172A563C490DF11FADA2BE1_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* TransformLocalToWorld_tE67A70BFEDF4AF544F58C9F6A47CC3DB9D8387F3_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* TypeU5BU5D_t97234E1129B564EB38B8D85CAC2AD8B5B9522FFB_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* Type_t_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* UniversalAdditionalCameraData_t57B5D0F93C2D506E618E23187302C0FADE813B93_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* UniversalRenderPipeline_t54B4737DC500C08628C5BE283D8C583C14DED98F_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* Vector4U5BU5D_tC0F3A7115F85007510F6D173968200CD31BCF7AD_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* WaterCausticsPass_t922AB7DEF9518C198D2DF81EB7504248DB015F28_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* WaterFxPass_t7E07E3E2745F0FD3567D3CAB421FB44653884497_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* WaterResources_t314516FE58A01D31093FF9936D7DA8F2D455EAAE_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* WaterSystemFeature_t89B0192FA750BC0CDBEEB20341FA467A2FE8D098_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* WaterSystemSettings_tE1A03BEC806E79F355763506E93C356C0497BE8C_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* Water_t8D0105147A62029CB3B0497FE968F18E33C3D319_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* WaveU5BU5D_t464305B39C1E1AA8D0E58528BC0562C10AB70BC5_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* float3U5BU5D_t94C1DF28FA7E0FA017D0C77B720D9FF3519E0D45_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* float4_t89D9A294E7A79BD81BFBDD18654508532958555E_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeField* U3CPrivateImplementationDetailsU3E_tDD48C6940DEABD944605758A54652DDAA1EBB209____752A6E22358C492163D1DE31BFAFB249C23A54C303CE495A18ABF04CF82E01B2_0_FieldInfo_var;
IL2CPP_EXTERN_C String_t* _stringLiteral0249C51CE8C7FD09E6B347E950911396FC4ED87B;
IL2CPP_EXTERN_C String_t* _stringLiteral060F9F310A5FE8CEF266B625740B0717A03B901D;
IL2CPP_EXTERN_C String_t* _stringLiteral06A38FEF86C073F944DE40D91C849675C4EC9562;
IL2CPP_EXTERN_C String_t* _stringLiteral0778D9EAD13B061914AEFDDA851505F333584A82;
IL2CPP_EXTERN_C String_t* _stringLiteral100C055D4F7FECF2C2953C6AA4B80FAEEE5D12AD;
IL2CPP_EXTERN_C String_t* _stringLiteral11F791DFEF8749C442077BB1289F9EC4548585F7;
IL2CPP_EXTERN_C String_t* _stringLiteral12682F35A93AC2EAAC11A300FF8CE6E327AA6C0D;
IL2CPP_EXTERN_C String_t* _stringLiteral153F6387BAF3E37EE7D33D6F62E56AC8AC2E81BE;
IL2CPP_EXTERN_C String_t* _stringLiteral1D9AE29772126C1FB34E4E8715BFD4A3AE07314B;
IL2CPP_EXTERN_C String_t* _stringLiteral1DDD81E05AA35C1FF5105CF63DE211E74D5A86ED;
IL2CPP_EXTERN_C String_t* _stringLiteral224F704DBF6AB59B1308A26DD633590AA7F2328C;
IL2CPP_EXTERN_C String_t* _stringLiteral2727B60D5787A1602C7404E530A54DD02B3561BE;
IL2CPP_EXTERN_C String_t* _stringLiteral284B4BC4CC23039C1C47572E7560491388529821;
IL2CPP_EXTERN_C String_t* _stringLiteral2FF39018CB6755E1793EC58826128E1FD23D0235;
IL2CPP_EXTERN_C String_t* _stringLiteral3708CDBCC9F390AB99D52FE7DEE4724401B69B9F;
IL2CPP_EXTERN_C String_t* _stringLiteral3785886B356696D5170BDD66E03EEFE7F1962357;
IL2CPP_EXTERN_C String_t* _stringLiteral448F659F880BA3E286B8000E49B72F1B7C9B297E;
IL2CPP_EXTERN_C String_t* _stringLiteral537701DB7CF0D006C98AD540067953064FC47AEE;
IL2CPP_EXTERN_C String_t* _stringLiteral66FDFEA4D8B9940AD91C0D0178D477D056CBE78B;
IL2CPP_EXTERN_C String_t* _stringLiteral6CE23184036AC4179479828C4D479F950109813C;
IL2CPP_EXTERN_C String_t* _stringLiteral701478AFDFECD0D2F0AE895576A1F0AE93D28F07;
IL2CPP_EXTERN_C String_t* _stringLiteral715C6B33EDAAFB39135E32AC25200AC0173D0ED1;
IL2CPP_EXTERN_C String_t* _stringLiteral73B13DE9817379145386BC6ECC87E983FC8ED41A;
IL2CPP_EXTERN_C String_t* _stringLiteral7689D628F4E53BFF1B9A5F7CBD481793E0D480B9;
IL2CPP_EXTERN_C String_t* _stringLiteral769342A7B71A4757C46FBD9E0972A1A4A72F0107;
IL2CPP_EXTERN_C String_t* _stringLiteral7A4C2703D5A4D2F0D7B212F2F539490BA3BE47D9;
IL2CPP_EXTERN_C String_t* _stringLiteral7B71FC74341BD9A2F1AE6D799F4587A18CB72F8E;
IL2CPP_EXTERN_C String_t* _stringLiteral7BC2E94BE8A767649B973AB17821662F479B0C7F;
IL2CPP_EXTERN_C String_t* _stringLiteral7CEE98C8501E60251A37A58E0C9359DD6651FA31;
IL2CPP_EXTERN_C String_t* _stringLiteral7E5C34DBD3FA78A845A3F6A9E91CF982C5ABB2F5;
IL2CPP_EXTERN_C String_t* _stringLiteral7F8CCF4C40BF6B2D0686C88F7BFC8EB4FD4C2076;
IL2CPP_EXTERN_C String_t* _stringLiteral9754E72B7C7980D0AEA2FA6A01D9D15D91C86EEE;
IL2CPP_EXTERN_C String_t* _stringLiteral9C592EC328A151ADE03ABFD039EF3B52522192E4;
IL2CPP_EXTERN_C String_t* _stringLiteral9E697C3514FCD429A08318C830A7FBC7F581D117;
IL2CPP_EXTERN_C String_t* _stringLiteralA099400ED5DFE6C308BF23819BC8E5AB053ED464;
IL2CPP_EXTERN_C String_t* _stringLiteralA5450FCDD23B07DF156776C46752CD7F6C50DDF3;
IL2CPP_EXTERN_C String_t* _stringLiteralA5D45491525886D74C125D27A723A559E36BDA79;
IL2CPP_EXTERN_C String_t* _stringLiteralAF483772072ADCF67BEFBBB7EE996548AD095CF0;
IL2CPP_EXTERN_C String_t* _stringLiteralB23C3717573626FB4C3C7DF5C19EDE7689837214;
IL2CPP_EXTERN_C String_t* _stringLiteralC2D15C6878B92FE1B4D290FCCB9359C65F16F872;
IL2CPP_EXTERN_C String_t* _stringLiteralD82920F06B0F1837F99EA875D2A033D4C4B862B7;
IL2CPP_EXTERN_C String_t* _stringLiteralE79AE536975E96591357EA5533F095F6E75B5545;
IL2CPP_EXTERN_C String_t* _stringLiteralEC1C3E29FB14580D5531CF358AE6196FFF53725D;
IL2CPP_EXTERN_C String_t* _stringLiteralF0356357C617F5F1EC49E3B27E064376AC090E2F;
IL2CPP_EXTERN_C const RuntimeMethod* BuoyantObject_FixedUpdate_mD32BD3CABF91FAAA65098276645C458A673B02A5_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* BuoyantObject_Init_mFC6372FF4327F10847628CC50FD3042B47B06A5D_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* BuoyantObject_Update_mF97E1906DD6F7604B4EE0C3B20259A92750AF5C2_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Component_GetComponent_TisRenderer_t320575F223BCB177A982E5DDB5DB19FAA89E7FBF_mC91ACC92AD57CA6CA00991DAF1DB3830BCE07AF8_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Component_GetComponentsInChildren_TisCollider_t1CC3163924FCD6C4CC2E816373A929C1E3D55E76_m64EB86DDB49F92CFAAF6003C9EAC7D7D8B0F35DB_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Component_TryGetComponent_TisRigidbody_t268697F5A994213ED97393309870968BC1C7393C_m2C2A32AA4FD62D8B9BF5E40B7E2F3EF738C532A6_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Dictionary_2_Add_m602750457826C95F8FF4A37BAF672E984668DABB_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Dictionary_2_Add_mF734BB544622985070F4A5064667541FDC8C9F5E_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Dictionary_2_ContainsKey_m59CE85FB1DB1171E7C89EBDACCF21C5703E3CE94_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Dictionary_2_Remove_m54016530E03CEA001E9018F6DCF64E47E1E94489_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Dictionary_2_TryGetValue_mD5BCA9DF77BD0662C45BF30F3C510A844171B678_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Dictionary_2__ctor_m8DC2593AC176C8D1CEA42AA4B5106CDB557CE510_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Dictionary_2__ctor_mFA7FF7707E39BC40A09AE60A60E2DD8507CF5CFC_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Dictionary_2_get_Item_m91A3CCB375E00D452413E798FC10A16139D46767_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* GameObject_AddComponent_TisBoxCollider_tFA5D239388334D6DE0B8FFDAD6825C5B03786E23_m655518C8454E418FE8CF0E4770881B7A2B12BB23_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* GameObject_AddComponent_TisCamera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184_m0933BC50E883CDEF6FA83FE190DA37CCB2802142_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* GameObject_AddComponent_TisPlanarReflections_t89C378C054F8113CB465D2A27E38FCC4F4B9F169_mED85BC7E9D183C24A2855DF50CCA69DD37CFBDED_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* GameObject_AddComponent_TisRigidbody_t268697F5A994213ED97393309870968BC1C7393C_m03A761629A3F71B0248F1B26EF612F592B757093_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* GameObject_GetComponent_TisCamera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184_m3B3C11550E48AA36AFF82788636EB163CC51FEE6_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* GameObject_GetComponent_TisRigidbody_t268697F5A994213ED97393309870968BC1C7393C_m2D7F86C77ECF9B82AAC077B511F1004280571B90_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* GameObject_TryGetComponent_TisPlanarReflections_t89C378C054F8113CB465D2A27E38FCC4F4B9F169_m8675242156BDC0387259FFC13C4FABF162987625_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* GameObject_TryGetComponent_TisUniversalAdditionalCameraData_t57B5D0F93C2D506E618E23187302C0FADE813B93_mBCAEF774AB0C0563A29C16F3A5305AE1A081C3BD_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* IJobExtensions_Schedule_TisLocalToWorldConvertJob_t267E7E07E36B323842ECCEE9BDF7151F14DA3C32_mA6B690E4A41503DD87FD1108179FE13DEF564F93_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* IJobParallelForExtensions_Schedule_TisHeightJob_t3CC067C0FFCCB359C83849C23293DD240CBC94EC_m02D8F0BBFC9AC99994EC7E733D0F73C905F14DDF_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* List_1_ToArray_m6044057B54DA2B3B740EE5B83B885976380DF9BD_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* List_1_ToArray_mF7A66D08104196EBAE0E29F0DD9BA140656EA5F3_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* List_1__ctor_mC54E2BCBE43279A96FC082F5CDE2D76388BD8F9C_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* List_1__ctor_mFA599B4E263EC595C3BF7A13AAFAD3F4F4A793DF_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* MainCameraAlign_UpdatePosition_m7DE56261584736BC565D0EA4836ED5F6416F1EE5_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* NativeArray_1_Dispose_m9A6BAC0BDCFDE0C7B38623ECD0414D548AE7E602_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* NativeArray_1_Dispose_mE40D457AF008BEE531917D94D3A83296CCF8906C_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* NativeArray_1__ctor_m8B4A7EF5892BD03213483192C61C6EB313610B69_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* NativeArray_1__ctor_m965B9BE6DD806F31A767FF7CB33BEA509B7C90D7_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* NativeSliceExtensions_Slice_Tisfloat3_t4AB5D88249ADB24F69FFD0793E8ED25E1CC3745E_m1FE3A9967B5FABE61BBAACF369993509D8A29F88_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* NativeSlice_1_CopyTo_mDD438DD80E2CD08F209E27E27F84EDC75A7EBEAD_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Nullable_1__ctor_mC09CE20B08C6A7188EE04F52B6A2E598657A0204_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* PlanarReflections_ExecutePlanarReflections_mA8A66140E4386ABD1A78D009014CC7DB8250FBC2_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Vector4_get_Item_mB1D001A235857569E479FB799EF77C52391D19EF_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Water_BeginCameraRendering_m07A3B99794153EB85D931A9635CD790ADF1B3A4A_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Water_SetWaves_m8038F26AA638BCBD0558230E9A30B1D58C415141_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeType* Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184_0_0_0_var;
IL2CPP_EXTERN_C const RuntimeType* UniversalAdditionalCameraData_t57B5D0F93C2D506E618E23187302C0FADE813B93_0_0_0_var;
IL2CPP_EXTERN_C const RuntimeType* Water_t8D0105147A62029CB3B0497FE968F18E33C3D319_0_0_0_var;
struct Delegate_t_marshaled_com;
struct Delegate_t_marshaled_pinvoke;
struct Exception_t_marshaled_com;
struct Exception_t_marshaled_pinvoke;
struct ColliderU5BU5D_t94A9D70F63D095AFF2A9B4613012A5F7F3141787;
struct ColorU5BU5D_t612261CF293F6FFC3D80AB52259FF0DC2B2CC389;
struct Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C;
struct KeyframeU5BU5D_t63250A46914A6A07B2A6689850D47D7D19D80BA3;
struct MeshU5BU5D_t178CA36422FC397211E68FB7E39C5B2F95619689;
struct TypeU5BU5D_t97234E1129B564EB38B8D85CAC2AD8B5B9522FFB;
struct Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C;
struct Vector4U5BU5D_tC0F3A7115F85007510F6D173968200CD31BCF7AD;
struct WaveU5BU5D_t464305B39C1E1AA8D0E58528BC0562C10AB70BC5;
struct float3U5BU5D_t94C1DF28FA7E0FA017D0C77B720D9FF3519E0D45;
struct DebugDrawingU5BU5D_t04C7DD1A501E3860BAC818512BC651716CD4C4FC;
IL2CPP_EXTERN_C_BEGIN
IL2CPP_EXTERN_C_END
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// <Module>
struct U3CModuleU3E_tB08CF3F5E6A376908C14521591E40E6616D3ABA8
{
};
// System.Collections.Generic.Dictionary`2<System.Int32,Unity.Mathematics.int2>
struct Dictionary_2_t34976844C1A11EC7C4C065C9F12F6223D78D4583 : public RuntimeObject
{
// System.Int32[] System.Collections.Generic.Dictionary`2::_buckets
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* ____buckets_0;
// System.Collections.Generic.Dictionary`2/Entry<TKey,TValue>[] System.Collections.Generic.Dictionary`2::_entries
EntryU5BU5D_t08FBD654D1BE94AA116403FFDB70A3F1B7F69717* ____entries_1;
// System.Int32 System.Collections.Generic.Dictionary`2::_count
int32_t ____count_2;
// System.Int32 System.Collections.Generic.Dictionary`2::_freeList
int32_t ____freeList_3;
// System.Int32 System.Collections.Generic.Dictionary`2::_freeCount
int32_t ____freeCount_4;
// System.Int32 System.Collections.Generic.Dictionary`2::_version
int32_t ____version_5;
// System.Collections.Generic.IEqualityComparer`1<TKey> System.Collections.Generic.Dictionary`2::_comparer
RuntimeObject* ____comparer_6;
// System.Collections.Generic.Dictionary`2/KeyCollection<TKey,TValue> System.Collections.Generic.Dictionary`2::_keys
KeyCollection_tF0D51351968B9D6AF4A5E5927147A329933047EC* ____keys_7;
// System.Collections.Generic.Dictionary`2/ValueCollection<TKey,TValue> System.Collections.Generic.Dictionary`2::_values
ValueCollection_t528A6C30362E5F1887421441B80947E30B5313FE* ____values_8;
// System.Object System.Collections.Generic.Dictionary`2::_syncRoot
RuntimeObject* ____syncRoot_9;
};
// System.Collections.Generic.Dictionary`2<System.Int32,LocalToWorldJob/TransformLocalToWorld>
struct Dictionary_2_t04D9DCBB28EAB303065226F1E05133427281836B : public RuntimeObject
{
// System.Int32[] System.Collections.Generic.Dictionary`2::_buckets
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* ____buckets_0;
// System.Collections.Generic.Dictionary`2/Entry<TKey,TValue>[] System.Collections.Generic.Dictionary`2::_entries
EntryU5BU5D_t55D0BB35E8397CC6AF3DC42255AD648D3F0F3D0A* ____entries_1;
// System.Int32 System.Collections.Generic.Dictionary`2::_count
int32_t ____count_2;
// System.Int32 System.Collections.Generic.Dictionary`2::_freeList
int32_t ____freeList_3;
// System.Int32 System.Collections.Generic.Dictionary`2::_freeCount
int32_t ____freeCount_4;
// System.Int32 System.Collections.Generic.Dictionary`2::_version
int32_t ____version_5;
// System.Collections.Generic.IEqualityComparer`1<TKey> System.Collections.Generic.Dictionary`2::_comparer
RuntimeObject* ____comparer_6;
// System.Collections.Generic.Dictionary`2/KeyCollection<TKey,TValue> System.Collections.Generic.Dictionary`2::_keys
KeyCollection_t04CB8EBC228F5944FE884026D3541937D7DF9E5A* ____keys_7;
// System.Collections.Generic.Dictionary`2/ValueCollection<TKey,TValue> System.Collections.Generic.Dictionary`2::_values
ValueCollection_tF1B07DAB54F833AE51CC232D69E59038EBB7637D* ____values_8;
// System.Object System.Collections.Generic.Dictionary`2::_syncRoot
RuntimeObject* ____syncRoot_9;
};
// System.Collections.Generic.List`1<UnityEngine.Vector3>
struct List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B : public RuntimeObject
{
// T[] System.Collections.Generic.List`1::_items
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* ____items_1;
// System.Int32 System.Collections.Generic.List`1::_size
int32_t ____size_2;
// System.Int32 System.Collections.Generic.List`1::_version
int32_t ____version_3;
// System.Object System.Collections.Generic.List`1::_syncRoot
RuntimeObject* ____syncRoot_4;
};
struct List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B_StaticFields
{
// T[] System.Collections.Generic.List`1::s_emptyArray
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* ___s_emptyArray_5;
};
// System.Collections.Generic.List`1<WaterSystem.Data.Wave>
struct List_1_tBC238FE9E191BC345C4C774C9917EFB6D9B7F1CC : public RuntimeObject
{
// T[] System.Collections.Generic.List`1::_items
WaveU5BU5D_t464305B39C1E1AA8D0E58528BC0562C10AB70BC5* ____items_1;
// System.Int32 System.Collections.Generic.List`1::_size
int32_t ____size_2;
// System.Int32 System.Collections.Generic.List`1::_version
int32_t ____version_3;
// System.Object System.Collections.Generic.List`1::_syncRoot
RuntimeObject* ____syncRoot_4;
};
struct List_1_tBC238FE9E191BC345C4C774C9917EFB6D9B7F1CC_StaticFields
{
// T[] System.Collections.Generic.List`1::s_emptyArray
WaveU5BU5D_t464305B39C1E1AA8D0E58528BC0562C10AB70BC5* ___s_emptyArray_5;
};
struct Il2CppArrayBounds;
// WaterSystem.Data.BasicWaves
struct BasicWaves_tC7BCDF12B18FB4126AB8A0BCC8CD1DCC33156D96 : public RuntimeObject
{
// System.Int32 WaterSystem.Data.BasicWaves::numWaves
int32_t ___numWaves_0;
// System.Single WaterSystem.Data.BasicWaves::amplitude
float ___amplitude_1;
// System.Single WaterSystem.Data.BasicWaves::direction
float ___direction_2;
// System.Single WaterSystem.Data.BasicWaves::wavelength
float ___wavelength_3;
};
// WaterSystem.Data.FoamSettings
struct FoamSettings_tAB393D4E610A9219CD0C021238F8A18B0839608E : public RuntimeObject
{
// System.Int32 WaterSystem.Data.FoamSettings::foamType
int32_t ___foamType_0;
// UnityEngine.AnimationCurve WaterSystem.Data.FoamSettings::basicFoam
AnimationCurve_tCBFFAAD05CEBB35EF8D8631BD99914BE1A6BB354* ___basicFoam_1;
// UnityEngine.AnimationCurve WaterSystem.Data.FoamSettings::liteFoam
AnimationCurve_tCBFFAAD05CEBB35EF8D8631BD99914BE1A6BB354* ___liteFoam_2;
// UnityEngine.AnimationCurve WaterSystem.Data.FoamSettings::mediumFoam
AnimationCurve_tCBFFAAD05CEBB35EF8D8631BD99914BE1A6BB354* ___mediumFoam_3;
// UnityEngine.AnimationCurve WaterSystem.Data.FoamSettings::denseFoam
AnimationCurve_tCBFFAAD05CEBB35EF8D8631BD99914BE1A6BB354* ___denseFoam_4;
};
// LocalToWorldJob
struct LocalToWorldJob_tDFBD6859E10A384CFA9407CA1D07CF9ACBB1D3EE : public RuntimeObject
{
};
struct LocalToWorldJob_tDFBD6859E10A384CFA9407CA1D07CF9ACBB1D3EE_StaticFields
{
// System.Collections.Generic.Dictionary`2<System.Int32,LocalToWorldJob/TransformLocalToWorld> LocalToWorldJob::Data
Dictionary_2_t04D9DCBB28EAB303065226F1E05133427281836B* ___Data_0;
};
// System.Reflection.MemberInfo
struct MemberInfo_t : public RuntimeObject
{
};
// UnityEngine.Rendering.ProfilingSampler
struct ProfilingSampler_t420D4672EDB44E0EF980B31ADFD9E5747200FECE : public RuntimeObject
{
// UnityEngine.Profiling.CustomSampler UnityEngine.Rendering.ProfilingSampler::<sampler>k__BackingField
CustomSampler_tDA472186F08B4016626F032F944036BADFDB5487* ___U3CsamplerU3Ek__BackingField_0;
// UnityEngine.Profiling.CustomSampler UnityEngine.Rendering.ProfilingSampler::<inlineSampler>k__BackingField
CustomSampler_tDA472186F08B4016626F032F944036BADFDB5487* ___U3CinlineSamplerU3Ek__BackingField_1;
// System.String UnityEngine.Rendering.ProfilingSampler::<name>k__BackingField
String_t* ___U3CnameU3Ek__BackingField_2;
// UnityEngine.Profiling.Recorder UnityEngine.Rendering.ProfilingSampler::m_Recorder
Recorder_t0A14385FB0F5829CAAC1E16F88B095769D648C90* ___m_Recorder_3;
// UnityEngine.Profiling.Recorder UnityEngine.Rendering.ProfilingSampler::m_InlineRecorder
Recorder_t0A14385FB0F5829CAAC1E16F88B095769D648C90* ___m_InlineRecorder_4;
};
// System.String
struct String_t : public RuntimeObject
{
// System.Int32 System.String::_stringLength
int32_t ____stringLength_4;
// System.Char System.String::_firstChar
Il2CppChar ____firstChar_5;
};
struct String_t_StaticFields
{
// System.String System.String::Empty
String_t* ___Empty_6;
};
// System.ValueType
struct ValueType_t6D9B272BD21782F0A9A14F2E41F85A50E97A986F : public RuntimeObject
{
};
// Native definition for P/Invoke marshalling of System.ValueType
struct ValueType_t6D9B272BD21782F0A9A14F2E41F85A50E97A986F_marshaled_pinvoke
{
};
// Native definition for COM marshalling of System.ValueType
struct ValueType_t6D9B272BD21782F0A9A14F2E41F85A50E97A986F_marshaled_com
{
};
// UnityEngine.Rendering.Universal.PlanarReflections/PlanarReflectionSettingData
struct PlanarReflectionSettingData_tA2166FF34B27262BB7A4ADA1EA450DB940ACCF37 : public RuntimeObject
{
// System.Boolean UnityEngine.Rendering.Universal.PlanarReflections/PlanarReflectionSettingData::_fog
bool ____fog_0;
// System.Int32 UnityEngine.Rendering.Universal.PlanarReflections/PlanarReflectionSettingData::_maxLod
int32_t ____maxLod_1;
// System.Single UnityEngine.Rendering.Universal.PlanarReflections/PlanarReflectionSettingData::_lodBias
float ____lodBias_2;
};
// Unity.Collections.NativeSlice`1<Unity.Mathematics.float3>
struct NativeSlice_1_t1FC9E9FE0BB166305C1E3C50A7E9D588E1D92502
{
// System.Byte* Unity.Collections.NativeSlice`1::m_Buffer
uint8_t* ___m_Buffer_0;
// System.Int32 Unity.Collections.NativeSlice`1::m_Stride
int32_t ___m_Stride_1;
// System.Int32 Unity.Collections.NativeSlice`1::m_Length
int32_t ___m_Length_2;
};
// System.Boolean
struct Boolean_t09A6377A54BE2F9E6985A8149F19234FD7DDFE22
{
// System.Boolean System.Boolean::m_value
bool ___m_value_0;
};
struct Boolean_t09A6377A54BE2F9E6985A8149F19234FD7DDFE22_StaticFields
{
// System.String System.Boolean::TrueString
String_t* ___TrueString_5;
// System.String System.Boolean::FalseString
String_t* ___FalseString_6;
};
// UnityEngine.Color
struct Color_tD001788D726C3A7F1379BEED0260B9591F440C1F
{
// System.Single UnityEngine.Color::r
float ___r_0;
// System.Single UnityEngine.Color::g
float ___g_1;
// System.Single UnityEngine.Color::b
float ___b_2;
// System.Single UnityEngine.Color::a
float ___a_3;
};
// System.Double
struct Double_tE150EF3D1D43DEE85D533810AB4C742307EEDE5F
{
// System.Double System.Double::m_value
double ___m_value_0;
};
// System.Enum
struct Enum_t2A1A94B24E3B776EEF4E5E485E290BB9D4D072E2 : public ValueType_t6D9B272BD21782F0A9A14F2E41F85A50E97A986F
{
};
struct Enum_t2A1A94B24E3B776EEF4E5E485E290BB9D4D072E2_StaticFields
{
// System.Char[] System.Enum::enumSeperatorCharArray
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* ___enumSeperatorCharArray_0;
};
// Native definition for P/Invoke marshalling of System.Enum
struct Enum_t2A1A94B24E3B776EEF4E5E485E290BB9D4D072E2_marshaled_pinvoke
{
};
// Native definition for COM marshalling of System.Enum
struct Enum_t2A1A94B24E3B776EEF4E5E485E290BB9D4D072E2_marshaled_com
{
};
// System.Int32
struct Int32_t680FF22E76F6EFAD4375103CBBFFA0421349384C
{
// System.Int32 System.Int32::m_value
int32_t ___m_value_0;
};
// System.IntPtr
struct IntPtr_t
{
// System.Void* System.IntPtr::m_value
void* ___m_value_0;
};
struct IntPtr_t_StaticFields
{
// System.IntPtr System.IntPtr::Zero
intptr_t ___Zero_1;
};
// UnityEngine.Keyframe
struct Keyframe_tB9C67DCBFE10C0AE9C52CB5C66E944255C9254F0
{
// System.Single UnityEngine.Keyframe::m_Time
float ___m_Time_0;
// System.Single UnityEngine.Keyframe::m_Value
float ___m_Value_1;
// System.Single UnityEngine.Keyframe::m_InTangent
float ___m_InTangent_2;
// System.Single UnityEngine.Keyframe::m_OutTangent
float ___m_OutTangent_3;
// System.Int32 UnityEngine.Keyframe::m_WeightedMode
int32_t ___m_WeightedMode_4;
// System.Single UnityEngine.Keyframe::m_InWeight
float ___m_InWeight_5;
// System.Single UnityEngine.Keyframe::m_OutWeight
float ___m_OutWeight_6;
};
// UnityEngine.LayerMask
struct LayerMask_t97CB6BDADEDC3D6423C7BCFEA7F86DA2EC6241DB
{
// System.Int32 UnityEngine.LayerMask::m_Mask
int32_t ___m_Mask_0;
};
// UnityEngine.Matrix4x4
struct Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6
{
// System.Single UnityEngine.Matrix4x4::m00
float ___m00_0;
// System.Single UnityEngine.Matrix4x4::m10
float ___m10_1;
// System.Single UnityEngine.Matrix4x4::m20
float ___m20_2;
// System.Single UnityEngine.Matrix4x4::m30
float ___m30_3;
// System.Single UnityEngine.Matrix4x4::m01
float ___m01_4;
// System.Single UnityEngine.Matrix4x4::m11
float ___m11_5;
// System.Single UnityEngine.Matrix4x4::m21
float ___m21_6;
// System.Single UnityEngine.Matrix4x4::m31
float ___m31_7;
// System.Single UnityEngine.Matrix4x4::m02
float ___m02_8;
// System.Single UnityEngine.Matrix4x4::m12
float ___m12_9;
// System.Single UnityEngine.Matrix4x4::m22
float ___m22_10;
// System.Single UnityEngine.Matrix4x4::m32
float ___m32_11;
// System.Single UnityEngine.Matrix4x4::m03
float ___m03_12;
// System.Single UnityEngine.Matrix4x4::m13
float ___m13_13;
// System.Single UnityEngine.Matrix4x4::m23
float ___m23_14;
// System.Single UnityEngine.Matrix4x4::m33
float ___m33_15;
};
struct Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6_StaticFields
{
// UnityEngine.Matrix4x4 UnityEngine.Matrix4x4::zeroMatrix
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 ___zeroMatrix_16;
// UnityEngine.Matrix4x4 UnityEngine.Matrix4x4::identityMatrix
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 ___identityMatrix_17;
};
// UnityEngine.Rendering.ProfilingScope
struct ProfilingScope_t57898BA31E8EF8F083EF84E0DA2737AC61CBC5BD
{
// UnityEngine.Rendering.CommandBuffer UnityEngine.Rendering.ProfilingScope::m_Cmd
CommandBuffer_tB56007DC84EF56296C325EC32DD12AC1E3DC91F7* ___m_Cmd_0;
// System.Boolean UnityEngine.Rendering.ProfilingScope::m_Disposed
bool ___m_Disposed_1;
// UnityEngine.Rendering.ProfilingSampler UnityEngine.Rendering.ProfilingScope::m_Sampler
ProfilingSampler_t420D4672EDB44E0EF980B31ADFD9E5747200FECE* ___m_Sampler_2;
};
// Native definition for P/Invoke marshalling of UnityEngine.Rendering.ProfilingScope
struct ProfilingScope_t57898BA31E8EF8F083EF84E0DA2737AC61CBC5BD_marshaled_pinvoke
{
CommandBuffer_tB56007DC84EF56296C325EC32DD12AC1E3DC91F7* ___m_Cmd_0;
int32_t ___m_Disposed_1;
ProfilingSampler_t420D4672EDB44E0EF980B31ADFD9E5747200FECE* ___m_Sampler_2;
};
// Native definition for COM marshalling of UnityEngine.Rendering.ProfilingScope
struct ProfilingScope_t57898BA31E8EF8F083EF84E0DA2737AC61CBC5BD_marshaled_com
{
CommandBuffer_tB56007DC84EF56296C325EC32DD12AC1E3DC91F7* ___m_Cmd_0;
int32_t ___m_Disposed_1;
ProfilingSampler_t420D4672EDB44E0EF980B31ADFD9E5747200FECE* ___m_Sampler_2;
};
// UnityEngine.Quaternion
struct Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974
{
// System.Single UnityEngine.Quaternion::x
float ___x_0;
// System.Single UnityEngine.Quaternion::y
float ___y_1;
// System.Single UnityEngine.Quaternion::z
float ___z_2;
// System.Single UnityEngine.Quaternion::w
float ___w_3;
};
struct Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974_StaticFields
{
// UnityEngine.Quaternion UnityEngine.Quaternion::identityQuaternion
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___identityQuaternion_4;
};
// UnityEngine.Rect
struct Rect_tA04E0F8A1830E767F40FB27ECD8D309303571F0D
{
// System.Single UnityEngine.Rect::m_XMin
float ___m_XMin_0;
// System.Single UnityEngine.Rect::m_YMin
float ___m_YMin_1;
// System.Single UnityEngine.Rect::m_Width
float ___m_Width_2;
// System.Single UnityEngine.Rect::m_Height
float ___m_Height_3;
};
// UnityEngine.Rendering.RenderQueueRange
struct RenderQueueRange_t7518252AA6426B1EA45D3D9B394F304EEF784D71
{
// System.Int32 UnityEngine.Rendering.RenderQueueRange::m_LowerBound
int32_t ___m_LowerBound_0;
// System.Int32 UnityEngine.Rendering.RenderQueueRange::m_UpperBound
int32_t ___m_UpperBound_1;
};
struct RenderQueueRange_t7518252AA6426B1EA45D3D9B394F304EEF784D71_StaticFields
{
// System.Int32 UnityEngine.Rendering.RenderQueueRange::minimumBound
int32_t ___minimumBound_3;
// System.Int32 UnityEngine.Rendering.RenderQueueRange::maximumBound
int32_t ___maximumBound_5;
};
// UnityEngine.Rendering.ShaderTagId
struct ShaderTagId_t453E2085B5EE9448FF75E550CAB111EFF690ECB0
{
// System.Int32 UnityEngine.Rendering.ShaderTagId::m_Id
int32_t ___m_Id_1;
};
struct ShaderTagId_t453E2085B5EE9448FF75E550CAB111EFF690ECB0_StaticFields
{
// UnityEngine.Rendering.ShaderTagId UnityEngine.Rendering.ShaderTagId::none
ShaderTagId_t453E2085B5EE9448FF75E550CAB111EFF690ECB0 ___none_0;
};
// System.Single
struct Single_t4530F2FF86FCB0DC29F35385CA1BD21BE294761C
{
// System.Single System.Single::m_value
float ___m_value_0;
};
// UnityEngine.Rendering.SortingLayerRange
struct SortingLayerRange_t96D04CFB4E8824978FEB2CFFFCFEAC37E56D52C9
{
// System.Int16 UnityEngine.Rendering.SortingLayerRange::m_LowerBound
int16_t ___m_LowerBound_0;
// System.Int16 UnityEngine.Rendering.SortingLayerRange::m_UpperBound
int16_t ___m_UpperBound_1;
};
// System.UInt32
struct UInt32_t1833D51FFA667B18A5AA4B8D34DE284F8495D29B
{
// System.UInt32 System.UInt32::m_value
uint32_t ___m_value_0;
};
// UnityEngine.Vector2
struct Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7
{
// System.Single UnityEngine.Vector2::x
float ___x_0;
// System.Single UnityEngine.Vector2::y
float ___y_1;
};
struct Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7_StaticFields
{
// UnityEngine.Vector2 UnityEngine.Vector2::zeroVector
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___zeroVector_2;
// UnityEngine.Vector2 UnityEngine.Vector2::oneVector
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___oneVector_3;
// UnityEngine.Vector2 UnityEngine.Vector2::upVector
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___upVector_4;
// UnityEngine.Vector2 UnityEngine.Vector2::downVector
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___downVector_5;
// UnityEngine.Vector2 UnityEngine.Vector2::leftVector
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___leftVector_6;
// UnityEngine.Vector2 UnityEngine.Vector2::rightVector
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___rightVector_7;
// UnityEngine.Vector2 UnityEngine.Vector2::positiveInfinityVector
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___positiveInfinityVector_8;
// UnityEngine.Vector2 UnityEngine.Vector2::negativeInfinityVector
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___negativeInfinityVector_9;
};
// UnityEngine.Vector3
struct Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2
{
// System.Single UnityEngine.Vector3::x
float ___x_2;
// System.Single UnityEngine.Vector3::y
float ___y_3;
// System.Single UnityEngine.Vector3::z
float ___z_4;
};
struct Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2_StaticFields
{
// UnityEngine.Vector3 UnityEngine.Vector3::zeroVector
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___zeroVector_5;
// UnityEngine.Vector3 UnityEngine.Vector3::oneVector
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___oneVector_6;
// UnityEngine.Vector3 UnityEngine.Vector3::upVector
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___upVector_7;
// UnityEngine.Vector3 UnityEngine.Vector3::downVector
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___downVector_8;
// UnityEngine.Vector3 UnityEngine.Vector3::leftVector
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___leftVector_9;
// UnityEngine.Vector3 UnityEngine.Vector3::rightVector
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___rightVector_10;
// UnityEngine.Vector3 UnityEngine.Vector3::forwardVector
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___forwardVector_11;
// UnityEngine.Vector3 UnityEngine.Vector3::backVector
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___backVector_12;
// UnityEngine.Vector3 UnityEngine.Vector3::positiveInfinityVector
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___positiveInfinityVector_13;
// UnityEngine.Vector3 UnityEngine.Vector3::negativeInfinityVector
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___negativeInfinityVector_14;
};
// UnityEngine.Vector4
struct Vector4_t58B63D32F48C0DBF50DE2C60794C4676C80EDBE3
{
// System.Single UnityEngine.Vector4::x
float ___x_1;
// System.Single UnityEngine.Vector4::y
float ___y_2;
// System.Single UnityEngine.Vector4::z
float ___z_3;
// System.Single UnityEngine.Vector4::w
float ___w_4;
};
struct Vector4_t58B63D32F48C0DBF50DE2C60794C4676C80EDBE3_StaticFields
{
// UnityEngine.Vector4 UnityEngine.Vector4::zeroVector
Vector4_t58B63D32F48C0DBF50DE2C60794C4676C80EDBE3 ___zeroVector_5;
// UnityEngine.Vector4 UnityEngine.Vector4::oneVector
Vector4_t58B63D32F48C0DBF50DE2C60794C4676C80EDBE3 ___oneVector_6;
// UnityEngine.Vector4 UnityEngine.Vector4::positiveInfinityVector
Vector4_t58B63D32F48C0DBF50DE2C60794C4676C80EDBE3 ___positiveInfinityVector_7;
// UnityEngine.Vector4 UnityEngine.Vector4::negativeInfinityVector
Vector4_t58B63D32F48C0DBF50DE2C60794C4676C80EDBE3 ___negativeInfinityVector_8;
};
// System.Void
struct Void_t4861ACF8F4594C3437BB48B6E56783494B843915
{
union
{
struct
{
};
uint8_t Void_t4861ACF8F4594C3437BB48B6E56783494B843915__padding[1];
};
};
// Unity.Mathematics.float2
struct float2_t24AA5C0F612B0672315EDAFEC9D9E7F1C4A5B0BA
{
// System.Single Unity.Mathematics.float2::x
float ___x_0;
// System.Single Unity.Mathematics.float2::y
float ___y_1;
};
struct float2_t24AA5C0F612B0672315EDAFEC9D9E7F1C4A5B0BA_StaticFields
{
// Unity.Mathematics.float2 Unity.Mathematics.float2::zero
float2_t24AA5C0F612B0672315EDAFEC9D9E7F1C4A5B0BA ___zero_2;
};
// Unity.Mathematics.float3
struct float3_t4AB5D88249ADB24F69FFD0793E8ED25E1CC3745E
{
// System.Single Unity.Mathematics.float3::x
float ___x_0;
// System.Single Unity.Mathematics.float3::y
float ___y_1;
// System.Single Unity.Mathematics.float3::z
float ___z_2;
};
struct float3_t4AB5D88249ADB24F69FFD0793E8ED25E1CC3745E_StaticFields
{
// Unity.Mathematics.float3 Unity.Mathematics.float3::zero
float3_t4AB5D88249ADB24F69FFD0793E8ED25E1CC3745E ___zero_3;
};
// Unity.Mathematics.float4
struct float4_t89D9A294E7A79BD81BFBDD18654508532958555E
{
// System.Single Unity.Mathematics.float4::x
float ___x_0;
// System.Single Unity.Mathematics.float4::y
float ___y_1;
// System.Single Unity.Mathematics.float4::z
float ___z_2;
// System.Single Unity.Mathematics.float4::w
float ___w_3;
};
struct float4_t89D9A294E7A79BD81BFBDD18654508532958555E_StaticFields
{
// Unity.Mathematics.float4 Unity.Mathematics.float4::zero
float4_t89D9A294E7A79BD81BFBDD18654508532958555E ___zero_4;
};
// Unity.Mathematics.int2
struct int2_tF4AC25F87943DC0B2BB3456B0B919B3B42A9432A
{
// System.Int32 Unity.Mathematics.int2::x
int32_t ___x_0;
// System.Int32 Unity.Mathematics.int2::y
int32_t ___y_1;
};
struct int2_tF4AC25F87943DC0B2BB3456B0B919B3B42A9432A_StaticFields
{
// Unity.Mathematics.int2 Unity.Mathematics.int2::zero
int2_tF4AC25F87943DC0B2BB3456B0B919B3B42A9432A ___zero_2;
};
// <PrivateImplementationDetails>/__StaticArrayInitTypeSize=24
struct __StaticArrayInitTypeSizeU3D24_t6AD711CE1F2F30F09A63493D932C47EDA6C184DD
{
union
{
struct
{
union
{
};
};
uint8_t __StaticArrayInitTypeSizeU3D24_t6AD711CE1F2F30F09A63493D932C47EDA6C184DD__padding[24];
};
};
// UnityEngine.Rendering.DrawingSettings/<shaderPassNames>e__FixedBuffer
struct U3CshaderPassNamesU3Ee__FixedBuffer_t5EDC823777BDDC9D50E55FF3779FBC1B3820126D
{
union
{
struct
{
// System.Int32 UnityEngine.Rendering.DrawingSettings/<shaderPassNames>e__FixedBuffer::FixedElementField
int32_t ___FixedElementField_0;
};
uint8_t U3CshaderPassNamesU3Ee__FixedBuffer_t5EDC823777BDDC9D50E55FF3779FBC1B3820126D__padding[64];
};
};
// UnityEngine.Random/State
struct State_tA37EB68FE687D41D4B228462D4C7427FAC5BF9C1
{
// System.Int32 UnityEngine.Random/State::s0
int32_t ___s0_0;
// System.Int32 UnityEngine.Random/State::s1
int32_t ___s1_1;
// System.Int32 UnityEngine.Random/State::s2
int32_t ___s2_2;
// System.Int32 UnityEngine.Random/State::s3
int32_t ___s3_3;
};
// System.Nullable`1<UnityEngine.Rendering.RenderQueueRange>
struct Nullable_1_t7D98773CC20A842A0846271D1181ECBB0D95926C
{
// System.Boolean System.Nullable`1::hasValue
bool ___hasValue_0;
// T System.Nullable`1::value
RenderQueueRange_t7518252AA6426B1EA45D3D9B394F304EEF784D71 ___value_1;
};
// <PrivateImplementationDetails>
struct U3CPrivateImplementationDetailsU3E_tDD48C6940DEABD944605758A54652DDAA1EBB209 : public RuntimeObject
{
};
struct U3CPrivateImplementationDetailsU3E_tDD48C6940DEABD944605758A54652DDAA1EBB209_StaticFields
{
// <PrivateImplementationDetails>/__StaticArrayInitTypeSize=24 <PrivateImplementationDetails>::752A6E22358C492163D1DE31BFAFB249C23A54C303CE495A18ABF04CF82E01B2
__StaticArrayInitTypeSizeU3D24_t6AD711CE1F2F30F09A63493D932C47EDA6C184DD ___752A6E22358C492163D1DE31BFAFB249C23A54C303CE495A18ABF04CF82E01B2_0;
};
// Unity.Collections.Allocator
struct Allocator_t996642592271AAD9EE688F142741D512C07B5824
{
// System.Int32 Unity.Collections.Allocator::value__
int32_t ___value___2;
};
// UnityEngine.AnimationCurve
struct AnimationCurve_tCBFFAAD05CEBB35EF8D8631BD99914BE1A6BB354 : public RuntimeObject
{
// System.IntPtr UnityEngine.AnimationCurve::m_Ptr
intptr_t ___m_Ptr_0;
};
// Native definition for P/Invoke marshalling of UnityEngine.AnimationCurve
struct AnimationCurve_tCBFFAAD05CEBB35EF8D8631BD99914BE1A6BB354_marshaled_pinvoke
{
intptr_t ___m_Ptr_0;
};
// Native definition for COM marshalling of UnityEngine.AnimationCurve
struct AnimationCurve_tCBFFAAD05CEBB35EF8D8631BD99914BE1A6BB354_marshaled_com
{
intptr_t ___m_Ptr_0;
};
// UnityEngine.Rendering.Universal.AntialiasingMode
struct AntialiasingMode_tDF75AC7BDAF51FA550F528F7B798416ACB8D3487
{
// System.Int32 UnityEngine.Rendering.Universal.AntialiasingMode::value__
int32_t ___value___2;
};
// UnityEngine.Rendering.Universal.AntialiasingQuality
struct AntialiasingQuality_t45B2A050F79EB8B705FED3F3F30A70942E71D605
{
// System.Int32 UnityEngine.Rendering.Universal.AntialiasingQuality::value__
int32_t ___value___2;
};
// System.Reflection.BindingFlags
struct BindingFlags_t5DC2835E4AE9C1862B3AD172EF35B6A5F4F1812C
{
// System.Int32 System.Reflection.BindingFlags::value__
int32_t ___value___2;
};
// UnityEngine.Bounds
struct Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3
{
// UnityEngine.Vector3 UnityEngine.Bounds::m_Center
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___m_Center_0;
// UnityEngine.Vector3 UnityEngine.Bounds::m_Extents
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___m_Extents_1;
};
// UnityEngine.Rendering.BuiltinRenderTextureType
struct BuiltinRenderTextureType_t3D56813CAC7C6E4AC3B438039BD1CE7E62FE7C4E
{
// System.Int32 UnityEngine.Rendering.BuiltinRenderTextureType::value__
int32_t ___value___2;
};
// UnityEngine.Rendering.Universal.CameraOverrideOption
struct CameraOverrideOption_tFE4F529A065C94484CFF2D27D4D7D2D8ADB145A9
{
// System.Int32 UnityEngine.Rendering.Universal.CameraOverrideOption::value__
int32_t ___value___2;
};
// UnityEngine.Rendering.Universal.CameraRenderType
struct CameraRenderType_tC686ABD18F67CA30E6DF217007744F509606A41D
{
// System.Int32 UnityEngine.Rendering.Universal.CameraRenderType::value__
int32_t ___value___2;
};
// UnityEngine.CameraType
struct CameraType_tCA1017DBE96964E1D967942FB98F152F14121FCD
{
// System.Int32 UnityEngine.CameraType::value__
int32_t ___value___2;
};
// UnityEngine.Rendering.ClearFlag
struct ClearFlag_t0B57BE5A60AA0EE7CC0DAE7E7DF82EB993A59ADD
{
// System.Int32 UnityEngine.Rendering.ClearFlag::value__
int32_t ___value___2;
};
// UnityEngine.Rendering.Universal.ColorGradingMode
struct ColorGradingMode_t980B9396D20213763F23C4D474BC079FC68BF83E
{
// System.Int32 UnityEngine.Rendering.Universal.ColorGradingMode::value__
int32_t ___value___2;
};
// UnityEngine.Rendering.CommandBuffer
struct CommandBuffer_tB56007DC84EF56296C325EC32DD12AC1E3DC91F7 : public RuntimeObject
{
// System.IntPtr UnityEngine.Rendering.CommandBuffer::m_Ptr
intptr_t ___m_Ptr_0;
};
// UnityEngine.ComputeBuffer
struct ComputeBuffer_t51EADA9015EBCC1B982C5584E9AB2734415A8233 : public RuntimeObject
{
// System.IntPtr UnityEngine.ComputeBuffer::m_Ptr
intptr_t ___m_Ptr_0;
};
// UnityEngine.CubemapFace
struct CubemapFace_t300D6E2CD7DF60D44AA28338748B607677ED1D1B
{
// System.Int32 UnityEngine.CubemapFace::value__
int32_t ___value___2;
};
// UnityEngine.Rendering.CullingResults
struct CullingResults_tD6B7EF20B68D47DFF3A99EB2EA73F47F1D460267
{
// System.IntPtr UnityEngine.Rendering.CullingResults::ptr
intptr_t ___ptr_0;
// UnityEngine.Rendering.CullingAllocationInfo* UnityEngine.Rendering.CullingResults::m_AllocationInfo
CullingAllocationInfo_tB260F5CD0B290F74E145EB16E54B901CC68D9D5A* ___m_AllocationInfo_1;
};
// System.Delegate
struct Delegate_t : public RuntimeObject
{
// System.IntPtr System.Delegate::method_ptr
Il2CppMethodPointer ___method_ptr_0;
// System.IntPtr System.Delegate::invoke_impl
intptr_t ___invoke_impl_1;
// System.Object System.Delegate::m_target
RuntimeObject* ___m_target_2;
// System.IntPtr System.Delegate::method
intptr_t ___method_3;
// System.IntPtr System.Delegate::delegate_trampoline
intptr_t ___delegate_trampoline_4;
// System.IntPtr System.Delegate::extra_arg
intptr_t ___extra_arg_5;
// System.IntPtr System.Delegate::method_code
intptr_t ___method_code_6;
// System.IntPtr System.Delegate::interp_method
intptr_t ___interp_method_7;
// System.IntPtr System.Delegate::interp_invoke_impl
intptr_t ___interp_invoke_impl_8;
// System.Reflection.MethodInfo System.Delegate::method_info
MethodInfo_t* ___method_info_9;
// System.Reflection.MethodInfo System.Delegate::original_method_info
MethodInfo_t* ___original_method_info_10;
// System.DelegateData System.Delegate::data
DelegateData_t9B286B493293CD2D23A5B2B5EF0E5B1324C2B77E* ___data_11;
// System.Boolean System.Delegate::method_is_virtual
bool ___method_is_virtual_12;
};
// Native definition for P/Invoke marshalling of System.Delegate
struct Delegate_t_marshaled_pinvoke
{
intptr_t ___method_ptr_0;
intptr_t ___invoke_impl_1;
Il2CppIUnknown* ___m_target_2;
intptr_t ___method_3;
intptr_t ___delegate_trampoline_4;
intptr_t ___extra_arg_5;
intptr_t ___method_code_6;
intptr_t ___interp_method_7;
intptr_t ___interp_invoke_impl_8;
MethodInfo_t* ___method_info_9;
MethodInfo_t* ___original_method_info_10;
DelegateData_t9B286B493293CD2D23A5B2B5EF0E5B1324C2B77E* ___data_11;
int32_t ___method_is_virtual_12;
};
// Native definition for COM marshalling of System.Delegate
struct Delegate_t_marshaled_com
{
intptr_t ___method_ptr_0;
intptr_t ___invoke_impl_1;
Il2CppIUnknown* ___m_target_2;
intptr_t ___method_3;
intptr_t ___delegate_trampoline_4;
intptr_t ___extra_arg_5;
intptr_t ___method_code_6;
intptr_t ___interp_method_7;
intptr_t ___interp_invoke_impl_8;
MethodInfo_t* ___method_info_9;
MethodInfo_t* ___original_method_info_10;
DelegateData_t9B286B493293CD2D23A5B2B5EF0E5B1324C2B77E* ___data_11;
int32_t ___method_is_virtual_12;
};
// UnityEngine.Rendering.DistanceMetric
struct DistanceMetric_t071B9815BB961E33F7CA2C553CA725F61AE09EDE
{
// System.Int32 UnityEngine.Rendering.DistanceMetric::value__
int32_t ___value___2;
};
// UnityEngine.Rendering.Universal.Downsampling
struct Downsampling_tFE6A5D41D0A9881972AE6C6470FA5E1700410D49
{
// System.Int32 UnityEngine.Rendering.Universal.Downsampling::value__
int32_t ___value___2;
};
// UnityEngine.Rendering.DrawRendererFlags
struct DrawRendererFlags_t3AD0574208BFF93F323D5E1E92012F19EAE972CD
{
// System.Int32 UnityEngine.Rendering.DrawRendererFlags::value__
int32_t ___value___2;
};
// System.Exception
struct Exception_t : public RuntimeObject
{
// System.String System.Exception::_className
String_t* ____className_1;
// System.String System.Exception::_message
String_t* ____message_2;
// System.Collections.IDictionary System.Exception::_data
RuntimeObject* ____data_3;
// System.Exception System.Exception::_innerException
Exception_t* ____innerException_4;
// System.String System.Exception::_helpURL
String_t* ____helpURL_5;
// System.Object System.Exception::_stackTrace
RuntimeObject* ____stackTrace_6;
// System.String System.Exception::_stackTraceString
String_t* ____stackTraceString_7;
// System.String System.Exception::_remoteStackTraceString
String_t* ____remoteStackTraceString_8;
// System.Int32 System.Exception::_remoteStackIndex
int32_t ____remoteStackIndex_9;
// System.Object System.Exception::_dynamicMethods
RuntimeObject* ____dynamicMethods_10;
// System.Int32 System.Exception::_HResult
int32_t ____HResult_11;
// System.String System.Exception::_source
String_t* ____source_12;
// System.Runtime.Serialization.SafeSerializationManager System.Exception::_safeSerializationManager
SafeSerializationManager_tCBB85B95DFD1634237140CD892E82D06ECB3F5E6* ____safeSerializationManager_13;
// System.Diagnostics.StackTrace[] System.Exception::captured_traces
StackTraceU5BU5D_t32FBCB20930EAF5BAE3F450FF75228E5450DA0DF* ___captured_traces_14;
// System.IntPtr[] System.Exception::native_trace_ips
IntPtrU5BU5D_tFD177F8C806A6921AD7150264CCC62FA00CAD832* ___native_trace_ips_15;
// System.Int32 System.Exception::caught_in_unmanaged
int32_t ___caught_in_unmanaged_16;
};
struct Exception_t_StaticFields
{
// System.Object System.Exception::s_EDILock
RuntimeObject* ___s_EDILock_0;
};
// Native definition for P/Invoke marshalling of System.Exception
struct Exception_t_marshaled_pinvoke
{
char* ____className_1;
char* ____message_2;
RuntimeObject* ____data_3;
Exception_t_marshaled_pinvoke* ____innerException_4;
char* ____helpURL_5;
Il2CppIUnknown* ____stackTrace_6;
char* ____stackTraceString_7;
char* ____remoteStackTraceString_8;
int32_t ____remoteStackIndex_9;
Il2CppIUnknown* ____dynamicMethods_10;
int32_t ____HResult_11;
char* ____source_12;
SafeSerializationManager_tCBB85B95DFD1634237140CD892E82D06ECB3F5E6* ____safeSerializationManager_13;
StackTraceU5BU5D_t32FBCB20930EAF5BAE3F450FF75228E5450DA0DF* ___captured_traces_14;
Il2CppSafeArray/*NONE*/* ___native_trace_ips_15;
int32_t ___caught_in_unmanaged_16;
};
// Native definition for COM marshalling of System.Exception
struct Exception_t_marshaled_com
{
Il2CppChar* ____className_1;
Il2CppChar* ____message_2;
RuntimeObject* ____data_3;
Exception_t_marshaled_com* ____innerException_4;
Il2CppChar* ____helpURL_5;
Il2CppIUnknown* ____stackTrace_6;
Il2CppChar* ____stackTraceString_7;
Il2CppChar* ____remoteStackTraceString_8;
int32_t ____remoteStackIndex_9;
Il2CppIUnknown* ____dynamicMethods_10;
int32_t ____HResult_11;
Il2CppChar* ____source_12;
SafeSerializationManager_tCBB85B95DFD1634237140CD892E82D06ECB3F5E6* ____safeSerializationManager_13;
StackTraceU5BU5D_t32FBCB20930EAF5BAE3F450FF75228E5450DA0DF* ___captured_traces_14;
Il2CppSafeArray/*NONE*/* ___native_trace_ips_15;
int32_t ___caught_in_unmanaged_16;
};
// UnityEngine.FilterMode
struct FilterMode_t4AD57F1A3FE272D650E0E688BA044AE872BD2A34
{
// System.Int32 UnityEngine.FilterMode::value__
int32_t ___value___2;
};
// UnityEngine.Rendering.FilteringSettings
struct FilteringSettings_t75860B12A7BCF9A0E2F13CB2C2E5DCD9E1EEAD9F
{
// UnityEngine.Rendering.RenderQueueRange UnityEngine.Rendering.FilteringSettings::m_RenderQueueRange
RenderQueueRange_t7518252AA6426B1EA45D3D9B394F304EEF784D71 ___m_RenderQueueRange_0;
// System.Int32 UnityEngine.Rendering.FilteringSettings::m_LayerMask
int32_t ___m_LayerMask_1;
// System.UInt32 UnityEngine.Rendering.FilteringSettings::m_RenderingLayerMask
uint32_t ___m_RenderingLayerMask_2;
// System.Int32 UnityEngine.Rendering.FilteringSettings::m_ExcludeMotionVectorObjects
int32_t ___m_ExcludeMotionVectorObjects_3;
// UnityEngine.Rendering.SortingLayerRange UnityEngine.Rendering.FilteringSettings::m_SortingLayerRange
SortingLayerRange_t96D04CFB4E8824978FEB2CFFFCFEAC37E56D52C9 ___m_SortingLayerRange_4;
};
// WaterSystem.Data.GeometryType
struct GeometryType_t78A1DD445263FC8B1B4A6872B16D577645B3E3FA
{
// System.Int32 WaterSystem.Data.GeometryType::value__
int32_t ___value___2;
};
// UnityEngine.Gradient
struct Gradient_tA7FEBE2FDB4929FFF6C997134841046F713DAC1E : public RuntimeObject
{
// System.IntPtr UnityEngine.Gradient::m_Ptr
intptr_t ___m_Ptr_0;
};
// Native definition for P/Invoke marshalling of UnityEngine.Gradient
struct Gradient_tA7FEBE2FDB4929FFF6C997134841046F713DAC1E_marshaled_pinvoke
{
intptr_t ___m_Ptr_0;
};
// Native definition for COM marshalling of UnityEngine.Gradient
struct Gradient_tA7FEBE2FDB4929FFF6C997134841046F713DAC1E_marshaled_com
{
intptr_t ___m_Ptr_0;
};
// UnityEngine.Rendering.GraphicsDeviceType
struct GraphicsDeviceType_t65150C9055D1BC1E377E894972629BF22BA2CBF5
{
// System.Int32 UnityEngine.Rendering.GraphicsDeviceType::value__
int32_t ___value___2;
};
// UnityEngine.Experimental.Rendering.GraphicsFormat
struct GraphicsFormat_tC3D1898F3F3F1F57256C7F3FFD6BA9A37AE7E713
{
// System.Int32 UnityEngine.Experimental.Rendering.GraphicsFormat::value__
int32_t ___value___2;
};
// UnityEngine.HideFlags
struct HideFlags_tC514182ACEFD3B847988C45D5DB812FF6DB1BF4A
{
// System.Int32 UnityEngine.HideFlags::value__
int32_t ___value___2;
};
// Unity.Jobs.JobHandle
struct JobHandle_t5DF5F99902FED3C801A81C05205CEA6CE039EF08
{
// System.IntPtr Unity.Jobs.JobHandle::jobGroup
intptr_t ___jobGroup_0;
// System.Int32 Unity.Jobs.JobHandle::version
int32_t ___version_1;
};
// UnityEngine.Rendering.Universal.LightCookieFormat
struct LightCookieFormat_tDED41022799DAEAA99C550708D80B99A2A8F9EC1
{
// System.Int32 UnityEngine.Rendering.Universal.LightCookieFormat::value__
int32_t ___value___2;
};
// UnityEngine.Rendering.Universal.LightCookieResolution
struct LightCookieResolution_t10D8305CBC46C8C4261C5EFAA031A2B35AF2BF39
{
// System.Int32 UnityEngine.Rendering.Universal.LightCookieResolution::value__
int32_t ___value___2;
};
// UnityEngine.Rendering.LightProbeUsage
struct LightProbeUsage_tC6292C7B7CBA0E5AA2A56F40D71F58A7E06C2948
{
// System.Int32 UnityEngine.Rendering.LightProbeUsage::value__
int32_t ___value___2;
};
// UnityEngine.Rendering.Universal.LightRenderingMode
struct LightRenderingMode_t38A0DEB49D920E66D4854F5C54437D11BBA6D024
{
// System.Int32 UnityEngine.Rendering.Universal.LightRenderingMode::value__
int32_t ___value___2;
};
// UnityEngine.MaterialPropertyBlock
struct MaterialPropertyBlock_t2308669579033A857EFE6E4831909F638B27411D : public RuntimeObject
{
// System.IntPtr UnityEngine.MaterialPropertyBlock::m_Ptr
intptr_t ___m_Ptr_0;
};
// UnityEngine.Rendering.Universal.MsaaQuality
struct MsaaQuality_tE945475230F4F9265C9C862D32DE0484CB458FF9
{
// System.Int32 UnityEngine.Rendering.Universal.MsaaQuality::value__
int32_t ___value___2;
};
// Unity.Collections.NativeArrayOptions
struct NativeArrayOptions_t3E979EEF4B4840228A7692A97DA07553C6465F1D
{
// System.Int32 Unity.Collections.NativeArrayOptions::value__
int32_t ___value___2;
};
// UnityEngine.Object
struct Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C : public RuntimeObject
{
// System.IntPtr UnityEngine.Object::m_CachedPtr
intptr_t ___m_CachedPtr_0;
};
struct Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_StaticFields
{
// System.Int32 UnityEngine.Object::OffsetOfInstanceIDInCPlusPlusObject
int32_t ___OffsetOfInstanceIDInCPlusPlusObject_1;
};
// Native definition for P/Invoke marshalling of UnityEngine.Object
struct Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_marshaled_pinvoke
{
intptr_t ___m_CachedPtr_0;
};
// Native definition for COM marshalling of UnityEngine.Object
struct Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_marshaled_com
{
intptr_t ___m_CachedPtr_0;
};
// UnityEngine.Rendering.PerObjectData
struct PerObjectData_t04DDCBE9ABF1113E8F9BAFCF4A7F94DD841B9CC9
{
// System.Int32 UnityEngine.Rendering.PerObjectData::value__
int32_t ___value___2;
};
// UnityEngine.Rendering.Universal.PipelineDebugLevel
struct PipelineDebugLevel_tA1231A8106C64D773860E40E46555EB8682D746B
{
// System.Int32 UnityEngine.Rendering.Universal.PipelineDebugLevel::value__
int32_t ___value___2;
};
// WaterSystem.Data.ReflectionType
struct ReflectionType_t138DF56D9D018D6CEA4F05C3F2F6B98BA2E2F4CF
{
// System.Int32 WaterSystem.Data.ReflectionType::value__
int32_t ___value___2;
};
// UnityEngine.Rendering.RenderBufferLoadAction
struct RenderBufferLoadAction_t3333B2CABABAC39DA0CDC25602E5E4FD93C2CB0E
{
// System.Int32 UnityEngine.Rendering.RenderBufferLoadAction::value__
int32_t ___value___2;
};
// UnityEngine.Rendering.RenderBufferStoreAction
struct RenderBufferStoreAction_t87683F22C09634E24A574F21F42037C953A2C8B7
{
// System.Int32 UnityEngine.Rendering.RenderBufferStoreAction::value__
int32_t ___value___2;
};
// UnityEngine.Rendering.Universal.RenderPassEvent
struct RenderPassEvent_t65FBDDF314AC831A598C794FD81BB61AD3930353
{
// System.Int32 UnityEngine.Rendering.Universal.RenderPassEvent::value__
int32_t ___value___2;
};
// UnityEngine.RenderTextureCreationFlags
struct RenderTextureCreationFlags_t1C01993691E5BA956575134696509089FE852F50
{
// System.Int32 UnityEngine.RenderTextureCreationFlags::value__
int32_t ___value___2;
};
// UnityEngine.RenderTextureFormat
struct RenderTextureFormat_tB6F1ED5040395B46880CE00312D2FDDBF9EEB40F
{
// System.Int32 UnityEngine.RenderTextureFormat::value__
int32_t ___value___2;
};
// UnityEngine.RenderTextureMemoryless
struct RenderTextureMemoryless_tE3B7F3AE353C3E9ACF86076376EB862131D19A69
{
// System.Int32 UnityEngine.RenderTextureMemoryless::value__
int32_t ___value___2;
};
// UnityEngine.RenderTextureReadWrite
struct RenderTextureReadWrite_t74086C1AE386FE2F1E853FD114ABFAFE68D8B49D
{
// System.Int32 UnityEngine.RenderTextureReadWrite::value__
int32_t ___value___2;
};
// UnityEngine.Rendering.Universal.RendererType
struct RendererType_t952E4F0C867408594D6DB4894BEFF90C854B6C90
{
// System.Int32 UnityEngine.Rendering.Universal.RendererType::value__
int32_t ___value___2;
};
// System.RuntimeFieldHandle
struct RuntimeFieldHandle_t6E4C45B6D2EA12FC99185805A7E77527899B25C5
{
// System.IntPtr System.RuntimeFieldHandle::value
intptr_t ___value_0;
};
// UnityEngine.RuntimePlatform
struct RuntimePlatform_t9A8AAF204603076FCAAECCCC05DA386AEE7BF66E
{
// System.Int32 UnityEngine.RuntimePlatform::value__
int32_t ___value___2;
};
// System.RuntimeTypeHandle
struct RuntimeTypeHandle_t332A452B8B6179E4469B69525D0FE82A88030F7B
{
// System.IntPtr System.RuntimeTypeHandle::value
intptr_t ___value_0;
};
// UnityEngine.Rendering.ScriptableRenderContext
struct ScriptableRenderContext_t5AB09B3602BEB456E0DC3D53926D3A3BDAF08E36
{
// System.IntPtr UnityEngine.Rendering.ScriptableRenderContext::m_Ptr
intptr_t ___m_Ptr_1;
};
struct ScriptableRenderContext_t5AB09B3602BEB456E0DC3D53926D3A3BDAF08E36_StaticFields
{
// UnityEngine.Rendering.ShaderTagId UnityEngine.Rendering.ScriptableRenderContext::kRenderTypeTag
ShaderTagId_t453E2085B5EE9448FF75E550CAB111EFF690ECB0 ___kRenderTypeTag_0;
};
// UnityEngine.Rendering.Universal.ScriptableRenderPassInput
struct ScriptableRenderPassInput_t2E28A5DE1B3B8001EE14298E0133EFF3204DE645
{
// System.Int32 UnityEngine.Rendering.Universal.ScriptableRenderPassInput::value__
int32_t ___value___2;
};
// UnityEngine.Rendering.Universal.ShaderVariantLogLevel
struct ShaderVariantLogLevel_t90ADECB390C8DBBB55360986A12A3430A42C65DE
{
// System.Int32 UnityEngine.Rendering.Universal.ShaderVariantLogLevel::value__
int32_t ___value___2;
};
// UnityEngine.Rendering.Universal.ShadowCascadesOption
struct ShadowCascadesOption_t0A87F71CB8129325144A22F446F8BDF0297F0823
{
// System.Int32 UnityEngine.Rendering.Universal.ShadowCascadesOption::value__
int32_t ___value___2;
};
// UnityEngine.Rendering.ShadowCastingMode
struct ShadowCastingMode_tF30806698B37CF120A1A506BD7549EAF308E7C6D
{
// System.Int32 UnityEngine.Rendering.ShadowCastingMode::value__
int32_t ___value___2;
};
// UnityEngine.Rendering.Universal.ShadowData
struct ShadowData_tA165FDF7CA4CE6BEA8B649FFAB91C59ED684D832
{
// System.Boolean UnityEngine.Rendering.Universal.ShadowData::supportsMainLightShadows
bool ___supportsMainLightShadows_0;
// System.Boolean UnityEngine.Rendering.Universal.ShadowData::requiresScreenSpaceShadowResolve
bool ___requiresScreenSpaceShadowResolve_1;
// System.Int32 UnityEngine.Rendering.Universal.ShadowData::mainLightShadowmapWidth
int32_t ___mainLightShadowmapWidth_2;
// System.Int32 UnityEngine.Rendering.Universal.ShadowData::mainLightShadowmapHeight
int32_t ___mainLightShadowmapHeight_3;
// System.Int32 UnityEngine.Rendering.Universal.ShadowData::mainLightShadowCascadesCount
int32_t ___mainLightShadowCascadesCount_4;
// UnityEngine.Vector3 UnityEngine.Rendering.Universal.ShadowData::mainLightShadowCascadesSplit
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___mainLightShadowCascadesSplit_5;
// System.Single UnityEngine.Rendering.Universal.ShadowData::mainLightShadowCascadeBorder
float ___mainLightShadowCascadeBorder_6;
// System.Boolean UnityEngine.Rendering.Universal.ShadowData::supportsAdditionalLightShadows
bool ___supportsAdditionalLightShadows_7;
// System.Int32 UnityEngine.Rendering.Universal.ShadowData::additionalLightsShadowmapWidth
int32_t ___additionalLightsShadowmapWidth_8;
// System.Int32 UnityEngine.Rendering.Universal.ShadowData::additionalLightsShadowmapHeight
int32_t ___additionalLightsShadowmapHeight_9;
// System.Boolean UnityEngine.Rendering.Universal.ShadowData::supportsSoftShadows
bool ___supportsSoftShadows_10;
// System.Int32 UnityEngine.Rendering.Universal.ShadowData::shadowmapDepthBufferBits
int32_t ___shadowmapDepthBufferBits_11;
// System.Collections.Generic.List`1<UnityEngine.Vector4> UnityEngine.Rendering.Universal.ShadowData::bias
List_1_tF42FEB6C3B18B7E7C8F2DE1FEBA00D2491736317* ___bias_12;
// System.Collections.Generic.List`1<System.Int32> UnityEngine.Rendering.Universal.ShadowData::resolution
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* ___resolution_13;
// System.Boolean UnityEngine.Rendering.Universal.ShadowData::isKeywordAdditionalLightShadowsEnabled
bool ___isKeywordAdditionalLightShadowsEnabled_14;
// System.Boolean UnityEngine.Rendering.Universal.ShadowData::isKeywordSoftShadowsEnabled
bool ___isKeywordSoftShadowsEnabled_15;
};
// Native definition for P/Invoke marshalling of UnityEngine.Rendering.Universal.ShadowData
struct ShadowData_tA165FDF7CA4CE6BEA8B649FFAB91C59ED684D832_marshaled_pinvoke
{
int32_t ___supportsMainLightShadows_0;
int32_t ___requiresScreenSpaceShadowResolve_1;
int32_t ___mainLightShadowmapWidth_2;
int32_t ___mainLightShadowmapHeight_3;
int32_t ___mainLightShadowCascadesCount_4;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___mainLightShadowCascadesSplit_5;
float ___mainLightShadowCascadeBorder_6;
int32_t ___supportsAdditionalLightShadows_7;
int32_t ___additionalLightsShadowmapWidth_8;
int32_t ___additionalLightsShadowmapHeight_9;
int32_t ___supportsSoftShadows_10;
int32_t ___shadowmapDepthBufferBits_11;
List_1_tF42FEB6C3B18B7E7C8F2DE1FEBA00D2491736317* ___bias_12;
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* ___resolution_13;
int32_t ___isKeywordAdditionalLightShadowsEnabled_14;
int32_t ___isKeywordSoftShadowsEnabled_15;
};
// Native definition for COM marshalling of UnityEngine.Rendering.Universal.ShadowData
struct ShadowData_tA165FDF7CA4CE6BEA8B649FFAB91C59ED684D832_marshaled_com
{
int32_t ___supportsMainLightShadows_0;
int32_t ___requiresScreenSpaceShadowResolve_1;
int32_t ___mainLightShadowmapWidth_2;
int32_t ___mainLightShadowmapHeight_3;
int32_t ___mainLightShadowCascadesCount_4;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___mainLightShadowCascadesSplit_5;
float ___mainLightShadowCascadeBorder_6;
int32_t ___supportsAdditionalLightShadows_7;
int32_t ___additionalLightsShadowmapWidth_8;
int32_t ___additionalLightsShadowmapHeight_9;
int32_t ___supportsSoftShadows_10;
int32_t ___shadowmapDepthBufferBits_11;
List_1_tF42FEB6C3B18B7E7C8F2DE1FEBA00D2491736317* ___bias_12;
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* ___resolution_13;
int32_t ___isKeywordAdditionalLightShadowsEnabled_14;
int32_t ___isKeywordSoftShadowsEnabled_15;
};
// UnityEngine.Rendering.Universal.ShadowQuality
struct ShadowQuality_tA2A95092FE517E629C7015F01CFFD83704BFAD24
{
// System.Int32 UnityEngine.Rendering.Universal.ShadowQuality::value__
int32_t ___value___2;
};
// UnityEngine.Rendering.Universal.ShadowResolution
struct ShadowResolution_t6C40A535E6EC0EFEF19D5BD8B3470E3EAEE58C2F
{
// System.Int32 UnityEngine.Rendering.Universal.ShadowResolution::value__
int32_t ___value___2;
};
// UnityEngine.Rendering.ShadowSamplingMode
struct ShadowSamplingMode_t8BE740C4258CFEDDBAC01FDC0438D8EE3F776BA8
{
// System.Int32 UnityEngine.Rendering.ShadowSamplingMode::value__
int32_t ___value___2;
};
// UnityEngine.Rendering.SortingCriteria
struct SortingCriteria_t4907D221CB6E6AA4A32C1ED7B5D17103FD3E7C39
{
// System.Int32 UnityEngine.Rendering.SortingCriteria::value__
int32_t ___value___2;
};
// UnityEngine.Rendering.Universal.StoreActionsOptimization
struct StoreActionsOptimization_tB5EB82E81175365B1DF3C5DE71F35E77E3B38B4A
{
// System.Int32 UnityEngine.Rendering.Universal.StoreActionsOptimization::value__
int32_t ___value___2;
};
// UnityEngine.Experimental.Rendering.TextureCreationFlags
struct TextureCreationFlags_t7671FF285C96A03BDCD7BA2F50388C09ED4A54A3
{
// System.Int32 UnityEngine.Experimental.Rendering.TextureCreationFlags::value__
int32_t ___value___2;
};
// UnityEngine.Rendering.TextureDimension
struct TextureDimension_t8D7148B9168256EE1E9AF91378ABA148888CE642
{
// System.Int32 UnityEngine.Rendering.TextureDimension::value__
int32_t ___value___2;
};
// UnityEngine.TextureWrapMode
struct TextureWrapMode_tF9851343029052ED45668D1C99BAE09B2CCC13AD
{
// System.Int32 UnityEngine.TextureWrapMode::value__
int32_t ___value___2;
};
// UnityEngine.VRTextureUsage
struct VRTextureUsage_t57FAA0077810142A461D74EDC5E33FC3D78BD2E8
{
// System.Int32 UnityEngine.VRTextureUsage::value__
int32_t ___value___2;
};
// UnityEngine.Rendering.Universal.VolumeFrameworkUpdateMode
struct VolumeFrameworkUpdateMode_tCD9A8BEF3700F3AA490F1BB39EF8A88E94398627
{
// System.Int32 UnityEngine.Rendering.Universal.VolumeFrameworkUpdateMode::value__
int32_t ___value___2;
};
// WaterSystem.Data.Wave
struct Wave_t98FB676A74FA3481325B501BF6AFA3A4B02D64CB
{
// System.Single WaterSystem.Data.Wave::amplitude
float ___amplitude_0;
// System.Single WaterSystem.Data.Wave::direction
float ___direction_1;
// System.Single WaterSystem.Data.Wave::wavelength
float ___wavelength_2;
// Unity.Mathematics.float2 WaterSystem.Data.Wave::origin
float2_t24AA5C0F612B0672315EDAFEC9D9E7F1C4A5B0BA ___origin_3;
// System.Single WaterSystem.Data.Wave::onmiDir
float ___onmiDir_4;
};
// WaterSystem.BuoyantObject/BuoyancyType
struct BuoyancyType_t55CDA1B1A870198708D4A7E17C26AA6EE88841F4
{
// System.Int32 WaterSystem.BuoyantObject/BuoyancyType::value__
int32_t ___value___2;
};
// WaterSystem.BuoyantObject/DebugDrawing
struct DebugDrawing_tFCBD1BABEC150B3A913A22E422BF3B9BC8810B0B
{
// UnityEngine.Vector3 WaterSystem.BuoyantObject/DebugDrawing::Force
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___Force_0;
// UnityEngine.Vector3 WaterSystem.BuoyantObject/DebugDrawing::Position
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___Position_1;
// System.Single WaterSystem.BuoyantObject/DebugDrawing::WaterHeight
float ___WaterHeight_2;
};
// UnityEngine.Rendering.Universal.PlanarReflections/ResolutionMulltiplier
struct ResolutionMulltiplier_tF033A6730F0C531BFF327B4727AA70F62FCA5333
{
// System.Int32 UnityEngine.Rendering.Universal.PlanarReflections/ResolutionMulltiplier::value__
int32_t ___value___2;
};
// WaterSystem.Water/DebugMode
struct DebugMode_tB7187D5C508E9456CCC2B4A272FEA5CEF06C5C0F
{
// System.Int32 WaterSystem.Water/DebugMode::value__
int32_t ___value___2;
};
// WaterSystem.WaterSystemFeature/WaterSystemSettings/DebugMode
struct DebugMode_t31A1909930E463920F4C09E485C37F5FE2934C42
{
// System.Int32 WaterSystem.WaterSystemFeature/WaterSystemSettings/DebugMode::value__
int32_t ___value___2;
};
// Unity.Collections.NativeArray`1<System.Int32>
struct NativeArray_1_tA833EB7E3E1C9AF82C37976AD964B8D4BAC38B2C
{
// System.Void* Unity.Collections.NativeArray`1::m_Buffer
void* ___m_Buffer_0;
// System.Int32 Unity.Collections.NativeArray`1::m_Length
int32_t ___m_Length_1;
// Unity.Collections.Allocator Unity.Collections.NativeArray`1::m_AllocatorLabel
int32_t ___m_AllocatorLabel_2;
};
// Unity.Collections.NativeArray`1<UnityEngine.Rendering.VisibleLight>
struct NativeArray_1_t71485A1E60B31CCAD3E525C907CF172E8B804468
{
// System.Void* Unity.Collections.NativeArray`1::m_Buffer
void* ___m_Buffer_0;
// System.Int32 Unity.Collections.NativeArray`1::m_Length
int32_t ___m_Length_1;
// Unity.Collections.Allocator Unity.Collections.NativeArray`1::m_AllocatorLabel
int32_t ___m_AllocatorLabel_2;
};
// Unity.Collections.NativeArray`1<WaterSystem.Data.Wave>
struct NativeArray_1_t0464FD7138EE934F1A59B5BC60EDAF11CA8501A0
{
// System.Void* Unity.Collections.NativeArray`1::m_Buffer
void* ___m_Buffer_0;
// System.Int32 Unity.Collections.NativeArray`1::m_Length
int32_t ___m_Length_1;
// Unity.Collections.Allocator Unity.Collections.NativeArray`1::m_AllocatorLabel
int32_t ___m_AllocatorLabel_2;
};
// Unity.Collections.NativeArray`1<Unity.Mathematics.float3>
struct NativeArray_1_tEDE9DAD2CAE5954286BC0EF394A57ED0AC69FEE6
{
// System.Void* Unity.Collections.NativeArray`1::m_Buffer
void* ___m_Buffer_0;
// System.Int32 Unity.Collections.NativeArray`1::m_Length
int32_t ___m_Length_1;
// Unity.Collections.Allocator Unity.Collections.NativeArray`1::m_AllocatorLabel
int32_t ___m_AllocatorLabel_2;
};
// UnityEngine.Component
struct Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3 : public Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C
{
};
// UnityEngine.GameObject
struct GameObject_t76FEDD663AB33C991A9C9A23129337651094216F : public Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C
{
};
// UnityEngine.Material
struct Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3 : public Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C
{
};
// UnityEngine.Mesh
struct Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4 : public Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C
{
};
// System.MulticastDelegate
struct MulticastDelegate_t : public Delegate_t
{
// System.Delegate[] System.MulticastDelegate::delegates
DelegateU5BU5D_tC5AB7E8F745616680F337909D3A8E6C722CDF771* ___delegates_13;
};
// Native definition for P/Invoke marshalling of System.MulticastDelegate
struct MulticastDelegate_t_marshaled_pinvoke : public Delegate_t_marshaled_pinvoke
{
Delegate_t_marshaled_pinvoke** ___delegates_13;
};
// Native definition for COM marshalling of System.MulticastDelegate
struct MulticastDelegate_t_marshaled_com : public Delegate_t_marshaled_com
{
Delegate_t_marshaled_com** ___delegates_13;
};
// UnityEngine.Rendering.Universal.PostProcessingData
struct PostProcessingData_tFA75BF22951C600258B2707AF7A113E4EDA49BD4
{
// UnityEngine.Rendering.Universal.ColorGradingMode UnityEngine.Rendering.Universal.PostProcessingData::gradingMode
int32_t ___gradingMode_0;
// System.Int32 UnityEngine.Rendering.Universal.PostProcessingData::lutSize
int32_t ___lutSize_1;
// System.Boolean UnityEngine.Rendering.Universal.PostProcessingData::useFastSRGBLinearConversion
bool ___useFastSRGBLinearConversion_2;
};
// Native definition for P/Invoke marshalling of UnityEngine.Rendering.Universal.PostProcessingData
struct PostProcessingData_tFA75BF22951C600258B2707AF7A113E4EDA49BD4_marshaled_pinvoke
{
int32_t ___gradingMode_0;
int32_t ___lutSize_1;
int32_t ___useFastSRGBLinearConversion_2;
};
// Native definition for COM marshalling of UnityEngine.Rendering.Universal.PostProcessingData
struct PostProcessingData_tFA75BF22951C600258B2707AF7A113E4EDA49BD4_marshaled_com
{
int32_t ___gradingMode_0;
int32_t ___lutSize_1;
int32_t ___useFastSRGBLinearConversion_2;
};
// UnityEngine.Rendering.RenderTargetIdentifier
struct RenderTargetIdentifier_tA528663AC6EB3911D8E91AA40F7070FA5455442B
{
// UnityEngine.Rendering.BuiltinRenderTextureType UnityEngine.Rendering.RenderTargetIdentifier::m_Type
int32_t ___m_Type_1;
// System.Int32 UnityEngine.Rendering.RenderTargetIdentifier::m_NameID
int32_t ___m_NameID_2;
// System.Int32 UnityEngine.Rendering.RenderTargetIdentifier::m_InstanceID
int32_t ___m_InstanceID_3;
// System.IntPtr UnityEngine.Rendering.RenderTargetIdentifier::m_BufferPointer
intptr_t ___m_BufferPointer_4;
// System.Int32 UnityEngine.Rendering.RenderTargetIdentifier::m_MipLevel
int32_t ___m_MipLevel_5;
// UnityEngine.CubemapFace UnityEngine.Rendering.RenderTargetIdentifier::m_CubeFace
int32_t ___m_CubeFace_6;
// System.Int32 UnityEngine.Rendering.RenderTargetIdentifier::m_DepthSlice
int32_t ___m_DepthSlice_7;
};
// UnityEngine.RenderTextureDescriptor
struct RenderTextureDescriptor_t69845881CE6437E4E61F92074F2F84079F23FA46
{
// System.Int32 UnityEngine.RenderTextureDescriptor::<width>k__BackingField
int32_t ___U3CwidthU3Ek__BackingField_0;
// System.Int32 UnityEngine.RenderTextureDescriptor::<height>k__BackingField
int32_t ___U3CheightU3Ek__BackingField_1;
// System.Int32 UnityEngine.RenderTextureDescriptor::<msaaSamples>k__BackingField
int32_t ___U3CmsaaSamplesU3Ek__BackingField_2;
// System.Int32 UnityEngine.RenderTextureDescriptor::<volumeDepth>k__BackingField
int32_t ___U3CvolumeDepthU3Ek__BackingField_3;
// System.Int32 UnityEngine.RenderTextureDescriptor::<mipCount>k__BackingField
int32_t ___U3CmipCountU3Ek__BackingField_4;
// UnityEngine.Experimental.Rendering.GraphicsFormat UnityEngine.RenderTextureDescriptor::_graphicsFormat
int32_t ____graphicsFormat_5;
// UnityEngine.Experimental.Rendering.GraphicsFormat UnityEngine.RenderTextureDescriptor::<stencilFormat>k__BackingField
int32_t ___U3CstencilFormatU3Ek__BackingField_6;
// UnityEngine.Experimental.Rendering.GraphicsFormat UnityEngine.RenderTextureDescriptor::<depthStencilFormat>k__BackingField
int32_t ___U3CdepthStencilFormatU3Ek__BackingField_7;
// UnityEngine.Rendering.TextureDimension UnityEngine.RenderTextureDescriptor::<dimension>k__BackingField
int32_t ___U3CdimensionU3Ek__BackingField_8;
// UnityEngine.Rendering.ShadowSamplingMode UnityEngine.RenderTextureDescriptor::<shadowSamplingMode>k__BackingField
int32_t ___U3CshadowSamplingModeU3Ek__BackingField_9;
// UnityEngine.VRTextureUsage UnityEngine.RenderTextureDescriptor::<vrUsage>k__BackingField
int32_t ___U3CvrUsageU3Ek__BackingField_10;
// UnityEngine.RenderTextureCreationFlags UnityEngine.RenderTextureDescriptor::_flags
int32_t ____flags_11;
// UnityEngine.RenderTextureMemoryless UnityEngine.RenderTextureDescriptor::<memoryless>k__BackingField
int32_t ___U3CmemorylessU3Ek__BackingField_12;
};
// UnityEngine.ScriptableObject
struct ScriptableObject_tB3BFDB921A1B1795B38A5417D3B97A89A140436A : public Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C
{
};
// Native definition for P/Invoke marshalling of UnityEngine.ScriptableObject
struct ScriptableObject_tB3BFDB921A1B1795B38A5417D3B97A89A140436A_marshaled_pinvoke : public Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_marshaled_pinvoke
{
};
// Native definition for COM marshalling of UnityEngine.ScriptableObject
struct ScriptableObject_tB3BFDB921A1B1795B38A5417D3B97A89A140436A_marshaled_com : public Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_marshaled_com
{
};
// UnityEngine.Shader
struct Shader_tADC867D36B7876EE22427FAA2CE485105F4EE692 : public Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C
{
};
// UnityEngine.Rendering.SortingSettings
struct SortingSettings_t506C3B318FDFD3C2B1620E9B951829C631137E72
{
// UnityEngine.Matrix4x4 UnityEngine.Rendering.SortingSettings::m_WorldToCameraMatrix
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 ___m_WorldToCameraMatrix_0;
// UnityEngine.Vector3 UnityEngine.Rendering.SortingSettings::m_CameraPosition
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___m_CameraPosition_1;
// UnityEngine.Vector3 UnityEngine.Rendering.SortingSettings::m_CustomAxis
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___m_CustomAxis_2;
// UnityEngine.Rendering.SortingCriteria UnityEngine.Rendering.SortingSettings::m_Criteria
int32_t ___m_Criteria_3;
// UnityEngine.Rendering.DistanceMetric UnityEngine.Rendering.SortingSettings::m_DistanceMetric
int32_t ___m_DistanceMetric_4;
// UnityEngine.Matrix4x4 UnityEngine.Rendering.SortingSettings::m_PreviousVPMatrix
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 ___m_PreviousVPMatrix_5;
// UnityEngine.Matrix4x4 UnityEngine.Rendering.SortingSettings::m_NonJitteredVPMatrix
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 ___m_NonJitteredVPMatrix_6;
};
// System.SystemException
struct SystemException_tCC48D868298F4C0705279823E34B00F4FBDB7295 : public Exception_t
{
};
// UnityEngine.Texture
struct Texture_t791CBB51219779964E0E8A2ED7C1AA5F92A4A700 : public Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C
{
};
struct Texture_t791CBB51219779964E0E8A2ED7C1AA5F92A4A700_StaticFields
{
// System.Int32 UnityEngine.Texture::GenerateAllMips
int32_t ___GenerateAllMips_4;
};
// System.Type
struct Type_t : public MemberInfo_t
{
// System.RuntimeTypeHandle System.Type::_impl
RuntimeTypeHandle_t332A452B8B6179E4469B69525D0FE82A88030F7B ____impl_8;
};
struct Type_t_StaticFields
{
// System.Reflection.Binder modreq(System.Runtime.CompilerServices.IsVolatile) System.Type::s_defaultBinder
Binder_t91BFCE95A7057FADF4D8A1A342AFE52872246235* ___s_defaultBinder_0;
// System.Char System.Type::Delimiter
Il2CppChar ___Delimiter_1;
// System.Type[] System.Type::EmptyTypes
TypeU5BU5D_t97234E1129B564EB38B8D85CAC2AD8B5B9522FFB* ___EmptyTypes_2;
// System.Object System.Type::Missing
RuntimeObject* ___Missing_3;
// System.Reflection.MemberFilter System.Type::FilterAttribute
MemberFilter_tF644F1AE82F611B677CE1964D5A3277DDA21D553* ___FilterAttribute_4;
// System.Reflection.MemberFilter System.Type::FilterName
MemberFilter_tF644F1AE82F611B677CE1964D5A3277DDA21D553* ___FilterName_5;
// System.Reflection.MemberFilter System.Type::FilterNameIgnoreCase
MemberFilter_tF644F1AE82F611B677CE1964D5A3277DDA21D553* ___FilterNameIgnoreCase_6;
};
// UnityEngine.Rendering.Universal.PlanarReflections/PlanarReflectionSettings
struct PlanarReflectionSettings_t933C0BB776407C4B49D2CE2FD8E60337F2B62731 : public RuntimeObject
{
// UnityEngine.Rendering.Universal.PlanarReflections/ResolutionMulltiplier UnityEngine.Rendering.Universal.PlanarReflections/PlanarReflectionSettings::m_ResolutionMultiplier
int32_t ___m_ResolutionMultiplier_0;
// System.Single UnityEngine.Rendering.Universal.PlanarReflections/PlanarReflectionSettings::m_ClipPlaneOffset
float ___m_ClipPlaneOffset_1;
// UnityEngine.LayerMask UnityEngine.Rendering.Universal.PlanarReflections/PlanarReflectionSettings::m_ReflectLayers
LayerMask_t97CB6BDADEDC3D6423C7BCFEA7F86DA2EC6241DB ___m_ReflectLayers_2;
// System.Boolean UnityEngine.Rendering.Universal.PlanarReflections/PlanarReflectionSettings::m_Shadows
bool ___m_Shadows_3;
};
// WaterSystem.WaterSystemFeature/WaterSystemSettings
struct WaterSystemSettings_tE1A03BEC806E79F355763506E93C356C0497BE8C : public RuntimeObject
{
// System.Single WaterSystem.WaterSystemFeature/WaterSystemSettings::causticScale
float ___causticScale_0;
// System.Single WaterSystem.WaterSystemFeature/WaterSystemSettings::causticBlendDistance
float ___causticBlendDistance_1;
// WaterSystem.WaterSystemFeature/WaterSystemSettings/DebugMode WaterSystem.WaterSystemFeature/WaterSystemSettings::debug
int32_t ___debug_2;
};
// System.Action`2<UnityEngine.Rendering.ScriptableRenderContext,UnityEngine.Camera>
struct Action_2_t8E07914D7090FF200FE84404EEEFAF3CE183C9F3 : public MulticastDelegate_t
{
};
// System.Action`2<UnityEngine.Rendering.ScriptableRenderContext,System.Object>
struct Action_2_t38DEBB6BD6AE1CA882236F63F7E1DB3781D38994 : public MulticastDelegate_t
{
};
// System.ArgumentException
struct ArgumentException_tAD90411542A20A9C72D5CDA3A84181D8B947A263 : public SystemException_tCC48D868298F4C0705279823E34B00F4FBDB7295
{
// System.String System.ArgumentException::_paramName
String_t* ____paramName_18;
};
// UnityEngine.Rendering.AttachmentDescriptor
struct AttachmentDescriptor_tBAC9B26B50BB0838C5C0CC22BB296F9DFF41276E
{
// UnityEngine.Rendering.RenderBufferLoadAction UnityEngine.Rendering.AttachmentDescriptor::m_LoadAction
int32_t ___m_LoadAction_0;
// UnityEngine.Rendering.RenderBufferStoreAction UnityEngine.Rendering.AttachmentDescriptor::m_StoreAction
int32_t ___m_StoreAction_1;
// UnityEngine.Experimental.Rendering.GraphicsFormat UnityEngine.Rendering.AttachmentDescriptor::m_Format
int32_t ___m_Format_2;
// UnityEngine.Rendering.RenderTargetIdentifier UnityEngine.Rendering.AttachmentDescriptor::m_LoadStoreTarget
RenderTargetIdentifier_tA528663AC6EB3911D8E91AA40F7070FA5455442B ___m_LoadStoreTarget_3;
// UnityEngine.Rendering.RenderTargetIdentifier UnityEngine.Rendering.AttachmentDescriptor::m_ResolveTarget
RenderTargetIdentifier_tA528663AC6EB3911D8E91AA40F7070FA5455442B ___m_ResolveTarget_4;
// UnityEngine.Color UnityEngine.Rendering.AttachmentDescriptor::m_ClearColor
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F ___m_ClearColor_5;
// System.Single UnityEngine.Rendering.AttachmentDescriptor::m_ClearDepth
float ___m_ClearDepth_6;
// System.UInt32 UnityEngine.Rendering.AttachmentDescriptor::m_ClearStencil
uint32_t ___m_ClearStencil_7;
};
// UnityEngine.Behaviour
struct Behaviour_t01970CFBBA658497AE30F311C447DB0440BAB7FA : public Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3
{
};
// UnityEngine.Rendering.Universal.CameraData
struct CameraData_tC27AE109CD20677486A4AC19C0CF014AE0F50C3E
{
// UnityEngine.Matrix4x4 UnityEngine.Rendering.Universal.CameraData::m_ViewMatrix
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 ___m_ViewMatrix_0;
// UnityEngine.Matrix4x4 UnityEngine.Rendering.Universal.CameraData::m_ProjectionMatrix
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 ___m_ProjectionMatrix_1;
// UnityEngine.Camera UnityEngine.Rendering.Universal.CameraData::camera
Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184* ___camera_2;
// UnityEngine.Rendering.Universal.CameraRenderType UnityEngine.Rendering.Universal.CameraData::renderType
int32_t ___renderType_3;
// UnityEngine.RenderTexture UnityEngine.Rendering.Universal.CameraData::targetTexture
RenderTexture_tBA90C4C3AD9EECCFDDCC632D97C29FAB80D60D27* ___targetTexture_4;
// UnityEngine.RenderTextureDescriptor UnityEngine.Rendering.Universal.CameraData::cameraTargetDescriptor
RenderTextureDescriptor_t69845881CE6437E4E61F92074F2F84079F23FA46 ___cameraTargetDescriptor_5;
// UnityEngine.Rect UnityEngine.Rendering.Universal.CameraData::pixelRect
Rect_tA04E0F8A1830E767F40FB27ECD8D309303571F0D ___pixelRect_6;
// System.Int32 UnityEngine.Rendering.Universal.CameraData::pixelWidth
int32_t ___pixelWidth_7;
// System.Int32 UnityEngine.Rendering.Universal.CameraData::pixelHeight
int32_t ___pixelHeight_8;
// System.Single UnityEngine.Rendering.Universal.CameraData::aspectRatio
float ___aspectRatio_9;
// System.Single UnityEngine.Rendering.Universal.CameraData::renderScale
float ___renderScale_10;
// System.Boolean UnityEngine.Rendering.Universal.CameraData::clearDepth
bool ___clearDepth_11;
// UnityEngine.CameraType UnityEngine.Rendering.Universal.CameraData::cameraType
int32_t ___cameraType_12;
// System.Boolean UnityEngine.Rendering.Universal.CameraData::isDefaultViewport
bool ___isDefaultViewport_13;
// System.Boolean UnityEngine.Rendering.Universal.CameraData::isHdrEnabled
bool ___isHdrEnabled_14;
// System.Boolean UnityEngine.Rendering.Universal.CameraData::requiresDepthTexture
bool ___requiresDepthTexture_15;
// System.Boolean UnityEngine.Rendering.Universal.CameraData::requiresOpaqueTexture
bool ___requiresOpaqueTexture_16;
// System.Boolean UnityEngine.Rendering.Universal.CameraData::postProcessingRequiresDepthTexture
bool ___postProcessingRequiresDepthTexture_17;
// System.Boolean UnityEngine.Rendering.Universal.CameraData::xrRendering
bool ___xrRendering_18;
// UnityEngine.Rendering.SortingCriteria UnityEngine.Rendering.Universal.CameraData::defaultOpaqueSortFlags
int32_t ___defaultOpaqueSortFlags_19;
// UnityEngine.Rendering.Universal.XRPass UnityEngine.Rendering.Universal.CameraData::xr
XRPass_t0A618D61DBC9E3F8BC970B7C9D2679375C6C8A24* ___xr_20;
// System.Boolean UnityEngine.Rendering.Universal.CameraData::isStereoEnabled
bool ___isStereoEnabled_21;
// System.Single UnityEngine.Rendering.Universal.CameraData::maxShadowDistance
float ___maxShadowDistance_22;
// System.Boolean UnityEngine.Rendering.Universal.CameraData::postProcessEnabled
bool ___postProcessEnabled_23;
// System.Collections.Generic.IEnumerator`1<System.Action`2<UnityEngine.Rendering.RenderTargetIdentifier,UnityEngine.Rendering.CommandBuffer>> UnityEngine.Rendering.Universal.CameraData::captureActions
RuntimeObject* ___captureActions_24;
// UnityEngine.LayerMask UnityEngine.Rendering.Universal.CameraData::volumeLayerMask
LayerMask_t97CB6BDADEDC3D6423C7BCFEA7F86DA2EC6241DB ___volumeLayerMask_25;
// UnityEngine.Transform UnityEngine.Rendering.Universal.CameraData::volumeTrigger
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___volumeTrigger_26;
// System.Boolean UnityEngine.Rendering.Universal.CameraData::isStopNaNEnabled
bool ___isStopNaNEnabled_27;
// System.Boolean UnityEngine.Rendering.Universal.CameraData::isDitheringEnabled
bool ___isDitheringEnabled_28;
// UnityEngine.Rendering.Universal.AntialiasingMode UnityEngine.Rendering.Universal.CameraData::antialiasing
int32_t ___antialiasing_29;
// UnityEngine.Rendering.Universal.AntialiasingQuality UnityEngine.Rendering.Universal.CameraData::antialiasingQuality
int32_t ___antialiasingQuality_30;
// UnityEngine.Rendering.Universal.ScriptableRenderer UnityEngine.Rendering.Universal.CameraData::renderer
ScriptableRenderer_tF15B95BB85F26BE4B4719901D909831B89DC8892* ___renderer_31;
// System.Boolean UnityEngine.Rendering.Universal.CameraData::resolveFinalTarget
bool ___resolveFinalTarget_32;
// UnityEngine.Vector3 UnityEngine.Rendering.Universal.CameraData::worldSpaceCameraPos
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___worldSpaceCameraPos_33;
};
// Native definition for P/Invoke marshalling of UnityEngine.Rendering.Universal.CameraData
struct CameraData_tC27AE109CD20677486A4AC19C0CF014AE0F50C3E_marshaled_pinvoke
{
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 ___m_ViewMatrix_0;
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 ___m_ProjectionMatrix_1;
Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184* ___camera_2;
int32_t ___renderType_3;
RenderTexture_tBA90C4C3AD9EECCFDDCC632D97C29FAB80D60D27* ___targetTexture_4;
RenderTextureDescriptor_t69845881CE6437E4E61F92074F2F84079F23FA46 ___cameraTargetDescriptor_5;
Rect_tA04E0F8A1830E767F40FB27ECD8D309303571F0D ___pixelRect_6;
int32_t ___pixelWidth_7;
int32_t ___pixelHeight_8;
float ___aspectRatio_9;
float ___renderScale_10;
int32_t ___clearDepth_11;
int32_t ___cameraType_12;
int32_t ___isDefaultViewport_13;
int32_t ___isHdrEnabled_14;
int32_t ___requiresDepthTexture_15;
int32_t ___requiresOpaqueTexture_16;
int32_t ___postProcessingRequiresDepthTexture_17;
int32_t ___xrRendering_18;
int32_t ___defaultOpaqueSortFlags_19;
XRPass_t0A618D61DBC9E3F8BC970B7C9D2679375C6C8A24* ___xr_20;
int32_t ___isStereoEnabled_21;
float ___maxShadowDistance_22;
int32_t ___postProcessEnabled_23;
RuntimeObject* ___captureActions_24;
LayerMask_t97CB6BDADEDC3D6423C7BCFEA7F86DA2EC6241DB ___volumeLayerMask_25;
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___volumeTrigger_26;
int32_t ___isStopNaNEnabled_27;
int32_t ___isDitheringEnabled_28;
int32_t ___antialiasing_29;
int32_t ___antialiasingQuality_30;
ScriptableRenderer_tF15B95BB85F26BE4B4719901D909831B89DC8892* ___renderer_31;
int32_t ___resolveFinalTarget_32;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___worldSpaceCameraPos_33;
};
// Native definition for COM marshalling of UnityEngine.Rendering.Universal.CameraData
struct CameraData_tC27AE109CD20677486A4AC19C0CF014AE0F50C3E_marshaled_com
{
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 ___m_ViewMatrix_0;
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 ___m_ProjectionMatrix_1;
Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184* ___camera_2;
int32_t ___renderType_3;
RenderTexture_tBA90C4C3AD9EECCFDDCC632D97C29FAB80D60D27* ___targetTexture_4;
RenderTextureDescriptor_t69845881CE6437E4E61F92074F2F84079F23FA46 ___cameraTargetDescriptor_5;
Rect_tA04E0F8A1830E767F40FB27ECD8D309303571F0D ___pixelRect_6;
int32_t ___pixelWidth_7;
int32_t ___pixelHeight_8;
float ___aspectRatio_9;
float ___renderScale_10;
int32_t ___clearDepth_11;
int32_t ___cameraType_12;
int32_t ___isDefaultViewport_13;
int32_t ___isHdrEnabled_14;
int32_t ___requiresDepthTexture_15;
int32_t ___requiresOpaqueTexture_16;
int32_t ___postProcessingRequiresDepthTexture_17;
int32_t ___xrRendering_18;
int32_t ___defaultOpaqueSortFlags_19;
XRPass_t0A618D61DBC9E3F8BC970B7C9D2679375C6C8A24* ___xr_20;
int32_t ___isStereoEnabled_21;
float ___maxShadowDistance_22;
int32_t ___postProcessEnabled_23;
RuntimeObject* ___captureActions_24;
LayerMask_t97CB6BDADEDC3D6423C7BCFEA7F86DA2EC6241DB ___volumeLayerMask_25;
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___volumeTrigger_26;
int32_t ___isStopNaNEnabled_27;
int32_t ___isDitheringEnabled_28;
int32_t ___antialiasing_29;
int32_t ___antialiasingQuality_30;
ScriptableRenderer_tF15B95BB85F26BE4B4719901D909831B89DC8892* ___renderer_31;
int32_t ___resolveFinalTarget_32;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___worldSpaceCameraPos_33;
};
// UnityEngine.Collider
struct Collider_t1CC3163924FCD6C4CC2E816373A929C1E3D55E76 : public Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3
{
};
// UnityEngine.Cubemap
struct Cubemap_t4F2DFF70696A5CB5C1695DF8947CC60D718C4A1C : public Texture_t791CBB51219779964E0E8A2ED7C1AA5F92A4A700
{
};
// UnityEngine.Rendering.DrawingSettings
struct DrawingSettings_t3B64EB029DB6F94A1F2A9B2D19D2969AE361BB49
{
// UnityEngine.Rendering.SortingSettings UnityEngine.Rendering.DrawingSettings::m_SortingSettings
SortingSettings_t506C3B318FDFD3C2B1620E9B951829C631137E72 ___m_SortingSettings_1;
// UnityEngine.Rendering.DrawingSettings/<shaderPassNames>e__FixedBuffer UnityEngine.Rendering.DrawingSettings::shaderPassNames
U3CshaderPassNamesU3Ee__FixedBuffer_t5EDC823777BDDC9D50E55FF3779FBC1B3820126D ___shaderPassNames_2;
// UnityEngine.Rendering.PerObjectData UnityEngine.Rendering.DrawingSettings::m_PerObjectData
int32_t ___m_PerObjectData_3;
// UnityEngine.Rendering.DrawRendererFlags UnityEngine.Rendering.DrawingSettings::m_Flags
int32_t ___m_Flags_4;
// System.Int32 UnityEngine.Rendering.DrawingSettings::m_OverrideMaterialInstanceId
int32_t ___m_OverrideMaterialInstanceId_5;
// System.Int32 UnityEngine.Rendering.DrawingSettings::m_OverrideMaterialPassIndex
int32_t ___m_OverrideMaterialPassIndex_6;
// System.Int32 UnityEngine.Rendering.DrawingSettings::m_fallbackMaterialInstanceId
int32_t ___m_fallbackMaterialInstanceId_7;
// System.Int32 UnityEngine.Rendering.DrawingSettings::m_MainLightIndex
int32_t ___m_MainLightIndex_8;
// System.Int32 UnityEngine.Rendering.DrawingSettings::m_UseSrpBatcher
int32_t ___m_UseSrpBatcher_9;
};
struct DrawingSettings_t3B64EB029DB6F94A1F2A9B2D19D2969AE361BB49_StaticFields
{
// System.Int32 UnityEngine.Rendering.DrawingSettings::maxShaderPasses
int32_t ___maxShaderPasses_0;
};
// WaterSystem.GerstnerWavesJobs
struct GerstnerWavesJobs_t93D7738515E9961C2592A8DC0BE0BAF4F3EDEFAB : public RuntimeObject
{
};
struct GerstnerWavesJobs_t93D7738515E9961C2592A8DC0BE0BAF4F3EDEFAB_StaticFields
{
// System.Boolean WaterSystem.GerstnerWavesJobs::Initialized
bool ___Initialized_0;
// System.Boolean WaterSystem.GerstnerWavesJobs::_firstFrame
bool ____firstFrame_1;
// System.Boolean WaterSystem.GerstnerWavesJobs::_processing
bool ____processing_2;
// System.Int32 WaterSystem.GerstnerWavesJobs::_waveCount
int32_t ____waveCount_3;
// Unity.Collections.NativeArray`1<WaterSystem.Data.Wave> WaterSystem.GerstnerWavesJobs::_waveData
NativeArray_1_t0464FD7138EE934F1A59B5BC60EDAF11CA8501A0 ____waveData_4;
// Unity.Collections.NativeArray`1<Unity.Mathematics.float3> WaterSystem.GerstnerWavesJobs::_positions
NativeArray_1_tEDE9DAD2CAE5954286BC0EF394A57ED0AC69FEE6 ____positions_5;
// System.Int32 WaterSystem.GerstnerWavesJobs::_positionCount
int32_t ____positionCount_6;
// Unity.Collections.NativeArray`1<Unity.Mathematics.float3> WaterSystem.GerstnerWavesJobs::_wavePos
NativeArray_1_tEDE9DAD2CAE5954286BC0EF394A57ED0AC69FEE6 ____wavePos_7;
// Unity.Collections.NativeArray`1<Unity.Mathematics.float3> WaterSystem.GerstnerWavesJobs::_waveNormal
NativeArray_1_tEDE9DAD2CAE5954286BC0EF394A57ED0AC69FEE6 ____waveNormal_8;
// Unity.Jobs.JobHandle WaterSystem.GerstnerWavesJobs::_waterHeightHandle
JobHandle_t5DF5F99902FED3C801A81C05205CEA6CE039EF08 ____waterHeightHandle_9;
// System.Collections.Generic.Dictionary`2<System.Int32,Unity.Mathematics.int2> WaterSystem.GerstnerWavesJobs::Registry
Dictionary_2_t34976844C1A11EC7C4C065C9F12F6223D78D4583* ___Registry_10;
};
// System.IndexOutOfRangeException
struct IndexOutOfRangeException_t7ECB35264FB6CA8FAA516BD958F4B2ADC78E8A82 : public SystemException_tCC48D868298F4C0705279823E34B00F4FBDB7295
{
};
// UnityEngine.Rendering.Universal.LightData
struct LightData_t6A82F1C9AA97327A5EE9C16A3E949918F3A55470
{
// System.Int32 UnityEngine.Rendering.Universal.LightData::mainLightIndex
int32_t ___mainLightIndex_0;
// System.Int32 UnityEngine.Rendering.Universal.LightData::additionalLightsCount
int32_t ___additionalLightsCount_1;
// System.Int32 UnityEngine.Rendering.Universal.LightData::maxPerObjectAdditionalLightsCount
int32_t ___maxPerObjectAdditionalLightsCount_2;
// Unity.Collections.NativeArray`1<UnityEngine.Rendering.VisibleLight> UnityEngine.Rendering.Universal.LightData::visibleLights
NativeArray_1_t71485A1E60B31CCAD3E525C907CF172E8B804468 ___visibleLights_3;
// Unity.Collections.NativeArray`1<System.Int32> UnityEngine.Rendering.Universal.LightData::originalIndices
NativeArray_1_tA833EB7E3E1C9AF82C37976AD964B8D4BAC38B2C ___originalIndices_4;
// System.Boolean UnityEngine.Rendering.Universal.LightData::shadeAdditionalLightsPerVertex
bool ___shadeAdditionalLightsPerVertex_5;
// System.Boolean UnityEngine.Rendering.Universal.LightData::supportsMixedLighting
bool ___supportsMixedLighting_6;
// System.Boolean UnityEngine.Rendering.Universal.LightData::reflectionProbeBoxProjection
bool ___reflectionProbeBoxProjection_7;
// System.Boolean UnityEngine.Rendering.Universal.LightData::reflectionProbeBlending
bool ___reflectionProbeBlending_8;
// System.Boolean UnityEngine.Rendering.Universal.LightData::supportsLightLayers
bool ___supportsLightLayers_9;
// System.Boolean UnityEngine.Rendering.Universal.LightData::supportsAdditionalLights
bool ___supportsAdditionalLights_10;
};
// Native definition for P/Invoke marshalling of UnityEngine.Rendering.Universal.LightData
struct LightData_t6A82F1C9AA97327A5EE9C16A3E949918F3A55470_marshaled_pinvoke
{
int32_t ___mainLightIndex_0;
int32_t ___additionalLightsCount_1;
int32_t ___maxPerObjectAdditionalLightsCount_2;
NativeArray_1_t71485A1E60B31CCAD3E525C907CF172E8B804468 ___visibleLights_3;
NativeArray_1_tA833EB7E3E1C9AF82C37976AD964B8D4BAC38B2C ___originalIndices_4;
int32_t ___shadeAdditionalLightsPerVertex_5;
int32_t ___supportsMixedLighting_6;
int32_t ___reflectionProbeBoxProjection_7;
int32_t ___reflectionProbeBlending_8;
int32_t ___supportsLightLayers_9;
int32_t ___supportsAdditionalLights_10;
};
// Native definition for COM marshalling of UnityEngine.Rendering.Universal.LightData
struct LightData_t6A82F1C9AA97327A5EE9C16A3E949918F3A55470_marshaled_com
{
int32_t ___mainLightIndex_0;
int32_t ___additionalLightsCount_1;
int32_t ___maxPerObjectAdditionalLightsCount_2;
NativeArray_1_t71485A1E60B31CCAD3E525C907CF172E8B804468 ___visibleLights_3;
NativeArray_1_tA833EB7E3E1C9AF82C37976AD964B8D4BAC38B2C ___originalIndices_4;
int32_t ___shadeAdditionalLightsPerVertex_5;
int32_t ___supportsMixedLighting_6;
int32_t ___reflectionProbeBoxProjection_7;
int32_t ___reflectionProbeBlending_8;
int32_t ___supportsLightLayers_9;
int32_t ___supportsAdditionalLights_10;
};
// UnityEngine.Rendering.RenderPipelineAsset
struct RenderPipelineAsset_t5F9BF815BF931E1314B184E7F9070FB649C7054E : public ScriptableObject_tB3BFDB921A1B1795B38A5417D3B97A89A140436A
{
};
// UnityEngine.Rendering.Universal.RenderTargetHandle
struct RenderTargetHandle_tB5C2670041BF377223D41FDF9290F6D8BFB7BA66
{
// System.Int32 UnityEngine.Rendering.Universal.RenderTargetHandle::<id>k__BackingField
int32_t ___U3CidU3Ek__BackingField_0;
// UnityEngine.Rendering.RenderTargetIdentifier UnityEngine.Rendering.Universal.RenderTargetHandle::<rtid>k__BackingField
RenderTargetIdentifier_tA528663AC6EB3911D8E91AA40F7070FA5455442B ___U3CrtidU3Ek__BackingField_1;
};
struct RenderTargetHandle_tB5C2670041BF377223D41FDF9290F6D8BFB7BA66_StaticFields
{
// UnityEngine.Rendering.Universal.RenderTargetHandle UnityEngine.Rendering.Universal.RenderTargetHandle::CameraTarget
RenderTargetHandle_tB5C2670041BF377223D41FDF9290F6D8BFB7BA66 ___CameraTarget_2;
};
// UnityEngine.RenderTexture
struct RenderTexture_tBA90C4C3AD9EECCFDDCC632D97C29FAB80D60D27 : public Texture_t791CBB51219779964E0E8A2ED7C1AA5F92A4A700
{
};
// UnityEngine.Renderer
struct Renderer_t320575F223BCB177A982E5DDB5DB19FAA89E7FBF : public Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3
{
};
// UnityEngine.Rigidbody
struct Rigidbody_t268697F5A994213ED97393309870968BC1C7393C : public Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3
{
};
// UnityEngine.Rendering.Universal.ScriptableRenderPass
struct ScriptableRenderPass_tEA38F6C7AD8D111A2251E4C2A7530BCEE7D6D2B0 : public RuntimeObject
{
// UnityEngine.Rendering.Universal.RenderPassEvent UnityEngine.Rendering.Universal.ScriptableRenderPass::<renderPassEvent>k__BackingField
int32_t ___U3CrenderPassEventU3Ek__BackingField_0;
// UnityEngine.Rendering.RenderBufferStoreAction[] UnityEngine.Rendering.Universal.ScriptableRenderPass::m_ColorStoreActions
RenderBufferStoreActionU5BU5D_tFEA8F5DD460573EA9F35FBEC5727D1804C5DCBF5* ___m_ColorStoreActions_1;
// UnityEngine.Rendering.RenderBufferStoreAction UnityEngine.Rendering.Universal.ScriptableRenderPass::m_DepthStoreAction
int32_t ___m_DepthStoreAction_2;
// System.Boolean[] UnityEngine.Rendering.Universal.ScriptableRenderPass::m_OverriddenColorStoreActions
BooleanU5BU5D_tD317D27C31DB892BE79FAE3AEBC0B3FFB73DE9B4* ___m_OverriddenColorStoreActions_3;
// System.Boolean UnityEngine.Rendering.Universal.ScriptableRenderPass::m_OverriddenDepthStoreAction
bool ___m_OverriddenDepthStoreAction_4;
// UnityEngine.Rendering.ProfilingSampler UnityEngine.Rendering.Universal.ScriptableRenderPass::<profilingSampler>k__BackingField
ProfilingSampler_t420D4672EDB44E0EF980B31ADFD9E5747200FECE* ___U3CprofilingSamplerU3Ek__BackingField_5;
// System.Boolean UnityEngine.Rendering.Universal.ScriptableRenderPass::<overrideCameraTarget>k__BackingField
bool ___U3CoverrideCameraTargetU3Ek__BackingField_6;
// System.Boolean UnityEngine.Rendering.Universal.ScriptableRenderPass::<isBlitRenderPass>k__BackingField
bool ___U3CisBlitRenderPassU3Ek__BackingField_7;
// System.Boolean UnityEngine.Rendering.Universal.ScriptableRenderPass::<useNativeRenderPass>k__BackingField
bool ___U3CuseNativeRenderPassU3Ek__BackingField_8;
// System.Int32 UnityEngine.Rendering.Universal.ScriptableRenderPass::<renderTargetWidth>k__BackingField
int32_t ___U3CrenderTargetWidthU3Ek__BackingField_9;
// System.Int32 UnityEngine.Rendering.Universal.ScriptableRenderPass::<renderTargetHeight>k__BackingField
int32_t ___U3CrenderTargetHeightU3Ek__BackingField_10;
// System.Int32 UnityEngine.Rendering.Universal.ScriptableRenderPass::<renderTargetSampleCount>k__BackingField
int32_t ___U3CrenderTargetSampleCountU3Ek__BackingField_11;
// System.Boolean UnityEngine.Rendering.Universal.ScriptableRenderPass::<depthOnly>k__BackingField
bool ___U3CdepthOnlyU3Ek__BackingField_12;
// System.Boolean UnityEngine.Rendering.Universal.ScriptableRenderPass::<isLastPass>k__BackingField
bool ___U3CisLastPassU3Ek__BackingField_13;
// System.Int32 UnityEngine.Rendering.Universal.ScriptableRenderPass::<renderPassQueueIndex>k__BackingField
int32_t ___U3CrenderPassQueueIndexU3Ek__BackingField_14;
// Unity.Collections.NativeArray`1<System.Int32> UnityEngine.Rendering.Universal.ScriptableRenderPass::m_ColorAttachmentIndices
NativeArray_1_tA833EB7E3E1C9AF82C37976AD964B8D4BAC38B2C ___m_ColorAttachmentIndices_15;
// Unity.Collections.NativeArray`1<System.Int32> UnityEngine.Rendering.Universal.ScriptableRenderPass::m_InputAttachmentIndices
NativeArray_1_tA833EB7E3E1C9AF82C37976AD964B8D4BAC38B2C ___m_InputAttachmentIndices_16;
// UnityEngine.Experimental.Rendering.GraphicsFormat[] UnityEngine.Rendering.Universal.ScriptableRenderPass::<renderTargetFormat>k__BackingField
GraphicsFormatU5BU5D_tF6A3D90C430FA3F548B77E5D58D25D71F154E6C5* ___U3CrenderTargetFormatU3Ek__BackingField_17;
// UnityEngine.Rendering.RenderTargetIdentifier[] UnityEngine.Rendering.Universal.ScriptableRenderPass::m_ColorAttachments
RenderTargetIdentifierU5BU5D_t179798C153B7CE381B41C57863F98CB24023C4CE* ___m_ColorAttachments_18;
// UnityEngine.Rendering.RenderTargetIdentifier[] UnityEngine.Rendering.Universal.ScriptableRenderPass::m_InputAttachments
RenderTargetIdentifierU5BU5D_t179798C153B7CE381B41C57863F98CB24023C4CE* ___m_InputAttachments_19;
// UnityEngine.Rendering.RenderTargetIdentifier UnityEngine.Rendering.Universal.ScriptableRenderPass::m_DepthAttachment
RenderTargetIdentifier_tA528663AC6EB3911D8E91AA40F7070FA5455442B ___m_DepthAttachment_20;
// UnityEngine.Rendering.Universal.ScriptableRenderPassInput UnityEngine.Rendering.Universal.ScriptableRenderPass::m_Input
int32_t ___m_Input_21;
// UnityEngine.Rendering.ClearFlag UnityEngine.Rendering.Universal.ScriptableRenderPass::m_ClearFlag
int32_t ___m_ClearFlag_22;
// UnityEngine.Color UnityEngine.Rendering.Universal.ScriptableRenderPass::m_ClearColor
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F ___m_ClearColor_23;
};
// UnityEngine.Rendering.Universal.ScriptableRendererFeature
struct ScriptableRendererFeature_tF2ED08AD2498105378D4DAB0386A0F8A144EF4C6 : public ScriptableObject_tB3BFDB921A1B1795B38A5417D3B97A89A140436A
{
// System.Boolean UnityEngine.Rendering.Universal.ScriptableRendererFeature::m_Active
bool ___m_Active_4;
};
// UnityEngine.Texture2D
struct Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4 : public Texture_t791CBB51219779964E0E8A2ED7C1AA5F92A4A700
{
};
// UnityEngine.Transform
struct Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1 : public Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3
{
};
// WaterSystem.WaterResources
struct WaterResources_t314516FE58A01D31093FF9936D7DA8F2D455EAAE : public ScriptableObject_tB3BFDB921A1B1795B38A5417D3B97A89A140436A
{
// UnityEngine.Texture2D WaterSystem.WaterResources::defaultFoamRamp
Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4* ___defaultFoamRamp_4;
// UnityEngine.Texture2D WaterSystem.WaterResources::defaultFoamMap
Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4* ___defaultFoamMap_5;
// UnityEngine.Texture2D WaterSystem.WaterResources::defaultSurfaceMap
Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4* ___defaultSurfaceMap_6;
// UnityEngine.Material WaterSystem.WaterResources::defaultSeaMaterial
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* ___defaultSeaMaterial_7;
// UnityEngine.Mesh[] WaterSystem.WaterResources::defaultWaterMeshes
MeshU5BU5D_t178CA36422FC397211E68FB7E39C5B2F95619689* ___defaultWaterMeshes_8;
};
// WaterSystem.Data.WaterSettingsData
struct WaterSettingsData_tE1FC3BFA899A42BE86438D0C1706008CEF83DBF2 : public ScriptableObject_tB3BFDB921A1B1795B38A5417D3B97A89A140436A
{
// WaterSystem.Data.GeometryType WaterSystem.Data.WaterSettingsData::waterGeomType
int32_t ___waterGeomType_4;
// WaterSystem.Data.ReflectionType WaterSystem.Data.WaterSettingsData::refType
int32_t ___refType_5;
// UnityEngine.Rendering.Universal.PlanarReflections/PlanarReflectionSettings WaterSystem.Data.WaterSettingsData::planarSettings
PlanarReflectionSettings_t933C0BB776407C4B49D2CE2FD8E60337F2B62731* ___planarSettings_6;
// UnityEngine.Cubemap WaterSystem.Data.WaterSettingsData::cubemapRefType
Cubemap_t4F2DFF70696A5CB5C1695DF8947CC60D718C4A1C* ___cubemapRefType_7;
// System.Boolean WaterSystem.Data.WaterSettingsData::isInfinite
bool ___isInfinite_8;
// UnityEngine.Vector4 WaterSystem.Data.WaterSettingsData::originOffset
Vector4_t58B63D32F48C0DBF50DE2C60794C4676C80EDBE3 ___originOffset_9;
};
// WaterSystem.Data.WaterSurfaceData
struct WaterSurfaceData_t69017B077D8A40D429E217EE688B9C5AE831D87B : public ScriptableObject_tB3BFDB921A1B1795B38A5417D3B97A89A140436A
{
// System.Single WaterSystem.Data.WaterSurfaceData::_waterMaxVisibility
float ____waterMaxVisibility_4;
// UnityEngine.Gradient WaterSystem.Data.WaterSurfaceData::_absorptionRamp
Gradient_tA7FEBE2FDB4929FFF6C997134841046F713DAC1E* ____absorptionRamp_5;
// UnityEngine.Gradient WaterSystem.Data.WaterSurfaceData::_scatterRamp
Gradient_tA7FEBE2FDB4929FFF6C997134841046F713DAC1E* ____scatterRamp_6;
// System.Collections.Generic.List`1<WaterSystem.Data.Wave> WaterSystem.Data.WaterSurfaceData::_waves
List_1_tBC238FE9E191BC345C4C774C9917EFB6D9B7F1CC* ____waves_7;
// System.Boolean WaterSystem.Data.WaterSurfaceData::_customWaves
bool ____customWaves_8;
// System.Int32 WaterSystem.Data.WaterSurfaceData::randomSeed
int32_t ___randomSeed_9;
// WaterSystem.Data.BasicWaves WaterSystem.Data.WaterSurfaceData::_basicWaveSettings
BasicWaves_tC7BCDF12B18FB4126AB8A0BCC8CD1DCC33156D96* ____basicWaveSettings_10;
// WaterSystem.Data.FoamSettings WaterSystem.Data.WaterSurfaceData::_foamSettings
FoamSettings_tAB393D4E610A9219CD0C021238F8A18B0839608E* ____foamSettings_11;
// System.Boolean WaterSystem.Data.WaterSurfaceData::_init
bool ____init_12;
};
// WaterSystem.GerstnerWavesJobs/HeightJob
struct HeightJob_t3CC067C0FFCCB359C83849C23293DD240CBC94EC
{
// Unity.Collections.NativeArray`1<WaterSystem.Data.Wave> WaterSystem.GerstnerWavesJobs/HeightJob::WaveData
NativeArray_1_t0464FD7138EE934F1A59B5BC60EDAF11CA8501A0 ___WaveData_0;
// Unity.Collections.NativeArray`1<Unity.Mathematics.float3> WaterSystem.GerstnerWavesJobs/HeightJob::Position
NativeArray_1_tEDE9DAD2CAE5954286BC0EF394A57ED0AC69FEE6 ___Position_1;
// Unity.Collections.NativeArray`1<Unity.Mathematics.float3> WaterSystem.GerstnerWavesJobs/HeightJob::OutPosition
NativeArray_1_tEDE9DAD2CAE5954286BC0EF394A57ED0AC69FEE6 ___OutPosition_2;
// Unity.Collections.NativeArray`1<Unity.Mathematics.float3> WaterSystem.GerstnerWavesJobs/HeightJob::OutNormal
NativeArray_1_tEDE9DAD2CAE5954286BC0EF394A57ED0AC69FEE6 ___OutNormal_3;
// System.Single WaterSystem.GerstnerWavesJobs/HeightJob::Time
float ___Time_4;
// Unity.Mathematics.int2 WaterSystem.GerstnerWavesJobs/HeightJob::OffsetLength
int2_tF4AC25F87943DC0B2BB3456B0B919B3B42A9432A ___OffsetLength_5;
};
// LocalToWorldJob/LocalToWorldConvertJob
struct LocalToWorldConvertJob_t267E7E07E36B323842ECCEE9BDF7151F14DA3C32
{
// Unity.Collections.NativeArray`1<Unity.Mathematics.float3> LocalToWorldJob/LocalToWorldConvertJob::PositionsWorld
NativeArray_1_tEDE9DAD2CAE5954286BC0EF394A57ED0AC69FEE6 ___PositionsWorld_0;
// UnityEngine.Matrix4x4 LocalToWorldJob/LocalToWorldConvertJob::Matrix
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 ___Matrix_1;
// Unity.Collections.NativeArray`1<Unity.Mathematics.float3> LocalToWorldJob/LocalToWorldConvertJob::PositionsLocal
NativeArray_1_tEDE9DAD2CAE5954286BC0EF394A57ED0AC69FEE6 ___PositionsLocal_2;
};
// System.ArgumentOutOfRangeException
struct ArgumentOutOfRangeException_tEA2822DAF62B10EEED00E0E3A341D4BAF78CF85F : public ArgumentException_tAD90411542A20A9C72D5CDA3A84181D8B947A263
{
// System.Object System.ArgumentOutOfRangeException::_actualValue
RuntimeObject* ____actualValue_19;
};
// UnityEngine.BoxCollider
struct BoxCollider_tFA5D239388334D6DE0B8FFDAD6825C5B03786E23 : public Collider_t1CC3163924FCD6C4CC2E816373A929C1E3D55E76
{
};
// UnityEngine.Camera
struct Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184 : public Behaviour_t01970CFBBA658497AE30F311C447DB0440BAB7FA
{
};
struct Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184_StaticFields
{
// UnityEngine.Camera/CameraCallback UnityEngine.Camera::onPreCull
CameraCallback_t844E527BFE37BC0495E7F67993E43C07642DA9DD* ___onPreCull_4;
// UnityEngine.Camera/CameraCallback UnityEngine.Camera::onPreRender
CameraCallback_t844E527BFE37BC0495E7F67993E43C07642DA9DD* ___onPreRender_5;
// UnityEngine.Camera/CameraCallback UnityEngine.Camera::onPostRender
CameraCallback_t844E527BFE37BC0495E7F67993E43C07642DA9DD* ___onPostRender_6;
};
// UnityEngine.Light
struct Light_t1E68479B7782AF2050FAA02A5DC612FD034F18F3 : public Behaviour_t01970CFBBA658497AE30F311C447DB0440BAB7FA
{
// System.Int32 UnityEngine.Light::m_BakedIndex
int32_t ___m_BakedIndex_4;
};
// UnityEngine.LightProbeProxyVolume
struct LightProbeProxyVolume_t431001CA94D2BB5DB419E2A89E7D8116E4E1B658 : public Behaviour_t01970CFBBA658497AE30F311C447DB0440BAB7FA
{
};
// UnityEngine.MonoBehaviour
struct MonoBehaviour_t532A11E69716D348D8AA7F854AFCBFCB8AD17F71 : public Behaviour_t01970CFBBA658497AE30F311C447DB0440BAB7FA
{
};
// UnityEngine.Rendering.Universal.RenderingData
struct RenderingData_tAAA01190551D6D5954314E3E1E85B58DD45EED71
{
// UnityEngine.Rendering.CullingResults UnityEngine.Rendering.Universal.RenderingData::cullResults
CullingResults_tD6B7EF20B68D47DFF3A99EB2EA73F47F1D460267 ___cullResults_0;
// UnityEngine.Rendering.Universal.CameraData UnityEngine.Rendering.Universal.RenderingData::cameraData
CameraData_tC27AE109CD20677486A4AC19C0CF014AE0F50C3E ___cameraData_1;
// UnityEngine.Rendering.Universal.LightData UnityEngine.Rendering.Universal.RenderingData::lightData
LightData_t6A82F1C9AA97327A5EE9C16A3E949918F3A55470 ___lightData_2;
// UnityEngine.Rendering.Universal.ShadowData UnityEngine.Rendering.Universal.RenderingData::shadowData
ShadowData_tA165FDF7CA4CE6BEA8B649FFAB91C59ED684D832 ___shadowData_3;
// UnityEngine.Rendering.Universal.PostProcessingData UnityEngine.Rendering.Universal.RenderingData::postProcessingData
PostProcessingData_tFA75BF22951C600258B2707AF7A113E4EDA49BD4 ___postProcessingData_4;
// System.Boolean UnityEngine.Rendering.Universal.RenderingData::supportsDynamicBatching
bool ___supportsDynamicBatching_5;
// UnityEngine.Rendering.PerObjectData UnityEngine.Rendering.Universal.RenderingData::perObjectData
int32_t ___perObjectData_6;
// System.Boolean UnityEngine.Rendering.Universal.RenderingData::postProcessingEnabled
bool ___postProcessingEnabled_7;
};
// Native definition for P/Invoke marshalling of UnityEngine.Rendering.Universal.RenderingData
struct RenderingData_tAAA01190551D6D5954314E3E1E85B58DD45EED71_marshaled_pinvoke
{
CullingResults_tD6B7EF20B68D47DFF3A99EB2EA73F47F1D460267 ___cullResults_0;
CameraData_tC27AE109CD20677486A4AC19C0CF014AE0F50C3E_marshaled_pinvoke ___cameraData_1;
LightData_t6A82F1C9AA97327A5EE9C16A3E949918F3A55470_marshaled_pinvoke ___lightData_2;
ShadowData_tA165FDF7CA4CE6BEA8B649FFAB91C59ED684D832_marshaled_pinvoke ___shadowData_3;
PostProcessingData_tFA75BF22951C600258B2707AF7A113E4EDA49BD4_marshaled_pinvoke ___postProcessingData_4;
int32_t ___supportsDynamicBatching_5;
int32_t ___perObjectData_6;
int32_t ___postProcessingEnabled_7;
};
// Native definition for COM marshalling of UnityEngine.Rendering.Universal.RenderingData
struct RenderingData_tAAA01190551D6D5954314E3E1E85B58DD45EED71_marshaled_com
{
CullingResults_tD6B7EF20B68D47DFF3A99EB2EA73F47F1D460267 ___cullResults_0;
CameraData_tC27AE109CD20677486A4AC19C0CF014AE0F50C3E_marshaled_com ___cameraData_1;
LightData_t6A82F1C9AA97327A5EE9C16A3E949918F3A55470_marshaled_com ___lightData_2;
ShadowData_tA165FDF7CA4CE6BEA8B649FFAB91C59ED684D832_marshaled_com ___shadowData_3;
PostProcessingData_tFA75BF22951C600258B2707AF7A113E4EDA49BD4_marshaled_com ___postProcessingData_4;
int32_t ___supportsDynamicBatching_5;
int32_t ___perObjectData_6;
int32_t ___postProcessingEnabled_7;
};
// UnityEngine.Rendering.Universal.ScriptableRenderer
struct ScriptableRenderer_tF15B95BB85F26BE4B4719901D909831B89DC8892 : public RuntimeObject
{
// System.Int32 UnityEngine.Rendering.Universal.ScriptableRenderer::m_LastBeginSubpassPassIndex
int32_t ___m_LastBeginSubpassPassIndex_2;
// System.Collections.Generic.Dictionary`2<UnityEngine.Hash128,System.Int32[]> UnityEngine.Rendering.Universal.ScriptableRenderer::m_MergeableRenderPassesMap
Dictionary_2_tCB9019887EB0254D4745B0724BC12327C5B63792* ___m_MergeableRenderPassesMap_3;
// System.Int32[][] UnityEngine.Rendering.Universal.ScriptableRenderer::m_MergeableRenderPassesMapArrays
Int32U5BU5DU5BU5D_t179D865D5B30EFCBC50F82C9774329C15943466E* ___m_MergeableRenderPassesMapArrays_4;
// UnityEngine.Hash128[] UnityEngine.Rendering.Universal.ScriptableRenderer::m_PassIndexToPassHash
Hash128U5BU5D_tB104E7247B842648E447B7FCF4748077DC1F8C98* ___m_PassIndexToPassHash_5;
// System.Collections.Generic.Dictionary`2<UnityEngine.Hash128,System.Int32> UnityEngine.Rendering.Universal.ScriptableRenderer::m_RenderPassesAttachmentCount
Dictionary_2_tB41FAC88F07BAB98D6D373F7C94FB0496D1BDA32* ___m_RenderPassesAttachmentCount_6;
// UnityEngine.Rendering.AttachmentDescriptor[] UnityEngine.Rendering.Universal.ScriptableRenderer::m_ActiveColorAttachmentDescriptors
AttachmentDescriptorU5BU5D_tC70107EBD955FE94BA31C7FDC146069EF9C547C1* ___m_ActiveColorAttachmentDescriptors_7;
// UnityEngine.Rendering.AttachmentDescriptor UnityEngine.Rendering.Universal.ScriptableRenderer::m_ActiveDepthAttachmentDescriptor
AttachmentDescriptor_tBAC9B26B50BB0838C5C0CC22BB296F9DFF41276E ___m_ActiveDepthAttachmentDescriptor_8;
// UnityEngine.Rendering.RenderBufferStoreAction[] UnityEngine.Rendering.Universal.ScriptableRenderer::m_FinalColorStoreAction
RenderBufferStoreActionU5BU5D_tFEA8F5DD460573EA9F35FBEC5727D1804C5DCBF5* ___m_FinalColorStoreAction_9;
// UnityEngine.Rendering.RenderBufferStoreAction UnityEngine.Rendering.Universal.ScriptableRenderer::m_FinalDepthStoreAction
int32_t ___m_FinalDepthStoreAction_10;
// UnityEngine.Rendering.ProfilingSampler UnityEngine.Rendering.Universal.ScriptableRenderer::<profilingExecute>k__BackingField
ProfilingSampler_t420D4672EDB44E0EF980B31ADFD9E5747200FECE* ___U3CprofilingExecuteU3Ek__BackingField_11;
// UnityEngine.Rendering.Universal.DebugHandler UnityEngine.Rendering.Universal.ScriptableRenderer::<DebugHandler>k__BackingField
DebugHandler_t3A09E2CFD1CA6F5C192968A6FF19EE4863F44DA4* ___U3CDebugHandlerU3Ek__BackingField_12;
// UnityEngine.Rendering.Universal.ScriptableRenderer/RenderingFeatures UnityEngine.Rendering.Universal.ScriptableRenderer::<supportedRenderingFeatures>k__BackingField
RenderingFeatures_t31044CBDCDC2F05194BFA2A2122FBD937D78A371* ___U3CsupportedRenderingFeaturesU3Ek__BackingField_14;
// UnityEngine.Rendering.GraphicsDeviceType[] UnityEngine.Rendering.Universal.ScriptableRenderer::<unsupportedGraphicsDeviceTypes>k__BackingField
GraphicsDeviceTypeU5BU5D_t4322565F239068C66BF47053B83BD6A9A9D16408* ___U3CunsupportedGraphicsDeviceTypesU3Ek__BackingField_15;
// UnityEngine.Rendering.Universal.StoreActionsOptimization UnityEngine.Rendering.Universal.ScriptableRenderer::m_StoreActionsOptimizationSetting
int32_t ___m_StoreActionsOptimizationSetting_16;
// System.Collections.Generic.List`1<UnityEngine.Rendering.Universal.ScriptableRenderPass> UnityEngine.Rendering.Universal.ScriptableRenderer::m_ActiveRenderPassQueue
List_1_t2E485E650BF1E41358CE56A69323E183C5A89CB6* ___m_ActiveRenderPassQueue_19;
// System.Collections.Generic.List`1<UnityEngine.Rendering.Universal.ScriptableRendererFeature> UnityEngine.Rendering.Universal.ScriptableRenderer::m_RendererFeatures
List_1_t2121653FB628940E808D105AD2C17E0F20AFB3A6* ___m_RendererFeatures_20;
// UnityEngine.Rendering.RenderTargetIdentifier UnityEngine.Rendering.Universal.ScriptableRenderer::m_CameraColorTarget
RenderTargetIdentifier_tA528663AC6EB3911D8E91AA40F7070FA5455442B ___m_CameraColorTarget_21;
// UnityEngine.Rendering.RenderTargetIdentifier UnityEngine.Rendering.Universal.ScriptableRenderer::m_CameraDepthTarget
RenderTargetIdentifier_tA528663AC6EB3911D8E91AA40F7070FA5455442B ___m_CameraDepthTarget_22;
// UnityEngine.Rendering.RenderTargetIdentifier UnityEngine.Rendering.Universal.ScriptableRenderer::m_CameraResolveTarget
RenderTargetIdentifier_tA528663AC6EB3911D8E91AA40F7070FA5455442B ___m_CameraResolveTarget_23;
// System.Boolean UnityEngine.Rendering.Universal.ScriptableRenderer::m_FirstTimeCameraColorTargetIsBound
bool ___m_FirstTimeCameraColorTargetIsBound_24;
// System.Boolean UnityEngine.Rendering.Universal.ScriptableRenderer::m_FirstTimeCameraDepthTargetIsBound
bool ___m_FirstTimeCameraDepthTargetIsBound_25;
// System.Boolean UnityEngine.Rendering.Universal.ScriptableRenderer::m_IsPipelineExecuting
bool ___m_IsPipelineExecuting_26;
// System.Boolean UnityEngine.Rendering.Universal.ScriptableRenderer::isCameraColorTargetValid
bool ___isCameraColorTargetValid_27;
// System.Boolean UnityEngine.Rendering.Universal.ScriptableRenderer::disableNativeRenderPassInFeatures
bool ___disableNativeRenderPassInFeatures_28;
// System.Boolean UnityEngine.Rendering.Universal.ScriptableRenderer::useRenderPassEnabled
bool ___useRenderPassEnabled_29;
// System.Boolean UnityEngine.Rendering.Universal.ScriptableRenderer::<useDepthPriming>k__BackingField
bool ___U3CuseDepthPrimingU3Ek__BackingField_37;
// System.Boolean UnityEngine.Rendering.Universal.ScriptableRenderer::<stripShadowsOffVariants>k__BackingField
bool ___U3CstripShadowsOffVariantsU3Ek__BackingField_38;
// System.Boolean UnityEngine.Rendering.Universal.ScriptableRenderer::<stripAdditionalLightOffVariants>k__BackingField
bool ___U3CstripAdditionalLightOffVariantsU3Ek__BackingField_39;
};
struct ScriptableRenderer_tF15B95BB85F26BE4B4719901D909831B89DC8892_StaticFields
{
// UnityEngine.Rendering.Universal.ScriptableRenderer UnityEngine.Rendering.Universal.ScriptableRenderer::current
ScriptableRenderer_tF15B95BB85F26BE4B4719901D909831B89DC8892* ___current_13;
// System.Boolean UnityEngine.Rendering.Universal.ScriptableRenderer::m_UseOptimizedStoreActions
bool ___m_UseOptimizedStoreActions_17;
// UnityEngine.Rendering.RenderTargetIdentifier[] UnityEngine.Rendering.Universal.ScriptableRenderer::m_ActiveColorAttachments
RenderTargetIdentifierU5BU5D_t179798C153B7CE381B41C57863F98CB24023C4CE* ___m_ActiveColorAttachments_30;
// UnityEngine.Rendering.RenderTargetIdentifier UnityEngine.Rendering.Universal.ScriptableRenderer::m_ActiveDepthAttachment
RenderTargetIdentifier_tA528663AC6EB3911D8E91AA40F7070FA5455442B ___m_ActiveDepthAttachment_31;
// UnityEngine.Rendering.RenderBufferStoreAction[] UnityEngine.Rendering.Universal.ScriptableRenderer::m_ActiveColorStoreActions
RenderBufferStoreActionU5BU5D_tFEA8F5DD460573EA9F35FBEC5727D1804C5DCBF5* ___m_ActiveColorStoreActions_32;
// UnityEngine.Rendering.RenderBufferStoreAction UnityEngine.Rendering.Universal.ScriptableRenderer::m_ActiveDepthStoreAction
int32_t ___m_ActiveDepthStoreAction_33;
// UnityEngine.Rendering.RenderTargetIdentifier[][] UnityEngine.Rendering.Universal.ScriptableRenderer::m_TrimmedColorAttachmentCopies
RenderTargetIdentifierU5BU5DU5BU5D_tDB35F8D017FE3AD8BB35E08E323074D47C5A10BB* ___m_TrimmedColorAttachmentCopies_34;
// UnityEngine.Plane[] UnityEngine.Rendering.Universal.ScriptableRenderer::s_Planes
PlaneU5BU5D_t4EEF66BAA8B0140EFFF34F6183CE7F80546592BE* ___s_Planes_35;
// UnityEngine.Vector4[] UnityEngine.Rendering.Universal.ScriptableRenderer::s_VectorPlanes
Vector4U5BU5D_tC0F3A7115F85007510F6D173968200CD31BCF7AD* ___s_VectorPlanes_36;
};
// UnityEngine.Rendering.Universal.UniversalRenderPipelineAsset
struct UniversalRenderPipelineAsset_tE8A9AA6F030CC3B558CEA2EB54FFF4FC58CA6232 : public RenderPipelineAsset_t5F9BF815BF931E1314B184E7F9070FB649C7054E
{
// UnityEngine.Shader UnityEngine.Rendering.Universal.UniversalRenderPipelineAsset::m_DefaultShader
Shader_tADC867D36B7876EE22427FAA2CE485105F4EE692* ___m_DefaultShader_4;
// UnityEngine.Rendering.Universal.ScriptableRenderer[] UnityEngine.Rendering.Universal.UniversalRenderPipelineAsset::m_Renderers
ScriptableRendererU5BU5D_t9B15C048BCE03A67E830F1C79989B6A3E43788E6* ___m_Renderers_5;
// System.Int32 UnityEngine.Rendering.Universal.UniversalRenderPipelineAsset::k_AssetVersion
int32_t ___k_AssetVersion_6;
// System.Int32 UnityEngine.Rendering.Universal.UniversalRenderPipelineAsset::k_AssetPreviousVersion
int32_t ___k_AssetPreviousVersion_7;
// UnityEngine.Rendering.Universal.RendererType UnityEngine.Rendering.Universal.UniversalRenderPipelineAsset::m_RendererType
int32_t ___m_RendererType_8;
// UnityEngine.Rendering.Universal.ScriptableRendererData UnityEngine.Rendering.Universal.UniversalRenderPipelineAsset::m_RendererData
ScriptableRendererData_t9005CE645D4881FA4431E52EDC7678203632CAA7* ___m_RendererData_9;
// UnityEngine.Rendering.Universal.ScriptableRendererData[] UnityEngine.Rendering.Universal.UniversalRenderPipelineAsset::m_RendererDataList
ScriptableRendererDataU5BU5D_tC674C147618C92B68DB64ECFDC847C8A941C6169* ___m_RendererDataList_10;
// System.Int32 UnityEngine.Rendering.Universal.UniversalRenderPipelineAsset::m_DefaultRendererIndex
int32_t ___m_DefaultRendererIndex_11;
// System.Boolean UnityEngine.Rendering.Universal.UniversalRenderPipelineAsset::m_RequireDepthTexture
bool ___m_RequireDepthTexture_12;
// System.Boolean UnityEngine.Rendering.Universal.UniversalRenderPipelineAsset::m_RequireOpaqueTexture
bool ___m_RequireOpaqueTexture_13;
// UnityEngine.Rendering.Universal.Downsampling UnityEngine.Rendering.Universal.UniversalRenderPipelineAsset::m_OpaqueDownsampling
int32_t ___m_OpaqueDownsampling_14;
// System.Boolean UnityEngine.Rendering.Universal.UniversalRenderPipelineAsset::m_SupportsTerrainHoles
bool ___m_SupportsTerrainHoles_15;
// UnityEngine.Rendering.Universal.StoreActionsOptimization UnityEngine.Rendering.Universal.UniversalRenderPipelineAsset::m_StoreActionsOptimization
int32_t ___m_StoreActionsOptimization_16;
// System.Boolean UnityEngine.Rendering.Universal.UniversalRenderPipelineAsset::m_SupportsHDR
bool ___m_SupportsHDR_17;
// UnityEngine.Rendering.Universal.MsaaQuality UnityEngine.Rendering.Universal.UniversalRenderPipelineAsset::m_MSAA
int32_t ___m_MSAA_18;
// System.Single UnityEngine.Rendering.Universal.UniversalRenderPipelineAsset::m_RenderScale
float ___m_RenderScale_19;
// UnityEngine.Rendering.Universal.LightRenderingMode UnityEngine.Rendering.Universal.UniversalRenderPipelineAsset::m_MainLightRenderingMode
int32_t ___m_MainLightRenderingMode_20;
// System.Boolean UnityEngine.Rendering.Universal.UniversalRenderPipelineAsset::m_MainLightShadowsSupported
bool ___m_MainLightShadowsSupported_21;
// UnityEngine.Rendering.Universal.ShadowResolution UnityEngine.Rendering.Universal.UniversalRenderPipelineAsset::m_MainLightShadowmapResolution
int32_t ___m_MainLightShadowmapResolution_22;
// UnityEngine.Rendering.Universal.LightRenderingMode UnityEngine.Rendering.Universal.UniversalRenderPipelineAsset::m_AdditionalLightsRenderingMode
int32_t ___m_AdditionalLightsRenderingMode_23;
// System.Int32 UnityEngine.Rendering.Universal.UniversalRenderPipelineAsset::m_AdditionalLightsPerObjectLimit
int32_t ___m_AdditionalLightsPerObjectLimit_24;
// System.Boolean UnityEngine.Rendering.Universal.UniversalRenderPipelineAsset::m_AdditionalLightShadowsSupported
bool ___m_AdditionalLightShadowsSupported_25;
// UnityEngine.Rendering.Universal.ShadowResolution UnityEngine.Rendering.Universal.UniversalRenderPipelineAsset::m_AdditionalLightsShadowmapResolution
int32_t ___m_AdditionalLightsShadowmapResolution_26;
// System.Int32 UnityEngine.Rendering.Universal.UniversalRenderPipelineAsset::m_AdditionalLightsShadowResolutionTierLow
int32_t ___m_AdditionalLightsShadowResolutionTierLow_27;
// System.Int32 UnityEngine.Rendering.Universal.UniversalRenderPipelineAsset::m_AdditionalLightsShadowResolutionTierMedium
int32_t ___m_AdditionalLightsShadowResolutionTierMedium_28;
// System.Int32 UnityEngine.Rendering.Universal.UniversalRenderPipelineAsset::m_AdditionalLightsShadowResolutionTierHigh
int32_t ___m_AdditionalLightsShadowResolutionTierHigh_29;
// System.Boolean UnityEngine.Rendering.Universal.UniversalRenderPipelineAsset::m_ReflectionProbeBlending
bool ___m_ReflectionProbeBlending_30;
// System.Boolean UnityEngine.Rendering.Universal.UniversalRenderPipelineAsset::m_ReflectionProbeBoxProjection
bool ___m_ReflectionProbeBoxProjection_31;
// System.Single UnityEngine.Rendering.Universal.UniversalRenderPipelineAsset::m_ShadowDistance
float ___m_ShadowDistance_32;
// System.Int32 UnityEngine.Rendering.Universal.UniversalRenderPipelineAsset::m_ShadowCascadeCount
int32_t ___m_ShadowCascadeCount_33;
// System.Single UnityEngine.Rendering.Universal.UniversalRenderPipelineAsset::m_Cascade2Split
float ___m_Cascade2Split_34;
// UnityEngine.Vector2 UnityEngine.Rendering.Universal.UniversalRenderPipelineAsset::m_Cascade3Split
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___m_Cascade3Split_35;
// UnityEngine.Vector3 UnityEngine.Rendering.Universal.UniversalRenderPipelineAsset::m_Cascade4Split
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___m_Cascade4Split_36;
// System.Single UnityEngine.Rendering.Universal.UniversalRenderPipelineAsset::m_CascadeBorder
float ___m_CascadeBorder_37;
// System.Single UnityEngine.Rendering.Universal.UniversalRenderPipelineAsset::m_ShadowDepthBias
float ___m_ShadowDepthBias_38;
// System.Single UnityEngine.Rendering.Universal.UniversalRenderPipelineAsset::m_ShadowNormalBias
float ___m_ShadowNormalBias_39;
// System.Boolean UnityEngine.Rendering.Universal.UniversalRenderPipelineAsset::m_SoftShadowsSupported
bool ___m_SoftShadowsSupported_40;
// System.Boolean UnityEngine.Rendering.Universal.UniversalRenderPipelineAsset::m_ConservativeEnclosingSphere
bool ___m_ConservativeEnclosingSphere_41;
// System.Int32 UnityEngine.Rendering.Universal.UniversalRenderPipelineAsset::m_NumIterationsEnclosingSphere
int32_t ___m_NumIterationsEnclosingSphere_42;
// UnityEngine.Rendering.Universal.LightCookieResolution UnityEngine.Rendering.Universal.UniversalRenderPipelineAsset::m_AdditionalLightsCookieResolution
int32_t ___m_AdditionalLightsCookieResolution_43;
// UnityEngine.Rendering.Universal.LightCookieFormat UnityEngine.Rendering.Universal.UniversalRenderPipelineAsset::m_AdditionalLightsCookieFormat
int32_t ___m_AdditionalLightsCookieFormat_44;
// System.Boolean UnityEngine.Rendering.Universal.UniversalRenderPipelineAsset::m_UseSRPBatcher
bool ___m_UseSRPBatcher_45;
// System.Boolean UnityEngine.Rendering.Universal.UniversalRenderPipelineAsset::m_SupportsDynamicBatching
bool ___m_SupportsDynamicBatching_46;
// System.Boolean UnityEngine.Rendering.Universal.UniversalRenderPipelineAsset::m_MixedLightingSupported
bool ___m_MixedLightingSupported_47;
// System.Boolean UnityEngine.Rendering.Universal.UniversalRenderPipelineAsset::m_SupportsLightLayers
bool ___m_SupportsLightLayers_48;
// UnityEngine.Rendering.Universal.PipelineDebugLevel UnityEngine.Rendering.Universal.UniversalRenderPipelineAsset::m_DebugLevel
int32_t ___m_DebugLevel_49;
// System.Boolean UnityEngine.Rendering.Universal.UniversalRenderPipelineAsset::m_UseAdaptivePerformance
bool ___m_UseAdaptivePerformance_50;
// UnityEngine.Rendering.Universal.ColorGradingMode UnityEngine.Rendering.Universal.UniversalRenderPipelineAsset::m_ColorGradingMode
int32_t ___m_ColorGradingMode_51;
// System.Int32 UnityEngine.Rendering.Universal.UniversalRenderPipelineAsset::m_ColorGradingLutSize
int32_t ___m_ColorGradingLutSize_52;
// System.Boolean UnityEngine.Rendering.Universal.UniversalRenderPipelineAsset::m_UseFastSRGBLinearConversion
bool ___m_UseFastSRGBLinearConversion_53;
// UnityEngine.Rendering.Universal.ShadowQuality UnityEngine.Rendering.Universal.UniversalRenderPipelineAsset::m_ShadowType
int32_t ___m_ShadowType_54;
// System.Boolean UnityEngine.Rendering.Universal.UniversalRenderPipelineAsset::m_LocalShadowsSupported
bool ___m_LocalShadowsSupported_55;
// UnityEngine.Rendering.Universal.ShadowResolution UnityEngine.Rendering.Universal.UniversalRenderPipelineAsset::m_LocalShadowsAtlasResolution
int32_t ___m_LocalShadowsAtlasResolution_56;
// System.Int32 UnityEngine.Rendering.Universal.UniversalRenderPipelineAsset::m_MaxPixelLights
int32_t ___m_MaxPixelLights_57;
// UnityEngine.Rendering.Universal.ShadowResolution UnityEngine.Rendering.Universal.UniversalRenderPipelineAsset::m_ShadowAtlasResolution
int32_t ___m_ShadowAtlasResolution_58;
// UnityEngine.Rendering.Universal.ShaderVariantLogLevel UnityEngine.Rendering.Universal.UniversalRenderPipelineAsset::m_ShaderVariantLogLevel
int32_t ___m_ShaderVariantLogLevel_59;
// UnityEngine.Rendering.Universal.VolumeFrameworkUpdateMode UnityEngine.Rendering.Universal.UniversalRenderPipelineAsset::m_VolumeFrameworkUpdateMode
int32_t ___m_VolumeFrameworkUpdateMode_60;
// UnityEngine.Rendering.Universal.ShadowCascadesOption UnityEngine.Rendering.Universal.UniversalRenderPipelineAsset::m_ShadowCascades
int32_t ___m_ShadowCascades_69;
};
struct UniversalRenderPipelineAsset_tE8A9AA6F030CC3B558CEA2EB54FFF4FC58CA6232_StaticFields
{
// System.Int32 UnityEngine.Rendering.Universal.UniversalRenderPipelineAsset::AdditionalLightsDefaultShadowResolutionTierLow
int32_t ___AdditionalLightsDefaultShadowResolutionTierLow_65;
// System.Int32 UnityEngine.Rendering.Universal.UniversalRenderPipelineAsset::AdditionalLightsDefaultShadowResolutionTierMedium
int32_t ___AdditionalLightsDefaultShadowResolutionTierMedium_66;
// System.Int32 UnityEngine.Rendering.Universal.UniversalRenderPipelineAsset::AdditionalLightsDefaultShadowResolutionTierHigh
int32_t ___AdditionalLightsDefaultShadowResolutionTierHigh_67;
// UnityEngine.Experimental.Rendering.GraphicsFormat[][] UnityEngine.Rendering.Universal.UniversalRenderPipelineAsset::s_LightCookieFormatList
GraphicsFormatU5BU5DU5BU5D_t1424BD937A890524D2A66FF39E61DEB0F10FE0A2* ___s_LightCookieFormatList_68;
};
// WaterSystem.WaterSystemFeature
struct WaterSystemFeature_t89B0192FA750BC0CDBEEB20341FA467A2FE8D098 : public ScriptableRendererFeature_tF2ED08AD2498105378D4DAB0386A0F8A144EF4C6
{
// WaterSystem.WaterSystemFeature/WaterFxPass WaterSystem.WaterSystemFeature::m_WaterFxPass
WaterFxPass_t7E07E3E2745F0FD3567D3CAB421FB44653884497* ___m_WaterFxPass_5;
// WaterSystem.WaterSystemFeature/WaterCausticsPass WaterSystem.WaterSystemFeature::m_CausticsPass
WaterCausticsPass_t922AB7DEF9518C198D2DF81EB7504248DB015F28* ___m_CausticsPass_6;
// WaterSystem.WaterSystemFeature/WaterSystemSettings WaterSystem.WaterSystemFeature::settings
WaterSystemSettings_tE1A03BEC806E79F355763506E93C356C0497BE8C* ___settings_7;
// UnityEngine.Shader WaterSystem.WaterSystemFeature::causticShader
Shader_tADC867D36B7876EE22427FAA2CE485105F4EE692* ___causticShader_8;
// UnityEngine.Texture2D WaterSystem.WaterSystemFeature::causticTexture
Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4* ___causticTexture_9;
// UnityEngine.Material WaterSystem.WaterSystemFeature::_causticMaterial
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* ____causticMaterial_10;
};
struct WaterSystemFeature_t89B0192FA750BC0CDBEEB20341FA467A2FE8D098_StaticFields
{
// System.Int32 WaterSystem.WaterSystemFeature::SrcBlend
int32_t ___SrcBlend_11;
// System.Int32 WaterSystem.WaterSystemFeature::DstBlend
int32_t ___DstBlend_12;
// System.Int32 WaterSystem.WaterSystemFeature::Size
int32_t ___Size_13;
// System.Int32 WaterSystem.WaterSystemFeature::CausticTexture
int32_t ___CausticTexture_14;
};
// LocalToWorldJob/TransformLocalToWorld
struct TransformLocalToWorld_tE67A70BFEDF4AF544F58C9F6A47CC3DB9D8387F3 : public RuntimeObject
{
// Unity.Collections.NativeArray`1<Unity.Mathematics.float3> LocalToWorldJob/TransformLocalToWorld::PositionsLocal
NativeArray_1_tEDE9DAD2CAE5954286BC0EF394A57ED0AC69FEE6 ___PositionsLocal_0;
// Unity.Collections.NativeArray`1<Unity.Mathematics.float3> LocalToWorldJob/TransformLocalToWorld::PositionsWorld
NativeArray_1_tEDE9DAD2CAE5954286BC0EF394A57ED0AC69FEE6 ___PositionsWorld_1;
// Unity.Jobs.JobHandle LocalToWorldJob/TransformLocalToWorld::Handle
JobHandle_t5DF5F99902FED3C801A81C05205CEA6CE039EF08 ___Handle_2;
// LocalToWorldJob/LocalToWorldConvertJob LocalToWorldJob/TransformLocalToWorld::Job
LocalToWorldConvertJob_t267E7E07E36B323842ECCEE9BDF7151F14DA3C32 ___Job_3;
// System.Boolean LocalToWorldJob/TransformLocalToWorld::Processing
bool ___Processing_4;
};
// WaterSystem.WaterSystemFeature/WaterCausticsPass
struct WaterCausticsPass_t922AB7DEF9518C198D2DF81EB7504248DB015F28 : public ScriptableRenderPass_tEA38F6C7AD8D111A2251E4C2A7530BCEE7D6D2B0
{
// UnityEngine.Rendering.ProfilingSampler WaterSystem.WaterSystemFeature/WaterCausticsPass::m_WaterCaustics_Profile
ProfilingSampler_t420D4672EDB44E0EF980B31ADFD9E5747200FECE* ___m_WaterCaustics_Profile_25;
// UnityEngine.Material WaterSystem.WaterSystemFeature/WaterCausticsPass::WaterCausticMaterial
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* ___WaterCausticMaterial_26;
};
struct WaterCausticsPass_t922AB7DEF9518C198D2DF81EB7504248DB015F28_StaticFields
{
// UnityEngine.Mesh WaterSystem.WaterSystemFeature/WaterCausticsPass::m_mesh
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* ___m_mesh_27;
};
// WaterSystem.WaterSystemFeature/WaterFxPass
struct WaterFxPass_t7E07E3E2745F0FD3567D3CAB421FB44653884497 : public ScriptableRenderPass_tEA38F6C7AD8D111A2251E4C2A7530BCEE7D6D2B0
{
// UnityEngine.Rendering.ProfilingSampler WaterSystem.WaterSystemFeature/WaterFxPass::m_WaterFX_Profile
ProfilingSampler_t420D4672EDB44E0EF980B31ADFD9E5747200FECE* ___m_WaterFX_Profile_25;
// UnityEngine.Rendering.ShaderTagId WaterSystem.WaterSystemFeature/WaterFxPass::m_WaterFXShaderTag
ShaderTagId_t453E2085B5EE9448FF75E550CAB111EFF690ECB0 ___m_WaterFXShaderTag_26;
// UnityEngine.Color WaterSystem.WaterSystemFeature/WaterFxPass::m_ClearColor
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F ___m_ClearColor_27;
// UnityEngine.Rendering.FilteringSettings WaterSystem.WaterSystemFeature/WaterFxPass::m_FilteringSettings
FilteringSettings_t75860B12A7BCF9A0E2F13CB2C2E5DCD9E1EEAD9F ___m_FilteringSettings_28;
// UnityEngine.Rendering.Universal.RenderTargetHandle WaterSystem.WaterSystemFeature/WaterFxPass::m_WaterFX
RenderTargetHandle_tB5C2670041BF377223D41FDF9290F6D8BFB7BA66 ___m_WaterFX_29;
};
// WaterSystem.BuoyantObject
struct BuoyantObject_t8611DAACF74D9E88F389659A4E68C8DBF6226F50 : public MonoBehaviour_t532A11E69716D348D8AA7F854AFCBFCB8AD17F71
{
// WaterSystem.BuoyantObject/BuoyancyType WaterSystem.BuoyantObject::_buoyancyType
int32_t ____buoyancyType_4;
// System.Single WaterSystem.BuoyantObject::density
float ___density_5;
// System.Single WaterSystem.BuoyantObject::volume
float ___volume_6;
// System.Single WaterSystem.BuoyantObject::voxelResolution
float ___voxelResolution_7;
// UnityEngine.Bounds WaterSystem.BuoyantObject::_voxelBounds
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 ____voxelBounds_8;
// UnityEngine.Vector3 WaterSystem.BuoyantObject::centerOfMass
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___centerOfMass_9;
// System.Single WaterSystem.BuoyantObject::waterLevelOffset
float ___waterLevelOffset_10;
// System.Single WaterSystem.BuoyantObject::_baseDrag
float ____baseDrag_13;
// System.Single WaterSystem.BuoyantObject::_baseAngularDrag
float ____baseAngularDrag_14;
// System.Int32 WaterSystem.BuoyantObject::_guid
int32_t ____guid_15;
// Unity.Mathematics.float3 WaterSystem.BuoyantObject::_localArchimedesForce
float3_t4AB5D88249ADB24F69FFD0793E8ED25E1CC3745E ____localArchimedesForce_16;
// UnityEngine.Vector3[] WaterSystem.BuoyantObject::_voxels
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* ____voxels_17;
// Unity.Collections.NativeArray`1<Unity.Mathematics.float3> WaterSystem.BuoyantObject::_samplePoints
NativeArray_1_tEDE9DAD2CAE5954286BC0EF394A57ED0AC69FEE6 ____samplePoints_18;
// Unity.Mathematics.float3[] WaterSystem.BuoyantObject::Heights
float3U5BU5D_t94C1DF28FA7E0FA017D0C77B720D9FF3519E0D45* ___Heights_19;
// Unity.Mathematics.float3[] WaterSystem.BuoyantObject::_normals
float3U5BU5D_t94C1DF28FA7E0FA017D0C77B720D9FF3519E0D45* ____normals_20;
// Unity.Mathematics.float3[] WaterSystem.BuoyantObject::_velocity
float3U5BU5D_t94C1DF28FA7E0FA017D0C77B720D9FF3519E0D45* ____velocity_21;
// UnityEngine.Collider[] WaterSystem.BuoyantObject::colliders
ColliderU5BU5D_t94A9D70F63D095AFF2A9B4613012A5F7F3141787* ___colliders_22;
// UnityEngine.Rigidbody WaterSystem.BuoyantObject::_rb
Rigidbody_t268697F5A994213ED97393309870968BC1C7393C* ____rb_23;
// WaterSystem.BuoyantObject/DebugDrawing[] WaterSystem.BuoyantObject::_debugInfo
DebugDrawingU5BU5D_t04C7DD1A501E3860BAC818512BC651716CD4C4FC* ____debugInfo_24;
// System.Single WaterSystem.BuoyantObject::PercentSubmerged
float ___PercentSubmerged_25;
};
// WaterSystem.MainCameraAlign
struct MainCameraAlign_t11B7356BD1B1AD52E277FC0BAE1A4BAD92903D12 : public MonoBehaviour_t532A11E69716D348D8AA7F854AFCBFCB8AD17F71
{
// System.Single WaterSystem.MainCameraAlign::quantizeValue
float ___quantizeValue_4;
// System.Single WaterSystem.MainCameraAlign::forwards
float ___forwards_5;
// System.Single WaterSystem.MainCameraAlign::yOffset
float ___yOffset_6;
};
// UnityEngine.Rendering.Universal.PlanarReflections
struct PlanarReflections_t89C378C054F8113CB465D2A27E38FCC4F4B9F169 : public MonoBehaviour_t532A11E69716D348D8AA7F854AFCBFCB8AD17F71
{
// UnityEngine.Rendering.Universal.PlanarReflections/PlanarReflectionSettings UnityEngine.Rendering.Universal.PlanarReflections::m_settings
PlanarReflectionSettings_t933C0BB776407C4B49D2CE2FD8E60337F2B62731* ___m_settings_4;
// UnityEngine.GameObject UnityEngine.Rendering.Universal.PlanarReflections::target
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* ___target_5;
// System.Single UnityEngine.Rendering.Universal.PlanarReflections::m_planeOffset
float ___m_planeOffset_6;
// UnityEngine.RenderTexture UnityEngine.Rendering.Universal.PlanarReflections::_reflectionTexture
RenderTexture_tBA90C4C3AD9EECCFDDCC632D97C29FAB80D60D27* ____reflectionTexture_8;
// System.Int32 UnityEngine.Rendering.Universal.PlanarReflections::_planarReflectionTextureId
int32_t ____planarReflectionTextureId_9;
// Unity.Mathematics.int2 UnityEngine.Rendering.Universal.PlanarReflections::_oldReflectionTextureSize
int2_tF4AC25F87943DC0B2BB3456B0B919B3B42A9432A ____oldReflectionTextureSize_10;
};
struct PlanarReflections_t89C378C054F8113CB465D2A27E38FCC4F4B9F169_StaticFields
{
// UnityEngine.Camera UnityEngine.Rendering.Universal.PlanarReflections::_reflectionCamera
Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184* ____reflectionCamera_7;
// System.Action`2<UnityEngine.Rendering.ScriptableRenderContext,UnityEngine.Camera> UnityEngine.Rendering.Universal.PlanarReflections::BeginPlanarReflections
Action_2_t8E07914D7090FF200FE84404EEEFAF3CE183C9F3* ___BeginPlanarReflections_11;
};
// UnityEngine.Rendering.Universal.UniversalAdditionalCameraData
struct UniversalAdditionalCameraData_t57B5D0F93C2D506E618E23187302C0FADE813B93 : public MonoBehaviour_t532A11E69716D348D8AA7F854AFCBFCB8AD17F71
{
// System.Boolean UnityEngine.Rendering.Universal.UniversalAdditionalCameraData::m_RenderShadows
bool ___m_RenderShadows_8;
// UnityEngine.Rendering.Universal.CameraOverrideOption UnityEngine.Rendering.Universal.UniversalAdditionalCameraData::m_RequiresDepthTextureOption
int32_t ___m_RequiresDepthTextureOption_9;
// UnityEngine.Rendering.Universal.CameraOverrideOption UnityEngine.Rendering.Universal.UniversalAdditionalCameraData::m_RequiresOpaqueTextureOption
int32_t ___m_RequiresOpaqueTextureOption_10;
// UnityEngine.Rendering.Universal.CameraRenderType UnityEngine.Rendering.Universal.UniversalAdditionalCameraData::m_CameraType
int32_t ___m_CameraType_11;
// System.Collections.Generic.List`1<UnityEngine.Camera> UnityEngine.Rendering.Universal.UniversalAdditionalCameraData::m_Cameras
List_1_tD2FA3273746E404D72561E8324608D18B52B533E* ___m_Cameras_12;
// System.Int32 UnityEngine.Rendering.Universal.UniversalAdditionalCameraData::m_RendererIndex
int32_t ___m_RendererIndex_13;
// UnityEngine.LayerMask UnityEngine.Rendering.Universal.UniversalAdditionalCameraData::m_VolumeLayerMask
LayerMask_t97CB6BDADEDC3D6423C7BCFEA7F86DA2EC6241DB ___m_VolumeLayerMask_14;
// UnityEngine.Transform UnityEngine.Rendering.Universal.UniversalAdditionalCameraData::m_VolumeTrigger
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___m_VolumeTrigger_15;
// UnityEngine.Rendering.Universal.VolumeFrameworkUpdateMode UnityEngine.Rendering.Universal.UniversalAdditionalCameraData::m_VolumeFrameworkUpdateModeOption
int32_t ___m_VolumeFrameworkUpdateModeOption_16;
// System.Boolean UnityEngine.Rendering.Universal.UniversalAdditionalCameraData::m_RenderPostProcessing
bool ___m_RenderPostProcessing_17;
// UnityEngine.Rendering.Universal.AntialiasingMode UnityEngine.Rendering.Universal.UniversalAdditionalCameraData::m_Antialiasing
int32_t ___m_Antialiasing_18;
// UnityEngine.Rendering.Universal.AntialiasingQuality UnityEngine.Rendering.Universal.UniversalAdditionalCameraData::m_AntialiasingQuality
int32_t ___m_AntialiasingQuality_19;
// System.Boolean UnityEngine.Rendering.Universal.UniversalAdditionalCameraData::m_StopNaN
bool ___m_StopNaN_20;
// System.Boolean UnityEngine.Rendering.Universal.UniversalAdditionalCameraData::m_Dithering
bool ___m_Dithering_21;
// System.Boolean UnityEngine.Rendering.Universal.UniversalAdditionalCameraData::m_ClearDepth
bool ___m_ClearDepth_22;
// System.Boolean UnityEngine.Rendering.Universal.UniversalAdditionalCameraData::m_AllowXRRendering
bool ___m_AllowXRRendering_23;
// UnityEngine.Camera UnityEngine.Rendering.Universal.UniversalAdditionalCameraData::m_Camera
Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184* ___m_Camera_24;
// System.Boolean UnityEngine.Rendering.Universal.UniversalAdditionalCameraData::m_RequiresDepthTexture
bool ___m_RequiresDepthTexture_25;
// System.Boolean UnityEngine.Rendering.Universal.UniversalAdditionalCameraData::m_RequiresColorTexture
bool ___m_RequiresColorTexture_26;
// System.Single UnityEngine.Rendering.Universal.UniversalAdditionalCameraData::m_Version
float ___m_Version_27;
// UnityEngine.Rendering.VolumeStack UnityEngine.Rendering.Universal.UniversalAdditionalCameraData::m_VolumeStack
VolumeStack_t5DE94743BDB63D97EF5587DBDAE46468233F36E8* ___m_VolumeStack_29;
};
struct UniversalAdditionalCameraData_t57B5D0F93C2D506E618E23187302C0FADE813B93_StaticFields
{
// UnityEngine.Rendering.Universal.UniversalAdditionalCameraData UnityEngine.Rendering.Universal.UniversalAdditionalCameraData::s_DefaultAdditionalCameraData
UniversalAdditionalCameraData_t57B5D0F93C2D506E618E23187302C0FADE813B93* ___s_DefaultAdditionalCameraData_28;
};
// WaterSystem.Water
struct Water_t8D0105147A62029CB3B0497FE968F18E33C3D319 : public MonoBehaviour_t532A11E69716D348D8AA7F854AFCBFCB8AD17F71
{
// UnityEngine.Rendering.Universal.PlanarReflections WaterSystem.Water::_planarReflections
PlanarReflections_t89C378C054F8113CB465D2A27E38FCC4F4B9F169* ____planarReflections_5;
// System.Boolean WaterSystem.Water::_useComputeBuffer
bool ____useComputeBuffer_6;
// System.Boolean WaterSystem.Water::computeOverride
bool ___computeOverride_7;
// UnityEngine.RenderTexture WaterSystem.Water::_depthTex
RenderTexture_tBA90C4C3AD9EECCFDDCC632D97C29FAB80D60D27* ____depthTex_8;
// UnityEngine.Texture WaterSystem.Water::bakedDepthTex
Texture_t791CBB51219779964E0E8A2ED7C1AA5F92A4A700* ___bakedDepthTex_9;
// UnityEngine.Camera WaterSystem.Water::_depthCam
Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184* ____depthCam_10;
// UnityEngine.Texture2D WaterSystem.Water::_rampTexture
Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4* ____rampTexture_11;
// WaterSystem.Data.Wave[] WaterSystem.Water::_waves
WaveU5BU5D_t464305B39C1E1AA8D0E58528BC0562C10AB70BC5* ____waves_12;
// UnityEngine.ComputeBuffer WaterSystem.Water::waveBuffer
ComputeBuffer_t51EADA9015EBCC1B982C5584E9AB2734415A8233* ___waveBuffer_13;
// System.Single WaterSystem.Water::_maxWaveHeight
float ____maxWaveHeight_14;
// System.Single WaterSystem.Water::_waveHeight
float ____waveHeight_15;
// WaterSystem.Data.WaterSettingsData WaterSystem.Water::settingsData
WaterSettingsData_tE1FC3BFA899A42BE86438D0C1706008CEF83DBF2* ___settingsData_16;
// WaterSystem.Data.WaterSurfaceData WaterSystem.Water::surfaceData
WaterSurfaceData_t69017B077D8A40D429E217EE688B9C5AE831D87B* ___surfaceData_17;
// WaterSystem.WaterResources WaterSystem.Water::resources
WaterResources_t314516FE58A01D31093FF9936D7DA8F2D455EAAE* ___resources_18;
};
struct Water_t8D0105147A62029CB3B0497FE968F18E33C3D319_StaticFields
{
// WaterSystem.Water WaterSystem.Water::_instance
Water_t8D0105147A62029CB3B0497FE968F18E33C3D319* ____instance_4;
// System.Int32 WaterSystem.Water::CameraRoll
int32_t ___CameraRoll_19;
// System.Int32 WaterSystem.Water::InvViewProjection
int32_t ___InvViewProjection_20;
// System.Int32 WaterSystem.Water::WaterDepthMap
int32_t ___WaterDepthMap_21;
// System.Int32 WaterSystem.Water::FoamMap
int32_t ___FoamMap_22;
// System.Int32 WaterSystem.Water::SurfaceMap
int32_t ___SurfaceMap_23;
// System.Int32 WaterSystem.Water::WaveHeight
int32_t ___WaveHeight_24;
// System.Int32 WaterSystem.Water::MaxWaveHeight
int32_t ___MaxWaveHeight_25;
// System.Int32 WaterSystem.Water::MaxDepth
int32_t ___MaxDepth_26;
// System.Int32 WaterSystem.Water::WaveCount
int32_t ___WaveCount_27;
// System.Int32 WaterSystem.Water::CubemapTexture
int32_t ___CubemapTexture_28;
// System.Int32 WaterSystem.Water::WaveDataBuffer
int32_t ___WaveDataBuffer_29;
// System.Int32 WaterSystem.Water::WaveData
int32_t ___WaveData_30;
// System.Int32 WaterSystem.Water::AbsorptionScatteringRamp
int32_t ___AbsorptionScatteringRamp_31;
// System.Int32 WaterSystem.Water::DepthCamZParams
int32_t ___DepthCamZParams_32;
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
// UnityEngine.Vector3[]
struct Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C : public RuntimeArray
{
ALIGN_FIELD (8) Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 m_Items[1];
inline Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
}
inline Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 value)
{
m_Items[index] = value;
}
};
// System.Type[]
struct TypeU5BU5D_t97234E1129B564EB38B8D85CAC2AD8B5B9522FFB : public RuntimeArray
{
ALIGN_FIELD (8) Type_t* m_Items[1];
inline Type_t* GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline Type_t** GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, Type_t* value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
inline Type_t* GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline Type_t** GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, Type_t* value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
};
// WaterSystem.BuoyantObject/DebugDrawing[]
struct DebugDrawingU5BU5D_t04C7DD1A501E3860BAC818512BC651716CD4C4FC : public RuntimeArray
{
ALIGN_FIELD (8) DebugDrawing_tFCBD1BABEC150B3A913A22E422BF3B9BC8810B0B m_Items[1];
inline DebugDrawing_tFCBD1BABEC150B3A913A22E422BF3B9BC8810B0B GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline DebugDrawing_tFCBD1BABEC150B3A913A22E422BF3B9BC8810B0B* GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, DebugDrawing_tFCBD1BABEC150B3A913A22E422BF3B9BC8810B0B value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
}
inline DebugDrawing_tFCBD1BABEC150B3A913A22E422BF3B9BC8810B0B GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline DebugDrawing_tFCBD1BABEC150B3A913A22E422BF3B9BC8810B0B* GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, DebugDrawing_tFCBD1BABEC150B3A913A22E422BF3B9BC8810B0B value)
{
m_Items[index] = value;
}
};
// Unity.Mathematics.float3[]
struct float3U5BU5D_t94C1DF28FA7E0FA017D0C77B720D9FF3519E0D45 : public RuntimeArray
{
ALIGN_FIELD (8) float3_t4AB5D88249ADB24F69FFD0793E8ED25E1CC3745E m_Items[1];
inline float3_t4AB5D88249ADB24F69FFD0793E8ED25E1CC3745E GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline float3_t4AB5D88249ADB24F69FFD0793E8ED25E1CC3745E* GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, float3_t4AB5D88249ADB24F69FFD0793E8ED25E1CC3745E value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
}
inline float3_t4AB5D88249ADB24F69FFD0793E8ED25E1CC3745E GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline float3_t4AB5D88249ADB24F69FFD0793E8ED25E1CC3745E* GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, float3_t4AB5D88249ADB24F69FFD0793E8ED25E1CC3745E value)
{
m_Items[index] = value;
}
};
// UnityEngine.Collider[]
struct ColliderU5BU5D_t94A9D70F63D095AFF2A9B4613012A5F7F3141787 : public RuntimeArray
{
ALIGN_FIELD (8) Collider_t1CC3163924FCD6C4CC2E816373A929C1E3D55E76* m_Items[1];
inline Collider_t1CC3163924FCD6C4CC2E816373A929C1E3D55E76* GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline Collider_t1CC3163924FCD6C4CC2E816373A929C1E3D55E76** GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, Collider_t1CC3163924FCD6C4CC2E816373A929C1E3D55E76* value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
inline Collider_t1CC3163924FCD6C4CC2E816373A929C1E3D55E76* GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline Collider_t1CC3163924FCD6C4CC2E816373A929C1E3D55E76** GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, Collider_t1CC3163924FCD6C4CC2E816373A929C1E3D55E76* value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
};
// WaterSystem.Data.Wave[]
struct WaveU5BU5D_t464305B39C1E1AA8D0E58528BC0562C10AB70BC5 : public RuntimeArray
{
ALIGN_FIELD (8) Wave_t98FB676A74FA3481325B501BF6AFA3A4B02D64CB m_Items[1];
inline Wave_t98FB676A74FA3481325B501BF6AFA3A4B02D64CB GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline Wave_t98FB676A74FA3481325B501BF6AFA3A4B02D64CB* GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, Wave_t98FB676A74FA3481325B501BF6AFA3A4B02D64CB value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
}
inline Wave_t98FB676A74FA3481325B501BF6AFA3A4B02D64CB GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline Wave_t98FB676A74FA3481325B501BF6AFA3A4B02D64CB* GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, Wave_t98FB676A74FA3481325B501BF6AFA3A4B02D64CB value)
{
m_Items[index] = value;
}
};
// System.Int32[]
struct Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C : public RuntimeArray
{
ALIGN_FIELD (8) int32_t m_Items[1];
inline int32_t GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline int32_t* GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, int32_t value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
}
inline int32_t GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline int32_t* GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, int32_t value)
{
m_Items[index] = value;
}
};
// UnityEngine.Mesh[]
struct MeshU5BU5D_t178CA36422FC397211E68FB7E39C5B2F95619689 : public RuntimeArray
{
ALIGN_FIELD (8) Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* m_Items[1];
inline Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4** GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
inline Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4** GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
};
// UnityEngine.Vector4[]
struct Vector4U5BU5D_tC0F3A7115F85007510F6D173968200CD31BCF7AD : public RuntimeArray
{
ALIGN_FIELD (8) Vector4_t58B63D32F48C0DBF50DE2C60794C4676C80EDBE3 m_Items[1];
inline Vector4_t58B63D32F48C0DBF50DE2C60794C4676C80EDBE3 GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline Vector4_t58B63D32F48C0DBF50DE2C60794C4676C80EDBE3* GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, Vector4_t58B63D32F48C0DBF50DE2C60794C4676C80EDBE3 value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
}
inline Vector4_t58B63D32F48C0DBF50DE2C60794C4676C80EDBE3 GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline Vector4_t58B63D32F48C0DBF50DE2C60794C4676C80EDBE3* GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, Vector4_t58B63D32F48C0DBF50DE2C60794C4676C80EDBE3 value)
{
m_Items[index] = value;
}
};
// UnityEngine.Color[]
struct ColorU5BU5D_t612261CF293F6FFC3D80AB52259FF0DC2B2CC389 : public RuntimeArray
{
ALIGN_FIELD (8) Color_tD001788D726C3A7F1379BEED0260B9591F440C1F m_Items[1];
inline Color_tD001788D726C3A7F1379BEED0260B9591F440C1F GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline Color_tD001788D726C3A7F1379BEED0260B9591F440C1F* GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, Color_tD001788D726C3A7F1379BEED0260B9591F440C1F value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
}
inline Color_tD001788D726C3A7F1379BEED0260B9591F440C1F GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline Color_tD001788D726C3A7F1379BEED0260B9591F440C1F* GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, Color_tD001788D726C3A7F1379BEED0260B9591F440C1F value)
{
m_Items[index] = value;
}
};
// UnityEngine.Keyframe[]
struct KeyframeU5BU5D_t63250A46914A6A07B2A6689850D47D7D19D80BA3 : public RuntimeArray
{
ALIGN_FIELD (8) Keyframe_tB9C67DCBFE10C0AE9C52CB5C66E944255C9254F0 m_Items[1];
inline Keyframe_tB9C67DCBFE10C0AE9C52CB5C66E944255C9254F0 GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline Keyframe_tB9C67DCBFE10C0AE9C52CB5C66E944255C9254F0* GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, Keyframe_tB9C67DCBFE10C0AE9C52CB5C66E944255C9254F0 value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
}
inline Keyframe_tB9C67DCBFE10C0AE9C52CB5C66E944255C9254F0 GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline Keyframe_tB9C67DCBFE10C0AE9C52CB5C66E944255C9254F0* GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, Keyframe_tB9C67DCBFE10C0AE9C52CB5C66E944255C9254F0 value)
{
m_Items[index] = value;
}
};
// System.Void Unity.Collections.NativeArray`1<Unity.Mathematics.float3>::.ctor(System.Int32,Unity.Collections.Allocator,Unity.Collections.NativeArrayOptions)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NativeArray_1__ctor_m965B9BE6DD806F31A767FF7CB33BEA509B7C90D7_gshared (NativeArray_1_tEDE9DAD2CAE5954286BC0EF394A57ED0AC69FEE6* __this, int32_t ___length0, int32_t ___allocator1, int32_t ___options2, const RuntimeMethod* method) ;
// System.Void System.Collections.Generic.Dictionary`2<System.Int32,System.Object>::Add(TKey,TValue)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Dictionary_2_Add_mAF1EF7DA16BD70E252EA5C4B0F74DE519A02CBCD_gshared (Dictionary_2_tA75D1125AC9BE8F005BA9B868B373398E643C907* __this, int32_t ___key0, RuntimeObject* ___value1, const RuntimeMethod* method) ;
// TValue System.Collections.Generic.Dictionary`2<System.Int32,System.Object>::get_Item(TKey)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* Dictionary_2_get_Item_mC3FEA647E750C27367C990777D8890E0E712E514_gshared (Dictionary_2_tA75D1125AC9BE8F005BA9B868B373398E643C907* __this, int32_t ___key0, const RuntimeMethod* method) ;
// Unity.Jobs.JobHandle Unity.Jobs.IJobExtensions::Schedule<LocalToWorldJob/LocalToWorldConvertJob>(T,Unity.Jobs.JobHandle)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR JobHandle_t5DF5F99902FED3C801A81C05205CEA6CE039EF08 IJobExtensions_Schedule_TisLocalToWorldConvertJob_t267E7E07E36B323842ECCEE9BDF7151F14DA3C32_mA6B690E4A41503DD87FD1108179FE13DEF564F93_gshared (LocalToWorldConvertJob_t267E7E07E36B323842ECCEE9BDF7151F14DA3C32 ___jobData0, JobHandle_t5DF5F99902FED3C801A81C05205CEA6CE039EF08 ___dependsOn1, const RuntimeMethod* method) ;
// System.Boolean System.Collections.Generic.Dictionary`2<System.Int32,System.Object>::ContainsKey(TKey)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Dictionary_2_ContainsKey_mED5C451F158CDDD2B3F4B0720CD248DA9DB27B25_gshared (Dictionary_2_tA75D1125AC9BE8F005BA9B868B373398E643C907* __this, int32_t ___key0, const RuntimeMethod* method) ;
// System.Void Unity.Collections.NativeArray`1<Unity.Mathematics.float3>::Dispose()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NativeArray_1_Dispose_mE40D457AF008BEE531917D94D3A83296CCF8906C_gshared (NativeArray_1_tEDE9DAD2CAE5954286BC0EF394A57ED0AC69FEE6* __this, const RuntimeMethod* method) ;
// System.Boolean System.Collections.Generic.Dictionary`2<System.Int32,System.Object>::Remove(TKey)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Dictionary_2_Remove_m12BAB2F82E34CAA21A7245AB61E48F106340C1A4_gshared (Dictionary_2_tA75D1125AC9BE8F005BA9B868B373398E643C907* __this, int32_t ___key0, const RuntimeMethod* method) ;
// System.Void System.Collections.Generic.Dictionary`2<System.Int32,System.Object>::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Dictionary_2__ctor_m92E9AB321FBD7147CA109C822D99C8B0610C27B7_gshared (Dictionary_2_tA75D1125AC9BE8F005BA9B868B373398E643C907* __this, const RuntimeMethod* method) ;
// System.Void System.Action`2<UnityEngine.Rendering.ScriptableRenderContext,System.Object>::.ctor(System.Object,System.IntPtr)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Action_2__ctor_m80999490097638177C6B639CEA321424D5BB0991_gshared (Action_2_t38DEBB6BD6AE1CA882236F63F7E1DB3781D38994* __this, RuntimeObject* ___object0, intptr_t ___method1, const RuntimeMethod* method) ;
// System.Boolean UnityEngine.GameObject::TryGetComponent<System.Object>(T&)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool GameObject_TryGetComponent_TisRuntimeObject_m4D430300D2DFB9276DE980D78F60A05D271D3630_gshared (GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* __this, RuntimeObject** ___component0, const RuntimeMethod* method) ;
// T UnityEngine.GameObject::GetComponent<System.Object>()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* GameObject_GetComponent_TisRuntimeObject_m6EAED4AA356F0F48288F67899E5958792395563B_gshared (GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* __this, const RuntimeMethod* method) ;
// System.Void System.Action`2<UnityEngine.Rendering.ScriptableRenderContext,System.Object>::Invoke(T1,T2)
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Action_2_Invoke_m75E23BAD5C95C6003991F85C738C496DD7C42794_gshared_inline (Action_2_t38DEBB6BD6AE1CA882236F63F7E1DB3781D38994* __this, ScriptableRenderContext_t5AB09B3602BEB456E0DC3D53926D3A3BDAF08E36 ___arg10, RuntimeObject* ___arg21, const RuntimeMethod* method) ;
// T[] UnityEngine.Component::GetComponentsInChildren<System.Object>()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918* Component_GetComponentsInChildren_TisRuntimeObject_m1F5B6FC0689B07D4FAAC0C605D9B2933A9B32543_gshared (Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3* __this, const RuntimeMethod* method) ;
// T UnityEngine.GameObject::AddComponent<System.Object>()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* GameObject_AddComponent_TisRuntimeObject_m69B93700FACCF372F5753371C6E8FB780800B824_gshared (GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* __this, const RuntimeMethod* method) ;
// System.Void System.Collections.Generic.List`1<UnityEngine.Vector3>::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1__ctor_mC54E2BCBE43279A96FC082F5CDE2D76388BD8F9C_gshared (List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* __this, const RuntimeMethod* method) ;
// System.Void System.Collections.Generic.List`1<UnityEngine.Vector3>::Add(T)
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_gshared_inline (List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___item0, const RuntimeMethod* method) ;
// T[] System.Collections.Generic.List`1<UnityEngine.Vector3>::ToArray()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* List_1_ToArray_mF7A66D08104196EBAE0E29F0DD9BA140656EA5F3_gshared (List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* __this, const RuntimeMethod* method) ;
// System.Boolean UnityEngine.Component::TryGetComponent<System.Object>(T&)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Component_TryGetComponent_TisRuntimeObject_m69D4ED21F14D49D805A2337F4332934CDA07DEDB_gshared (Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3* __this, RuntimeObject** ___component0, const RuntimeMethod* method) ;
// System.Void Unity.Collections.NativeArray`1<WaterSystem.Data.Wave>::.ctor(System.Int32,Unity.Collections.Allocator,Unity.Collections.NativeArrayOptions)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NativeArray_1__ctor_m8B4A7EF5892BD03213483192C61C6EB313610B69_gshared (NativeArray_1_t0464FD7138EE934F1A59B5BC60EDAF11CA8501A0* __this, int32_t ___length0, int32_t ___allocator1, int32_t ___options2, const RuntimeMethod* method) ;
// System.Void Unity.Collections.NativeArray`1<WaterSystem.Data.Wave>::Dispose()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NativeArray_1_Dispose_m9A6BAC0BDCFDE0C7B38623ECD0414D548AE7E602_gshared (NativeArray_1_t0464FD7138EE934F1A59B5BC60EDAF11CA8501A0* __this, const RuntimeMethod* method) ;
// System.Boolean System.Collections.Generic.Dictionary`2<System.Int32,Unity.Mathematics.int2>::TryGetValue(TKey,TValue&)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Dictionary_2_TryGetValue_mD5BCA9DF77BD0662C45BF30F3C510A844171B678_gshared (Dictionary_2_t34976844C1A11EC7C4C065C9F12F6223D78D4583* __this, int32_t ___key0, int2_tF4AC25F87943DC0B2BB3456B0B919B3B42A9432A* ___value1, const RuntimeMethod* method) ;
// System.Void System.Collections.Generic.Dictionary`2<System.Int32,Unity.Mathematics.int2>::Add(TKey,TValue)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Dictionary_2_Add_m602750457826C95F8FF4A37BAF672E984668DABB_gshared (Dictionary_2_t34976844C1A11EC7C4C065C9F12F6223D78D4583* __this, int32_t ___key0, int2_tF4AC25F87943DC0B2BB3456B0B919B3B42A9432A ___value1, const RuntimeMethod* method) ;
// Unity.Collections.NativeSlice`1<T> Unity.Collections.NativeSliceExtensions::Slice<Unity.Mathematics.float3>(Unity.Collections.NativeArray`1<T>,System.Int32,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR NativeSlice_1_t1FC9E9FE0BB166305C1E3C50A7E9D588E1D92502 NativeSliceExtensions_Slice_Tisfloat3_t4AB5D88249ADB24F69FFD0793E8ED25E1CC3745E_m1FE3A9967B5FABE61BBAACF369993509D8A29F88_gshared (NativeArray_1_tEDE9DAD2CAE5954286BC0EF394A57ED0AC69FEE6 ___thisArray0, int32_t ___start1, int32_t ___length2, const RuntimeMethod* method) ;
// System.Void Unity.Collections.NativeSlice`1<Unity.Mathematics.float3>::CopyTo(T[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NativeSlice_1_CopyTo_mDD438DD80E2CD08F209E27E27F84EDC75A7EBEAD_gshared (NativeSlice_1_t1FC9E9FE0BB166305C1E3C50A7E9D588E1D92502* __this, float3U5BU5D_t94C1DF28FA7E0FA017D0C77B720D9FF3519E0D45* ___array0, const RuntimeMethod* method) ;
// Unity.Jobs.JobHandle Unity.Jobs.IJobParallelForExtensions::Schedule<WaterSystem.GerstnerWavesJobs/HeightJob>(T,System.Int32,System.Int32,Unity.Jobs.JobHandle)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR JobHandle_t5DF5F99902FED3C801A81C05205CEA6CE039EF08 IJobParallelForExtensions_Schedule_TisHeightJob_t3CC067C0FFCCB359C83849C23293DD240CBC94EC_m02D8F0BBFC9AC99994EC7E733D0F73C905F14DDF_gshared (HeightJob_t3CC067C0FFCCB359C83849C23293DD240CBC94EC ___jobData0, int32_t ___arrayLength1, int32_t ___innerloopBatchCount2, JobHandle_t5DF5F99902FED3C801A81C05205CEA6CE039EF08 ___dependsOn3, const RuntimeMethod* method) ;
// System.Void System.Collections.Generic.Dictionary`2<System.Int32,Unity.Mathematics.int2>::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Dictionary_2__ctor_mFA7FF7707E39BC40A09AE60A60E2DD8507CF5CFC_gshared (Dictionary_2_t34976844C1A11EC7C4C065C9F12F6223D78D4583* __this, const RuntimeMethod* method) ;
// System.Void System.Nullable`1<UnityEngine.Rendering.RenderQueueRange>::.ctor(T)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Nullable_1__ctor_mC09CE20B08C6A7188EE04F52B6A2E598657A0204_gshared (Nullable_1_t7D98773CC20A842A0846271D1181ECBB0D95926C* __this, RenderQueueRange_t7518252AA6426B1EA45D3D9B394F304EEF784D71 ___value0, const RuntimeMethod* method) ;
// T UnityEngine.Component::GetComponent<System.Object>()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* Component_GetComponent_TisRuntimeObject_m7181F81CAEC2CF53F5D2BC79B7425C16E1F80D33_gshared (Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3* __this, const RuntimeMethod* method) ;
// T[] System.Collections.Generic.List`1<WaterSystem.Data.Wave>::ToArray()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR WaveU5BU5D_t464305B39C1E1AA8D0E58528BC0562C10AB70BC5* List_1_ToArray_m6044057B54DA2B3B740EE5B83B885976380DF9BD_gshared (List_1_tBC238FE9E191BC345C4C774C9917EFB6D9B7F1CC* __this, const RuntimeMethod* method) ;
// System.Void System.Collections.Generic.List`1<WaterSystem.Data.Wave>::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1__ctor_mFA599B4E263EC595C3BF7A13AAFAD3F4F4A793DF_gshared (List_1_tBC238FE9E191BC345C4C774C9917EFB6D9B7F1CC* __this, const RuntimeMethod* method) ;
// System.Void LocalToWorldJob/TransformLocalToWorld::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TransformLocalToWorld__ctor_m9A7027421F46F69618BD1278B1593A29700434B0 (TransformLocalToWorld_tE67A70BFEDF4AF544F58C9F6A47CC3DB9D8387F3* __this, const RuntimeMethod* method) ;
// System.Void Unity.Collections.NativeArray`1<Unity.Mathematics.float3>::.ctor(System.Int32,Unity.Collections.Allocator,Unity.Collections.NativeArrayOptions)
inline void NativeArray_1__ctor_m965B9BE6DD806F31A767FF7CB33BEA509B7C90D7 (NativeArray_1_tEDE9DAD2CAE5954286BC0EF394A57ED0AC69FEE6* __this, int32_t ___length0, int32_t ___allocator1, int32_t ___options2, const RuntimeMethod* method)
{
(( void (*) (NativeArray_1_tEDE9DAD2CAE5954286BC0EF394A57ED0AC69FEE6*, int32_t, int32_t, int32_t, const RuntimeMethod*))NativeArray_1__ctor_m965B9BE6DD806F31A767FF7CB33BEA509B7C90D7_gshared)(__this, ___length0, ___allocator1, ___options2, method);
}
// Unity.Mathematics.float3 Unity.Mathematics.float3::op_Implicit(UnityEngine.Vector3)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float3_t4AB5D88249ADB24F69FFD0793E8ED25E1CC3745E float3_op_Implicit_mEFC9D4DC1F88125A32EAD98DDD519DDB1F146292 (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___v0, const RuntimeMethod* method) ;
// System.Void System.Collections.Generic.Dictionary`2<System.Int32,LocalToWorldJob/TransformLocalToWorld>::Add(TKey,TValue)
inline void Dictionary_2_Add_mF734BB544622985070F4A5064667541FDC8C9F5E (Dictionary_2_t04D9DCBB28EAB303065226F1E05133427281836B* __this, int32_t ___key0, TransformLocalToWorld_tE67A70BFEDF4AF544F58C9F6A47CC3DB9D8387F3* ___value1, const RuntimeMethod* method)
{
(( void (*) (Dictionary_2_t04D9DCBB28EAB303065226F1E05133427281836B*, int32_t, TransformLocalToWorld_tE67A70BFEDF4AF544F58C9F6A47CC3DB9D8387F3*, const RuntimeMethod*))Dictionary_2_Add_mAF1EF7DA16BD70E252EA5C4B0F74DE519A02CBCD_gshared)(__this, ___key0, ___value1, method);
}
// TValue System.Collections.Generic.Dictionary`2<System.Int32,LocalToWorldJob/TransformLocalToWorld>::get_Item(TKey)
inline TransformLocalToWorld_tE67A70BFEDF4AF544F58C9F6A47CC3DB9D8387F3* Dictionary_2_get_Item_m91A3CCB375E00D452413E798FC10A16139D46767 (Dictionary_2_t04D9DCBB28EAB303065226F1E05133427281836B* __this, int32_t ___key0, const RuntimeMethod* method)
{
return (( TransformLocalToWorld_tE67A70BFEDF4AF544F58C9F6A47CC3DB9D8387F3* (*) (Dictionary_2_t04D9DCBB28EAB303065226F1E05133427281836B*, int32_t, const RuntimeMethod*))Dictionary_2_get_Item_mC3FEA647E750C27367C990777D8890E0E712E514_gshared)(__this, ___key0, method);
}
// Unity.Jobs.JobHandle Unity.Jobs.IJobExtensions::Schedule<LocalToWorldJob/LocalToWorldConvertJob>(T,Unity.Jobs.JobHandle)
inline JobHandle_t5DF5F99902FED3C801A81C05205CEA6CE039EF08 IJobExtensions_Schedule_TisLocalToWorldConvertJob_t267E7E07E36B323842ECCEE9BDF7151F14DA3C32_mA6B690E4A41503DD87FD1108179FE13DEF564F93 (LocalToWorldConvertJob_t267E7E07E36B323842ECCEE9BDF7151F14DA3C32 ___jobData0, JobHandle_t5DF5F99902FED3C801A81C05205CEA6CE039EF08 ___dependsOn1, const RuntimeMethod* method)
{
return (( JobHandle_t5DF5F99902FED3C801A81C05205CEA6CE039EF08 (*) (LocalToWorldConvertJob_t267E7E07E36B323842ECCEE9BDF7151F14DA3C32, JobHandle_t5DF5F99902FED3C801A81C05205CEA6CE039EF08, const RuntimeMethod*))IJobExtensions_Schedule_TisLocalToWorldConvertJob_t267E7E07E36B323842ECCEE9BDF7151F14DA3C32_mA6B690E4A41503DD87FD1108179FE13DEF564F93_gshared)(___jobData0, ___dependsOn1, method);
}
// System.Void Unity.Jobs.JobHandle::ScheduleBatchedJobs()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void JobHandle_ScheduleBatchedJobs_mD80F0AB54AEA1D1A107F4B7B84EE5288FD895A93 (const RuntimeMethod* method) ;
// System.Void Unity.Jobs.JobHandle::Complete()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void JobHandle_Complete_mDCED35A125AAB37EDDAB2E31C805B4904B614A4A (JobHandle_t5DF5F99902FED3C801A81C05205CEA6CE039EF08* __this, const RuntimeMethod* method) ;
// System.Boolean System.Collections.Generic.Dictionary`2<System.Int32,LocalToWorldJob/TransformLocalToWorld>::ContainsKey(TKey)
inline bool Dictionary_2_ContainsKey_m59CE85FB1DB1171E7C89EBDACCF21C5703E3CE94 (Dictionary_2_t04D9DCBB28EAB303065226F1E05133427281836B* __this, int32_t ___key0, const RuntimeMethod* method)
{
return (( bool (*) (Dictionary_2_t04D9DCBB28EAB303065226F1E05133427281836B*, int32_t, const RuntimeMethod*))Dictionary_2_ContainsKey_mED5C451F158CDDD2B3F4B0720CD248DA9DB27B25_gshared)(__this, ___key0, method);
}
// System.Void Unity.Collections.NativeArray`1<Unity.Mathematics.float3>::Dispose()
inline void NativeArray_1_Dispose_mE40D457AF008BEE531917D94D3A83296CCF8906C (NativeArray_1_tEDE9DAD2CAE5954286BC0EF394A57ED0AC69FEE6* __this, const RuntimeMethod* method)
{
(( void (*) (NativeArray_1_tEDE9DAD2CAE5954286BC0EF394A57ED0AC69FEE6*, const RuntimeMethod*))NativeArray_1_Dispose_mE40D457AF008BEE531917D94D3A83296CCF8906C_gshared)(__this, method);
}
// System.Boolean System.Collections.Generic.Dictionary`2<System.Int32,LocalToWorldJob/TransformLocalToWorld>::Remove(TKey)
inline bool Dictionary_2_Remove_m54016530E03CEA001E9018F6DCF64E47E1E94489 (Dictionary_2_t04D9DCBB28EAB303065226F1E05133427281836B* __this, int32_t ___key0, const RuntimeMethod* method)
{
return (( bool (*) (Dictionary_2_t04D9DCBB28EAB303065226F1E05133427281836B*, int32_t, const RuntimeMethod*))Dictionary_2_Remove_m12BAB2F82E34CAA21A7245AB61E48F106340C1A4_gshared)(__this, ___key0, method);
}
// System.Void System.Collections.Generic.Dictionary`2<System.Int32,LocalToWorldJob/TransformLocalToWorld>::.ctor()
inline void Dictionary_2__ctor_m8DC2593AC176C8D1CEA42AA4B5106CDB557CE510 (Dictionary_2_t04D9DCBB28EAB303065226F1E05133427281836B* __this, const RuntimeMethod* method)
{
(( void (*) (Dictionary_2_t04D9DCBB28EAB303065226F1E05133427281836B*, const RuntimeMethod*))Dictionary_2__ctor_m92E9AB321FBD7147CA109C822D99C8B0610C27B7_gshared)(__this, method);
}
// System.Void Unity.Mathematics.float4::set_xyz(Unity.Mathematics.float3)
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void float4_set_xyz_m331D16059D51A5C6CA8AE8FD1E13A68C0570A9C7_inline (float4_t89D9A294E7A79BD81BFBDD18654508532958555E* __this, float3_t4AB5D88249ADB24F69FFD0793E8ED25E1CC3745E ___value0, const RuntimeMethod* method) ;
// UnityEngine.Vector4 Unity.Mathematics.float4::op_Implicit(Unity.Mathematics.float4)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector4_t58B63D32F48C0DBF50DE2C60794C4676C80EDBE3 float4_op_Implicit_m3685059EA8951FD4A81C3077E9C0A838A4669151 (float4_t89D9A294E7A79BD81BFBDD18654508532958555E ___v0, const RuntimeMethod* method) ;
// UnityEngine.Vector4 UnityEngine.Matrix4x4::op_Multiply(UnityEngine.Matrix4x4,UnityEngine.Vector4)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector4_t58B63D32F48C0DBF50DE2C60794C4676C80EDBE3 Matrix4x4_op_Multiply_m2041E25F0453B831D95C32E924B88125ACFE9255 (Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 ___lhs0, Vector4_t58B63D32F48C0DBF50DE2C60794C4676C80EDBE3 ___vector1, const RuntimeMethod* method) ;
// Unity.Mathematics.float4 Unity.Mathematics.float4::op_Implicit(UnityEngine.Vector4)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float4_t89D9A294E7A79BD81BFBDD18654508532958555E float4_op_Implicit_mF7911C6D69B3477174C9B383645987276257A446 (Vector4_t58B63D32F48C0DBF50DE2C60794C4676C80EDBE3 ___v0, const RuntimeMethod* method) ;
// Unity.Mathematics.float3 Unity.Mathematics.float4::get_xyz()
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float3_t4AB5D88249ADB24F69FFD0793E8ED25E1CC3745E float4_get_xyz_mE6EC829F35512C7BC159047FDC134E80F3B37A06_inline (float4_t89D9A294E7A79BD81BFBDD18654508532958555E* __this, const RuntimeMethod* method) ;
// System.Void LocalToWorldJob/LocalToWorldConvertJob::Execute()
IL2CPP_EXTERN_C IL2CPP_NO_INLINE IL2CPP_METHOD_ATTR void LocalToWorldConvertJob_Execute_mCF770D25A27D7FDEBFB48F44C1088446BFDB2819 (LocalToWorldConvertJob_t267E7E07E36B323842ECCEE9BDF7151F14DA3C32* IL2CPP_PARAMETER_RESTRICT __this, const RuntimeMethod* method) ;
// System.Void System.Object::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2 (RuntimeObject* __this, const RuntimeMethod* method) ;
// System.Delegate System.Delegate::Combine(System.Delegate,System.Delegate)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Delegate_t* Delegate_Combine_m8B9D24CED35033C7FC56501DFE650F5CB7FF012C (Delegate_t* ___a0, Delegate_t* ___b1, const RuntimeMethod* method) ;
// System.Delegate System.Delegate::Remove(System.Delegate,System.Delegate)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Delegate_t* Delegate_Remove_m40506877934EC1AD4ADAE57F5E97AF0BC0F96116 (Delegate_t* ___source0, Delegate_t* ___value1, const RuntimeMethod* method) ;
// System.Void System.Action`2<UnityEngine.Rendering.ScriptableRenderContext,UnityEngine.Camera>::.ctor(System.Object,System.IntPtr)
inline void Action_2__ctor_mBEB5B9B513FE305CE98CA8065CC6E6CC0E5A4D51 (Action_2_t8E07914D7090FF200FE84404EEEFAF3CE183C9F3* __this, RuntimeObject* ___object0, intptr_t ___method1, const RuntimeMethod* method)
{
(( void (*) (Action_2_t8E07914D7090FF200FE84404EEEFAF3CE183C9F3*, RuntimeObject*, intptr_t, const RuntimeMethod*))Action_2__ctor_m80999490097638177C6B639CEA321424D5BB0991_gshared)(__this, ___object0, ___method1, method);
}
// System.Void UnityEngine.Rendering.RenderPipelineManager::add_beginCameraRendering(System.Action`2<UnityEngine.Rendering.ScriptableRenderContext,UnityEngine.Camera>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void RenderPipelineManager_add_beginCameraRendering_mF8416C1EB5B9FF130A7F638B842E283CAA83BC2B (Action_2_t8E07914D7090FF200FE84404EEEFAF3CE183C9F3* ___value0, const RuntimeMethod* method) ;
// System.Void UnityEngine.Rendering.Universal.PlanarReflections::Cleanup()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PlanarReflections_Cleanup_m0851244EDADEEFAEB01E6812DFA0DD78B047A0E5 (PlanarReflections_t89C378C054F8113CB465D2A27E38FCC4F4B9F169* __this, const RuntimeMethod* method) ;
// System.Void UnityEngine.Rendering.RenderPipelineManager::remove_beginCameraRendering(System.Action`2<UnityEngine.Rendering.ScriptableRenderContext,UnityEngine.Camera>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void RenderPipelineManager_remove_beginCameraRendering_m1612AF680F9518D63562A8AC8C521A326B1C6C71 (Action_2_t8E07914D7090FF200FE84404EEEFAF3CE183C9F3* ___value0, const RuntimeMethod* method) ;
// System.Boolean UnityEngine.Object::op_Implicit(UnityEngine.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Object_op_Implicit_m18E1885C296CC868AC918101523697CFE6413C79 (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C* ___exists0, const RuntimeMethod* method) ;
// System.Void UnityEngine.Camera::set_targetTexture(UnityEngine.RenderTexture)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Camera_set_targetTexture_mE6C740F21A72DA47FB5B1D31D208710738A836C4 (Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184* __this, RenderTexture_tBA90C4C3AD9EECCFDDCC632D97C29FAB80D60D27* ___value0, const RuntimeMethod* method) ;
// UnityEngine.GameObject UnityEngine.Component::get_gameObject()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* Component_get_gameObject_m57AEFBB14DB39EC476F740BA000E170355DE691B (Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3* __this, const RuntimeMethod* method) ;
// System.Void UnityEngine.Rendering.Universal.PlanarReflections::SafeDestroy(UnityEngine.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PlanarReflections_SafeDestroy_mF67EE6FE1DE05EA525E9EA4F32BA831E7CB7C852 (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C* ___obj0, const RuntimeMethod* method) ;
// System.Void UnityEngine.RenderTexture::ReleaseTemporary(UnityEngine.RenderTexture)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void RenderTexture_ReleaseTemporary_m7D9B385460ED0D0CF7BCC033605CEBD60A1A232F (RenderTexture_tBA90C4C3AD9EECCFDDCC632D97C29FAB80D60D27* ___temp0, const RuntimeMethod* method) ;
// System.Boolean UnityEngine.Application::get_isEditor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Application_get_isEditor_m0377DB707B566C8E21DA3CD99963210F6D57D234 (const RuntimeMethod* method) ;
// System.Void UnityEngine.Object::DestroyImmediate(UnityEngine.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Object_DestroyImmediate_m8249CABCDF344BE3A67EE765122EBB415DC2BC57 (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C* ___obj0, const RuntimeMethod* method) ;
// System.Void UnityEngine.Object::Destroy(UnityEngine.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Object_Destroy_mFCDAE6333522488F60597AF019EA90BB1207A5AA (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C* ___obj0, const RuntimeMethod* method) ;
// System.Boolean UnityEngine.Object::op_Equality(UnityEngine.Object,UnityEngine.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Object_op_Equality_mD3DB0D72CE0250C84033DC2A90AEF9D59896E536 (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C* ___x0, Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C* ___y1, const RuntimeMethod* method) ;
// System.Void UnityEngine.Camera::CopyFrom(UnityEngine.Camera)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Camera_CopyFrom_mFA5C3AB8E95EC4124249520ACEC6F7F25E5CDC52 (Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184* __this, Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184* ___other0, const RuntimeMethod* method) ;
// System.Void UnityEngine.Camera::set_useOcclusionCulling(System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Camera_set_useOcclusionCulling_mD3036B0CBB5E6A1BF33810AB8FDEE3CD1A4D7C04 (Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184* __this, bool ___value0, const RuntimeMethod* method) ;
// System.Boolean UnityEngine.GameObject::TryGetComponent<UnityEngine.Rendering.Universal.UniversalAdditionalCameraData>(T&)
inline bool GameObject_TryGetComponent_TisUniversalAdditionalCameraData_t57B5D0F93C2D506E618E23187302C0FADE813B93_mBCAEF774AB0C0563A29C16F3A5305AE1A081C3BD (GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* __this, UniversalAdditionalCameraData_t57B5D0F93C2D506E618E23187302C0FADE813B93** ___component0, const RuntimeMethod* method)
{
return (( bool (*) (GameObject_t76FEDD663AB33C991A9C9A23129337651094216F*, UniversalAdditionalCameraData_t57B5D0F93C2D506E618E23187302C0FADE813B93**, const RuntimeMethod*))GameObject_TryGetComponent_TisRuntimeObject_m4D430300D2DFB9276DE980D78F60A05D271D3630_gshared)(__this, ___component0, method);
}
// System.Void UnityEngine.Rendering.Universal.UniversalAdditionalCameraData::set_renderShadows(System.Boolean)
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void UniversalAdditionalCameraData_set_renderShadows_m435F35FAAF4700DC51E6A806D2BEF8A01A3A010B_inline (UniversalAdditionalCameraData_t57B5D0F93C2D506E618E23187302C0FADE813B93* __this, bool ___value0, const RuntimeMethod* method) ;
// UnityEngine.Camera UnityEngine.Rendering.Universal.PlanarReflections::CreateMirrorObjects()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184* PlanarReflections_CreateMirrorObjects_mE59932993996D97F49CF689AAF03C663AE40E477 (PlanarReflections_t89C378C054F8113CB465D2A27E38FCC4F4B9F169* __this, const RuntimeMethod* method) ;
// UnityEngine.Vector3 UnityEngine.Vector3::get_zero()
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_get_zero_m9D7F7B580B5A276411267E96AA3425736D9BDC83_inline (const RuntimeMethod* method) ;
// UnityEngine.Vector3 UnityEngine.Vector3::get_up()
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_get_up_mAB5269BFCBCB1BD241450C9BF2F156303D30E0C3_inline (const RuntimeMethod* method) ;
// System.Boolean UnityEngine.Object::op_Inequality(UnityEngine.Object,UnityEngine.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Object_op_Inequality_m4D656395C27694A7F33F5AA8DE80A7AAF9E20BA7 (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C* ___x0, Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C* ___y1, const RuntimeMethod* method) ;
// UnityEngine.Transform UnityEngine.GameObject::get_transform()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* GameObject_get_transform_m0BC10ADFA1632166AE5544BDF9038A2650C2AE56 (GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* __this, const RuntimeMethod* method) ;
// UnityEngine.Vector3 UnityEngine.Transform::get_position()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1 (Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* __this, const RuntimeMethod* method) ;
// UnityEngine.Vector3 UnityEngine.Vector3::op_Multiply(UnityEngine.Vector3,System.Single)
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_op_Multiply_m516FE285F5342F922C6EB3FCB33197E9017FF484_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___a0, float ___d1, const RuntimeMethod* method) ;
// UnityEngine.Vector3 UnityEngine.Vector3::op_Addition(UnityEngine.Vector3,UnityEngine.Vector3)
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_op_Addition_m087D6F0EC60843D455F9F83D25FE42B2433AAD1D_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___a0, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___b1, const RuntimeMethod* method) ;
// UnityEngine.Vector3 UnityEngine.Transform::get_up()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Transform_get_up_mE47A9D9D96422224DD0539AA5524DA5440145BB2 (Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* __this, const RuntimeMethod* method) ;
// System.Void UnityEngine.Rendering.Universal.PlanarReflections::UpdateCamera(UnityEngine.Camera,UnityEngine.Camera)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PlanarReflections_UpdateCamera_m8D8FC73619DA124DDE086875C29F5596967BFC96 (PlanarReflections_t89C378C054F8113CB465D2A27E38FCC4F4B9F169* __this, Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184* ___src0, Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184* ___dest1, const RuntimeMethod* method) ;
// System.Single UnityEngine.Vector3::Dot(UnityEngine.Vector3,UnityEngine.Vector3)
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Vector3_Dot_m4688A1A524306675DBDB1E6D483F35E85E3CE6D8_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___lhs0, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___rhs1, const RuntimeMethod* method) ;
// System.Void UnityEngine.Vector4::.ctor(System.Single,System.Single,System.Single,System.Single)
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Vector4__ctor_m96B2CD8B862B271F513AF0BDC2EABD58E4DBC813_inline (Vector4_t58B63D32F48C0DBF50DE2C60794C4676C80EDBE3* __this, float ___x0, float ___y1, float ___z2, float ___w3, const RuntimeMethod* method) ;
// UnityEngine.Matrix4x4 UnityEngine.Matrix4x4::get_identity()
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 Matrix4x4_get_identity_m94A09872C449C26863FF10D0FDF87842D91BECD6_inline (const RuntimeMethod* method) ;
// System.Void UnityEngine.Vector3::.ctor(System.Single,System.Single,System.Single)
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* __this, float ___x0, float ___y1, float ___z2, const RuntimeMethod* method) ;
// UnityEngine.Matrix4x4 UnityEngine.Matrix4x4::Scale(UnityEngine.Vector3)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 Matrix4x4_Scale_m389397AD581D1BB1A5D39B47021DD685A1EAA9AB (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___vector0, const RuntimeMethod* method) ;
// UnityEngine.Matrix4x4 UnityEngine.Matrix4x4::op_Multiply(UnityEngine.Matrix4x4,UnityEngine.Matrix4x4)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 Matrix4x4_op_Multiply_m7649669D493400913FF60AFB04B1C19F14E0FDB0 (Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 ___lhs0, Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 ___rhs1, const RuntimeMethod* method) ;
// System.Void UnityEngine.Rendering.Universal.PlanarReflections::CalculateReflectionMatrix(UnityEngine.Matrix4x4&,UnityEngine.Vector4)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PlanarReflections_CalculateReflectionMatrix_m216CCD5473D8B3AEE1DBD5BD00117202B88BB5E7 (Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6* ___reflectionMat0, Vector4_t58B63D32F48C0DBF50DE2C60794C4676C80EDBE3 ___plane1, const RuntimeMethod* method) ;
// UnityEngine.Transform UnityEngine.Component::get_transform()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371 (Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3* __this, const RuntimeMethod* method) ;
// UnityEngine.Vector3 UnityEngine.Vector3::op_Subtraction(UnityEngine.Vector3,UnityEngine.Vector3)
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_op_Subtraction_m1690F44F6DC92B770A940B6CF8AE0535625A9824_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___a0, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___b1, const RuntimeMethod* method) ;
// UnityEngine.Vector3 UnityEngine.Rendering.Universal.PlanarReflections::ReflectPosition(UnityEngine.Vector3)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 PlanarReflections_ReflectPosition_m5EF88E45C441E0090B54104C0FA00191DC17D91A (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___pos0, const RuntimeMethod* method) ;
// UnityEngine.Vector3 UnityEngine.Transform::get_forward()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Transform_get_forward_mFCFACF7165FDAB21E80E384C494DF278386CEE2F (Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* __this, const RuntimeMethod* method) ;
// UnityEngine.Vector3 UnityEngine.Vector3::Scale(UnityEngine.Vector3,UnityEngine.Vector3)
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_Scale_mE4063F0349E8B2F3EC8098597D356ACCA54C4514_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___a0, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___b1, const RuntimeMethod* method) ;
// System.Void UnityEngine.Transform::set_forward(UnityEngine.Vector3)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Transform_set_forward_mA178B5CF4F0F6133F9AF8ED3A4ECD2C604C60C26 (Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___value0, const RuntimeMethod* method) ;
// UnityEngine.Matrix4x4 UnityEngine.Camera::get_worldToCameraMatrix()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 Camera_get_worldToCameraMatrix_m48E324BD76706A316A1701EFC6A3DEC7DFB2FF40 (Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184* __this, const RuntimeMethod* method) ;
// System.Void UnityEngine.Camera::set_worldToCameraMatrix(UnityEngine.Matrix4x4)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Camera_set_worldToCameraMatrix_mC199F02E435CE7261F7EECD1FD78A33EA96ABC0D (Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184* __this, Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 ___value0, const RuntimeMethod* method) ;
// UnityEngine.Vector4 UnityEngine.Rendering.Universal.PlanarReflections::CameraSpacePlane(UnityEngine.Camera,UnityEngine.Vector3,UnityEngine.Vector3,System.Single)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector4_t58B63D32F48C0DBF50DE2C60794C4676C80EDBE3 PlanarReflections_CameraSpacePlane_m27379E45D8D79FF77E808402F3F80C3E64D300D0 (PlanarReflections_t89C378C054F8113CB465D2A27E38FCC4F4B9F169* __this, Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184* ___cam0, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___pos1, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___normal2, float ___sideSign3, const RuntimeMethod* method) ;
// UnityEngine.Matrix4x4 UnityEngine.Camera::CalculateObliqueMatrix(UnityEngine.Vector4)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 Camera_CalculateObliqueMatrix_mBBFA94C033BB0C3C21B182F732B2155913E46609 (Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184* __this, Vector4_t58B63D32F48C0DBF50DE2C60794C4676C80EDBE3 ___clipPlane0, const RuntimeMethod* method) ;
// System.Void UnityEngine.Camera::set_projectionMatrix(UnityEngine.Matrix4x4)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Camera_set_projectionMatrix_m351820E6903139402FFFF40221B32D0C52B5A094 (Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184* __this, Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 ___value0, const RuntimeMethod* method) ;
// System.Int32 UnityEngine.LayerMask::op_Implicit(UnityEngine.LayerMask)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t LayerMask_op_Implicit_m5D697E103A7CB05CADCED9F90FD4F6BAE955E763 (LayerMask_t97CB6BDADEDC3D6423C7BCFEA7F86DA2EC6241DB ___mask0, const RuntimeMethod* method) ;
// System.Void UnityEngine.Camera::set_cullingMask(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Camera_set_cullingMask_m14F426710530BA8FA53AEC02F79C418AA558CB32 (Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184* __this, int32_t ___value0, const RuntimeMethod* method) ;
// System.Void UnityEngine.Transform::set_position(UnityEngine.Vector3)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Transform_set_position_mA1A817124BB41B685043DED2A9BA48CDF37C4156 (Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___value0, const RuntimeMethod* method) ;
// System.Single UnityEngine.Vector4::get_Item(System.Int32)
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Vector4_get_Item_mB1D001A235857569E479FB799EF77C52391D19EF_inline (Vector4_t58B63D32F48C0DBF50DE2C60794C4676C80EDBE3* __this, int32_t ___index0, const RuntimeMethod* method) ;
// UnityEngine.Vector3 UnityEngine.Matrix4x4::MultiplyPoint(UnityEngine.Vector3)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Matrix4x4_MultiplyPoint_m20E910B65693559BFDE99382472D8DD02C862E7E (Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___point0, const RuntimeMethod* method) ;
// UnityEngine.Vector3 UnityEngine.Matrix4x4::MultiplyVector(UnityEngine.Vector3)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Matrix4x4_MultiplyVector_mFD12F86A473E90BBB0002149ABA3917B2A518937 (Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___vector0, const RuntimeMethod* method) ;
// UnityEngine.Vector3 UnityEngine.Vector3::get_normalized()
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_get_normalized_m736BBF65D5CDA7A18414370D15B4DFCC1E466F07_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* __this, const RuntimeMethod* method) ;
// System.Type System.Type::GetTypeFromHandle(System.RuntimeTypeHandle)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Type_t* Type_GetTypeFromHandle_m2570A2A5B32A5E9D9F0F38B37459DA18736C823E (RuntimeTypeHandle_t332A452B8B6179E4469B69525D0FE82A88030F7B ___handle0, const RuntimeMethod* method) ;
// System.Void UnityEngine.GameObject::.ctor(System.String,System.Type[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GameObject__ctor_m721D643351E55308EA4F5F41B67D5446D11C61F0 (GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* __this, String_t* ___name0, TypeU5BU5D_t97234E1129B564EB38B8D85CAC2AD8B5B9522FFB* ___components1, const RuntimeMethod* method) ;
// UnityEngine.Component UnityEngine.GameObject::AddComponent(System.Type)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3* GameObject_AddComponent_mDF246771EC34613FA6AF0C98D443368FB43E9F36 (GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* __this, Type_t* ___componentType0, const RuntimeMethod* method) ;
// System.Void UnityEngine.Rendering.Universal.UniversalAdditionalCameraData::set_requiresColorOption(UnityEngine.Rendering.Universal.CameraOverrideOption)
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void UniversalAdditionalCameraData_set_requiresColorOption_m70A4CD657A3C82549B7159183BEB50131E7C59AA_inline (UniversalAdditionalCameraData_t57B5D0F93C2D506E618E23187302C0FADE813B93* __this, int32_t ___value0, const RuntimeMethod* method) ;
// System.Void UnityEngine.Rendering.Universal.UniversalAdditionalCameraData::set_requiresDepthOption(UnityEngine.Rendering.Universal.CameraOverrideOption)
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void UniversalAdditionalCameraData_set_requiresDepthOption_m7BA4C2691693C5175B57BACC7750A2FCC88DFA62_inline (UniversalAdditionalCameraData_t57B5D0F93C2D506E618E23187302C0FADE813B93* __this, int32_t ___value0, const RuntimeMethod* method) ;
// System.Void UnityEngine.Rendering.Universal.UniversalAdditionalCameraData::SetRenderer(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void UniversalAdditionalCameraData_SetRenderer_m486F07D0F0D14B3F112CB6AFF01B12BE187AE255 (UniversalAdditionalCameraData_t57B5D0F93C2D506E618E23187302C0FADE813B93* __this, int32_t ___index0, const RuntimeMethod* method) ;
// T UnityEngine.GameObject::GetComponent<UnityEngine.Camera>()
inline Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184* GameObject_GetComponent_TisCamera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184_m3B3C11550E48AA36AFF82788636EB163CC51FEE6 (GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* __this, const RuntimeMethod* method)
{
return (( Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184* (*) (GameObject_t76FEDD663AB33C991A9C9A23129337651094216F*, const RuntimeMethod*))GameObject_GetComponent_TisRuntimeObject_m6EAED4AA356F0F48288F67899E5958792395563B_gshared)(__this, method);
}
// UnityEngine.Quaternion UnityEngine.Transform::get_rotation()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C (Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* __this, const RuntimeMethod* method) ;
// System.Void UnityEngine.Transform::SetPositionAndRotation(UnityEngine.Vector3,UnityEngine.Quaternion)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Transform_SetPositionAndRotation_m418859BF59086EEAA084FFD6F258A43FAB408F5A (Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___position0, Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___rotation1, const RuntimeMethod* method) ;
// System.Void UnityEngine.Camera::set_depth(System.Single)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Camera_set_depth_m595FA2A4FEBC90E730810BBFB55E4A2C2134066F (Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184* __this, float ___value0, const RuntimeMethod* method) ;
// System.Void UnityEngine.Behaviour::set_enabled(System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Behaviour_set_enabled_mF1DCFE60EB09E0529FE9476CA804A3AA2D72B16A (Behaviour_t01970CFBBA658497AE30F311C447DB0440BAB7FA* __this, bool ___value0, const RuntimeMethod* method) ;
// System.Void UnityEngine.Object::set_hideFlags(UnityEngine.HideFlags)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Object_set_hideFlags_mACB8BFC903FB3B01BBD427753E791BF28B5E33D4 (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C* __this, int32_t ___value0, const RuntimeMethod* method) ;
// UnityEngine.Rendering.Universal.UniversalRenderPipelineAsset UnityEngine.Rendering.Universal.UniversalRenderPipeline::get_asset()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR UniversalRenderPipelineAsset_tE8A9AA6F030CC3B558CEA2EB54FFF4FC58CA6232* UniversalRenderPipeline_get_asset_mE97A926D00D90276CC9442857014B7180EF02819 (const RuntimeMethod* method) ;
// System.Single UnityEngine.Rendering.Universal.UniversalRenderPipelineAsset::get_renderScale()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float UniversalRenderPipelineAsset_get_renderScale_m742E4D97CEF504F30F963E9500AAF070C71EDB3C (UniversalRenderPipelineAsset_tE8A9AA6F030CC3B558CEA2EB54FFF4FC58CA6232* __this, const RuntimeMethod* method) ;
// Unity.Mathematics.int2 UnityEngine.Rendering.Universal.PlanarReflections::ReflectionResolution(UnityEngine.Camera,System.Single)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int2_tF4AC25F87943DC0B2BB3456B0B919B3B42A9432A PlanarReflections_ReflectionResolution_m18A42B617325C346F543C33D035C93A67F78396B (PlanarReflections_t89C378C054F8113CB465D2A27E38FCC4F4B9F169* __this, Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184* ___cam0, float ___scale1, const RuntimeMethod* method) ;
// System.Boolean UnityEngine.Rendering.Universal.RenderingUtils::SupportsRenderTextureFormat(UnityEngine.RenderTextureFormat)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool RenderingUtils_SupportsRenderTextureFormat_m52BD74695C6B60C3682166BF627955DBFB385CF0 (int32_t ___format0, const RuntimeMethod* method) ;
// UnityEngine.Experimental.Rendering.GraphicsFormat UnityEngine.Experimental.Rendering.GraphicsFormatUtility::GetGraphicsFormat(UnityEngine.RenderTextureFormat,System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t GraphicsFormatUtility_GetGraphicsFormat_m9C447321AA5B70BA35F3A23DFC772D449D92A315 (int32_t ___format0, bool ___isSRGB1, const RuntimeMethod* method) ;
// UnityEngine.RenderTexture UnityEngine.RenderTexture::GetTemporary(System.Int32,System.Int32,System.Int32,UnityEngine.Experimental.Rendering.GraphicsFormat)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RenderTexture_tBA90C4C3AD9EECCFDDCC632D97C29FAB80D60D27* RenderTexture_GetTemporary_m1B736CCEBF98116572F853499DAC3D69798628F1 (int32_t ___width0, int32_t ___height1, int32_t ___depthBuffer2, int32_t ___format3, const RuntimeMethod* method) ;
// System.Int32 UnityEngine.Camera::get_pixelWidth()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Camera_get_pixelWidth_m55AC8AD744FC0179865C2E630C68F9AD0799065D (Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184* __this, const RuntimeMethod* method) ;
// System.Single UnityEngine.Rendering.Universal.PlanarReflections::GetScaleValue()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float PlanarReflections_GetScaleValue_m438345610A43069539EA1C85627E9F6AC6905DA4 (PlanarReflections_t89C378C054F8113CB465D2A27E38FCC4F4B9F169* __this, const RuntimeMethod* method) ;
// System.Int32 UnityEngine.Camera::get_pixelHeight()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Camera_get_pixelHeight_m00881B5A440B0018D5A8F837694027050B500F59 (Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184* __this, const RuntimeMethod* method) ;
// System.Void Unity.Mathematics.int2::.ctor(System.Int32,System.Int32)
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void int2__ctor_m452D21510717D0961119C89A72BBB8D84DCD49F4_inline (int2_tF4AC25F87943DC0B2BB3456B0B919B3B42A9432A* __this, int32_t ___x0, int32_t ___y1, const RuntimeMethod* method) ;
// UnityEngine.CameraType UnityEngine.Camera::get_cameraType()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Camera_get_cameraType_m85434C4C986D2EAC04FBFA44B284840AFC497851 (Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184* __this, const RuntimeMethod* method) ;
// System.Void UnityEngine.Rendering.Universal.PlanarReflections::UpdateReflectionCamera(UnityEngine.Camera)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PlanarReflections_UpdateReflectionCamera_m5F0E5B2A03309AA8BB5228DA93CAC68BC3997E44 (PlanarReflections_t89C378C054F8113CB465D2A27E38FCC4F4B9F169* __this, Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184* ___realCamera0, const RuntimeMethod* method) ;
// System.Void UnityEngine.Rendering.Universal.PlanarReflections::PlanarReflectionTexture(UnityEngine.Camera)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PlanarReflections_PlanarReflectionTexture_mE83651A070DAD98445B2B8C3628011CEBC9094E5 (PlanarReflections_t89C378C054F8113CB465D2A27E38FCC4F4B9F169* __this, Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184* ___cam0, const RuntimeMethod* method) ;
// System.Void UnityEngine.Rendering.Universal.PlanarReflections/PlanarReflectionSettingData::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PlanarReflectionSettingData__ctor_m887092A8675EDB36E1AD3417B18BEEAC76179560 (PlanarReflectionSettingData_tA2166FF34B27262BB7A4ADA1EA450DB940ACCF37* __this, const RuntimeMethod* method) ;
// System.Void UnityEngine.Rendering.Universal.PlanarReflections/PlanarReflectionSettingData::Set()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PlanarReflectionSettingData_Set_mFD4289AED6CA9AC33E3B9B1665E52BDBEABD9083 (PlanarReflectionSettingData_tA2166FF34B27262BB7A4ADA1EA450DB940ACCF37* __this, const RuntimeMethod* method) ;
// System.Void UnityEngine.Shader::EnableKeyword(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Shader_EnableKeyword_m24DB964DE6795F323916C317DDDB88061E6D5761 (String_t* ___keyword0, const RuntimeMethod* method) ;
// System.Void System.Action`2<UnityEngine.Rendering.ScriptableRenderContext,UnityEngine.Camera>::Invoke(T1,T2)
inline void Action_2_Invoke_m457EA9776C78CC34B2E13A96BA84B7FF28C35580_inline (Action_2_t8E07914D7090FF200FE84404EEEFAF3CE183C9F3* __this, ScriptableRenderContext_t5AB09B3602BEB456E0DC3D53926D3A3BDAF08E36 ___arg10, Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184* ___arg21, const RuntimeMethod* method)
{
(( void (*) (Action_2_t8E07914D7090FF200FE84404EEEFAF3CE183C9F3*, ScriptableRenderContext_t5AB09B3602BEB456E0DC3D53926D3A3BDAF08E36, Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184*, const RuntimeMethod*))Action_2_Invoke_m75E23BAD5C95C6003991F85C738C496DD7C42794_gshared_inline)(__this, ___arg10, ___arg21, method);
}
// System.Void UnityEngine.Rendering.Universal.UniversalRenderPipeline::RenderSingleCamera(UnityEngine.Rendering.ScriptableRenderContext,UnityEngine.Camera)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void UniversalRenderPipeline_RenderSingleCamera_m43520D1759875704A42FA33CEF5A8D225170E92C (ScriptableRenderContext_t5AB09B3602BEB456E0DC3D53926D3A3BDAF08E36 ___context0, Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184* ___camera1, const RuntimeMethod* method) ;
// System.Void UnityEngine.Rendering.Universal.PlanarReflections/PlanarReflectionSettingData::Restore()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PlanarReflectionSettingData_Restore_m828584D856CAD831AAF40830A25130EF77BAC77A (PlanarReflectionSettingData_tA2166FF34B27262BB7A4ADA1EA450DB940ACCF37* __this, const RuntimeMethod* method) ;
// System.Void UnityEngine.Shader::SetGlobalTexture(System.Int32,UnityEngine.Texture)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Shader_SetGlobalTexture_m4DF21A2D64AA4CF5B3A77BBBCA33D5195308BE2E (int32_t ___nameID0, Texture_t791CBB51219779964E0E8A2ED7C1AA5F92A4A700* ___value1, const RuntimeMethod* method) ;
// System.Void UnityEngine.Shader::DisableKeyword(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Shader_DisableKeyword_m6427E6828CF809F12752AE2CF70E6A79281A3DB2 (String_t* ___keyword0, const RuntimeMethod* method) ;
// System.Void UnityEngine.Rendering.Universal.PlanarReflections/PlanarReflectionSettings::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PlanarReflectionSettings__ctor_mBDB56988A1E43301A1B77F553B1D7B9D988743D3 (PlanarReflectionSettings_t933C0BB776407C4B49D2CE2FD8E60337F2B62731* __this, const RuntimeMethod* method) ;
// System.Int32 UnityEngine.Shader::PropertyToID(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Shader_PropertyToID_mF5F7BA2EFF23D83482ECDE4C34227145D817B1EB (String_t* ___name0, const RuntimeMethod* method) ;
// System.Void UnityEngine.MonoBehaviour::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MonoBehaviour__ctor_m592DB0105CA0BC97AA1C5F4AD27B12D68A3B7C1E (MonoBehaviour_t532A11E69716D348D8AA7F854AFCBFCB8AD17F71* __this, const RuntimeMethod* method) ;
// UnityEngine.LayerMask UnityEngine.LayerMask::op_Implicit(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR LayerMask_t97CB6BDADEDC3D6423C7BCFEA7F86DA2EC6241DB LayerMask_op_Implicit_mDC9C22C4477684D460FCF25B1BFE6B54419FB922 (int32_t ___intVal0, const RuntimeMethod* method) ;
// System.Boolean UnityEngine.RenderSettings::get_fog()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool RenderSettings_get_fog_m475092AFEE209DC2B7949131C3D0663A58095337 (const RuntimeMethod* method) ;
// System.Int32 UnityEngine.QualitySettings::get_maximumLODLevel()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t QualitySettings_get_maximumLODLevel_m80F225EC305D3F9C3BC0433ECA599032C5FBE8F8 (const RuntimeMethod* method) ;
// System.Single UnityEngine.QualitySettings::get_lodBias()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float QualitySettings_get_lodBias_m0DB63DEEF86BE1C091409BFAE8539F187886DA7B (const RuntimeMethod* method) ;
// System.Void UnityEngine.GL::set_invertCulling(System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GL_set_invertCulling_mAC18402894032E2EBB93C0B7D953496AEE96AB36 (bool ___value0, const RuntimeMethod* method) ;
// System.Void UnityEngine.RenderSettings::set_fog(System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void RenderSettings_set_fog_m919A8EC1E72A06182BA3EB050618D1AB4FDEB30C (bool ___value0, const RuntimeMethod* method) ;
// System.Void UnityEngine.QualitySettings::set_maximumLODLevel(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void QualitySettings_set_maximumLODLevel_m45F5998DECA1D200E2902E2A144FBBB24C1FACF2 (int32_t ___value0, const RuntimeMethod* method) ;
// System.Void UnityEngine.QualitySettings::set_lodBias(System.Single)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void QualitySettings_set_lodBias_mE3BDC7C587785C9A1A3B33521209A0AE9BDAD119 (float ___value0, const RuntimeMethod* method) ;
// System.Void WaterSystem.BuoyantObject::SetupVoxels()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void BuoyantObject_SetupVoxels_m48AC4DED7D20E3C1E934F6D0716D7AE0B097A58F (BuoyantObject_t8611DAACF74D9E88F389659A4E68C8DBF6226F50* __this, const RuntimeMethod* method) ;
// System.Void WaterSystem.BuoyantObject::SetupData()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void BuoyantObject_SetupData_mF1386B9929A021EC8B4DA83654A5CE9884F7CB99 (BuoyantObject_t8611DAACF74D9E88F389659A4E68C8DBF6226F50* __this, const RuntimeMethod* method) ;
// System.Void WaterSystem.BuoyantObject::SetupColliders()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void BuoyantObject_SetupColliders_m48744C3956650EFCB9F2841C76D59607D2201528 (BuoyantObject_t8611DAACF74D9E88F389659A4E68C8DBF6226F50* __this, const RuntimeMethod* method) ;
// System.Void WaterSystem.BuoyantObject::SetupPhysical()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void BuoyantObject_SetupPhysical_m2F7BCD8952A7BDB62B0E23C7D01C427FFB30524F (BuoyantObject_t8611DAACF74D9E88F389659A4E68C8DBF6226F50* __this, const RuntimeMethod* method) ;
// System.Void System.ArgumentOutOfRangeException::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ArgumentOutOfRangeException__ctor_mB596C51BFA864B65C2CED275458FAE90F7CD29C9 (ArgumentOutOfRangeException_tEA2822DAF62B10EEED00E0E3A341D4BAF78CF85F* __this, const RuntimeMethod* method) ;
// System.Void WaterSystem.BuoyantObject::SliceIntoVoxels()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void BuoyantObject_SliceIntoVoxels_m9A8BEBE32D1EC571105A4AE03619C64C16BD62AF (BuoyantObject_t8611DAACF74D9E88F389659A4E68C8DBF6226F50* __this, const RuntimeMethod* method) ;
// System.Int32 UnityEngine.Object::GetInstanceID()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Object_GetInstanceID_m554FF4073C9465F3835574CC084E68AAEEC6CC6A (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C* __this, const RuntimeMethod* method) ;
// System.Void WaterSystem.BuoyantObject::Init()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void BuoyantObject_Init_mFC6372FF4327F10847628CC50FD3042B47B06A5D (BuoyantObject_t8611DAACF74D9E88F389659A4E68C8DBF6226F50* __this, const RuntimeMethod* method) ;
// System.Void WaterSystem.BuoyantObject::LocalToWorldConversion()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void BuoyantObject_LocalToWorldConversion_mA6F6B73C01885966EDC877696BF9E96F63DB33EA (BuoyantObject_t8611DAACF74D9E88F389659A4E68C8DBF6226F50* __this, const RuntimeMethod* method) ;
// T[] UnityEngine.Component::GetComponentsInChildren<UnityEngine.Collider>()
inline ColliderU5BU5D_t94A9D70F63D095AFF2A9B4613012A5F7F3141787* Component_GetComponentsInChildren_TisCollider_t1CC3163924FCD6C4CC2E816373A929C1E3D55E76_m64EB86DDB49F92CFAAF6003C9EAC7D7D8B0F35DB (Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3* __this, const RuntimeMethod* method)
{
return (( ColliderU5BU5D_t94A9D70F63D095AFF2A9B4613012A5F7F3141787* (*) (Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3*, const RuntimeMethod*))Component_GetComponentsInChildren_TisRuntimeObject_m1F5B6FC0689B07D4FAAC0C605D9B2933A9B32543_gshared)(__this, method);
}
// T UnityEngine.GameObject::AddComponent<UnityEngine.BoxCollider>()
inline BoxCollider_tFA5D239388334D6DE0B8FFDAD6825C5B03786E23* GameObject_AddComponent_TisBoxCollider_tFA5D239388334D6DE0B8FFDAD6825C5B03786E23_m655518C8454E418FE8CF0E4770881B7A2B12BB23 (GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* __this, const RuntimeMethod* method)
{
return (( BoxCollider_tFA5D239388334D6DE0B8FFDAD6825C5B03786E23* (*) (GameObject_t76FEDD663AB33C991A9C9A23129337651094216F*, const RuntimeMethod*))GameObject_AddComponent_TisRuntimeObject_m69B93700FACCF372F5753371C6E8FB780800B824_gshared)(__this, method);
}
// System.String UnityEngine.Object::get_name()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* Object_get_name_mAC2F6B897CF1303BA4249B4CB55271AFACBB6392 (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C* __this, const RuntimeMethod* method) ;
// System.String System.String::Concat(System.String,System.String,System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* String_Concat_m9B13B47FCB3DF61144D9647DDA05F527377251B0 (String_t* ___str00, String_t* ___str11, String_t* ___str22, const RuntimeMethod* method) ;
// System.Void UnityEngine.Debug::LogError(System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Debug_LogError_m059825802BB6AF7EA9693FEBEEB0D85F59A3E38E (RuntimeObject* ___message0, const RuntimeMethod* method) ;
// System.Single UnityEngine.Time::get_deltaTime()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float Time_get_deltaTime_m7AB6BFA101D83E1D8F2EF3D5A128AEE9DDBF1A6D (const RuntimeMethod* method) ;
// UnityEngine.Vector3 Unity.Mathematics.float3::op_Implicit(Unity.Mathematics.float3)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 float3_op_Implicit_mEFBD5C49B7BC786CEEA7076D3A53D421BF88E2CB (float3_t4AB5D88249ADB24F69FFD0793E8ED25E1CC3745E ___v0, const RuntimeMethod* method) ;
// UnityEngine.Vector3 UnityEngine.Vector3::Slerp(UnityEngine.Vector3,UnityEngine.Vector3,System.Single)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_Slerp_mBA32C7EAC64C56C7D68480549FA9A892FA5C1728 (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___a0, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___b1, float ___t2, const RuntimeMethod* method) ;
// System.Void UnityEngine.Transform::set_up(UnityEngine.Vector3)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Transform_set_up_m1FBA5A97E5057747AC027AD5897EDE80A554D554 (Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___value0, const RuntimeMethod* method) ;
// System.Void LocalToWorldJob::CompleteJob(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void LocalToWorldJob_CompleteJob_mC9A824FAF57AD2CFA1DA07909141FD75B938164C (int32_t ___guid0, const RuntimeMethod* method) ;
// System.Void WaterSystem.BuoyantObject::GetVelocityPoints()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void BuoyantObject_GetVelocityPoints_m678D3690A15166A98016D9996D06033530A40B94 (BuoyantObject_t8611DAACF74D9E88F389659A4E68C8DBF6226F50* __this, const RuntimeMethod* method) ;
// System.Void WaterSystem.GerstnerWavesJobs::UpdateSamplePoints(Unity.Collections.NativeArray`1<Unity.Mathematics.float3>&,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GerstnerWavesJobs_UpdateSamplePoints_m1D70408FF0F940AB3C4BA155E45D66405CB344EE (NativeArray_1_tEDE9DAD2CAE5954286BC0EF394A57ED0AC69FEE6* ___samplePoints0, int32_t ___guid1, const RuntimeMethod* method) ;
// System.Void WaterSystem.GerstnerWavesJobs::GetData(System.Int32,Unity.Mathematics.float3[]&,Unity.Mathematics.float3[]&)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GerstnerWavesJobs_GetData_m866FF69D0789F96353DCB9F2D428728E96C2FFB9 (int32_t ___guid0, float3U5BU5D_t94C1DF28FA7E0FA017D0C77B720D9FF3519E0D45** ___outPos1, float3U5BU5D_t94C1DF28FA7E0FA017D0C77B720D9FF3519E0D45** ___outNorm2, const RuntimeMethod* method) ;
// System.Void UnityEngine.Physics::set_autoSyncTransforms(System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Physics_set_autoSyncTransforms_m26A4F72F3709F704C3CE729EBADA992C22D7E1EF (bool ___value0, const RuntimeMethod* method) ;
// System.Void WaterSystem.BuoyantObject::BuoyancyForce(UnityEngine.Vector3,Unity.Mathematics.float3,System.Single,System.Single&,WaterSystem.BuoyantObject/DebugDrawing&)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void BuoyantObject_BuoyancyForce_m16B170C47368E54880EE7B532215870D4F88D391 (BuoyantObject_t8611DAACF74D9E88F389659A4E68C8DBF6226F50* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___position0, float3_t4AB5D88249ADB24F69FFD0793E8ED25E1CC3745E ___velocity1, float ___waterHeight2, float* ___submergedAmount3, DebugDrawing_tFCBD1BABEC150B3A913A22E422BF3B9BC8810B0B* ___debug4, const RuntimeMethod* method) ;
// System.Void UnityEngine.Physics::SyncTransforms()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Physics_SyncTransforms_mEA78292E299EA0E2B0E79D59149E21144881AD9B (const RuntimeMethod* method) ;
// System.Void WaterSystem.BuoyantObject::UpdateDrag(System.Single)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void BuoyantObject_UpdateDrag_m708E7204D58F03C5BEB9ECB1B96CA781E186E85C (BuoyantObject_t8611DAACF74D9E88F389659A4E68C8DBF6226F50* __this, float ___submergedAmount0, const RuntimeMethod* method) ;
// System.Void WaterSystem.BuoyantObject::CleanUp()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void BuoyantObject_CleanUp_m39BE677D50DF90A9E8F421754E723DE5B7F8C2CD (BuoyantObject_t8611DAACF74D9E88F389659A4E68C8DBF6226F50* __this, const RuntimeMethod* method) ;
// System.Void LocalToWorldJob::Cleanup(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void LocalToWorldJob_Cleanup_mFD8F36D6545E81F65DFEE068494010B5382B7A39 (int32_t ___guid0, const RuntimeMethod* method) ;
// UnityEngine.Matrix4x4 UnityEngine.Transform::get_localToWorldMatrix()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 Transform_get_localToWorldMatrix_m5D35188766856338DD21DE756F42277C21719E6D (Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* __this, const RuntimeMethod* method) ;
// System.Void LocalToWorldJob::ScheduleJob(System.Int32,UnityEngine.Matrix4x4)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void LocalToWorldJob_ScheduleJob_mA4B8BF201C13FC77CA56D1865316A17EE62FD08E (int32_t ___guid0, Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 ___localToWorld1, const RuntimeMethod* method) ;
// System.Single Unity.Mathematics.math::clamp(System.Single,System.Single,System.Single)
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float math_clamp_m315140813E8E273E89E552C714D70F64340FDC7F_inline (float ___x0, float ___a1, float ___b2, const RuntimeMethod* method) ;
// System.Single UnityEngine.Rigidbody::get_mass()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float Rigidbody_get_mass_m09DDDDC437499B83B3BD0D77C134BFDC3E667054 (Rigidbody_t268697F5A994213ED97393309870968BC1C7393C* __this, const RuntimeMethod* method) ;
// Unity.Mathematics.float3 Unity.Mathematics.float3::op_UnaryNegation(Unity.Mathematics.float3)
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float3_t4AB5D88249ADB24F69FFD0793E8ED25E1CC3745E float3_op_UnaryNegation_mCB9369EA335DF643481BB8D707751A8F1F41E5B0_inline (float3_t4AB5D88249ADB24F69FFD0793E8ED25E1CC3745E ___val0, const RuntimeMethod* method) ;
// Unity.Mathematics.float3 Unity.Mathematics.float3::op_Multiply(System.Single,Unity.Mathematics.float3)
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float3_t4AB5D88249ADB24F69FFD0793E8ED25E1CC3745E float3_op_Multiply_mB08DA9B217A0DA39BABCE64FFE69BEA67D37D04F_inline (float ___lhs0, float3_t4AB5D88249ADB24F69FFD0793E8ED25E1CC3745E ___rhs1, const RuntimeMethod* method) ;
// System.Single Unity.Mathematics.math::sqrt(System.Single)
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float math_sqrt_mD0D6FA27E6D4959A0D4A823FFD3A9DA396542875_inline (float ___x0, const RuntimeMethod* method) ;
// Unity.Mathematics.float3 Unity.Mathematics.float3::op_Addition(Unity.Mathematics.float3,Unity.Mathematics.float3)
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float3_t4AB5D88249ADB24F69FFD0793E8ED25E1CC3745E float3_op_Addition_mE85BAC4F29F637BB88069193D325FE5C6067B3BB_inline (float3_t4AB5D88249ADB24F69FFD0793E8ED25E1CC3745E ___lhs0, float3_t4AB5D88249ADB24F69FFD0793E8ED25E1CC3745E ___rhs1, const RuntimeMethod* method) ;
// System.Void UnityEngine.Rigidbody::AddForceAtPosition(UnityEngine.Vector3,UnityEngine.Vector3)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Rigidbody_AddForceAtPosition_mA4226D0A30E0B55CB0CAD2A956EA16C546505965 (Rigidbody_t268697F5A994213ED97393309870968BC1C7393C* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___force0, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___position1, const RuntimeMethod* method) ;
// System.Single Unity.Mathematics.math::lerp(System.Single,System.Single,System.Single)
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float math_lerp_m50998C71E29B4924FB852B622185E96E05C4A3C6_inline (float ___x0, float ___y1, float ___s2, const RuntimeMethod* method) ;
// System.Void UnityEngine.Rigidbody::set_drag(System.Single)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Rigidbody_set_drag_m9E9F375A26A8F3D1AABCEB015E41696F39088EE0 (Rigidbody_t268697F5A994213ED97393309870968BC1C7393C* __this, float ___value0, const RuntimeMethod* method) ;
// System.Void UnityEngine.Rigidbody::set_angularDrag(System.Single)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Rigidbody_set_angularDrag_m4193B04EEFCA831DB99E29E98F778957557F130C (Rigidbody_t268697F5A994213ED97393309870968BC1C7393C* __this, float ___value0, const RuntimeMethod* method) ;
// UnityEngine.Vector3 UnityEngine.Rigidbody::GetPointVelocity(UnityEngine.Vector3)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Rigidbody_GetPointVelocity_m94324B9CDC28751DB27594ADE76FEAB5EC4EB1BD (Rigidbody_t268697F5A994213ED97393309870968BC1C7393C* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___worldPoint0, const RuntimeMethod* method) ;
// UnityEngine.Vector3 UnityEngine.Transform::get_localScale()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Transform_get_localScale_m804A002A53A645CDFCD15BB0F37209162720363F (Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* __this, const RuntimeMethod* method) ;
// UnityEngine.Quaternion UnityEngine.Quaternion::get_identity()
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 Quaternion_get_identity_mB9CAEEB21BC81352CBF32DB9664BFC06FA7EA27B_inline (const RuntimeMethod* method) ;
// UnityEngine.Vector3 UnityEngine.Vector3::get_one()
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_get_one_mE6A2D5C6578E94268024613B596BF09F990B1260_inline (const RuntimeMethod* method) ;
// System.Void UnityEngine.Transform::set_localScale(UnityEngine.Vector3)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Transform_set_localScale_mBA79E811BAF6C47B80FF76414C12B47B3CD03633 (Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___value0, const RuntimeMethod* method) ;
// System.Void System.Collections.Generic.List`1<UnityEngine.Vector3>::.ctor()
inline void List_1__ctor_mC54E2BCBE43279A96FC082F5CDE2D76388BD8F9C (List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* __this, const RuntimeMethod* method)
{
(( void (*) (List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B*, const RuntimeMethod*))List_1__ctor_mC54E2BCBE43279A96FC082F5CDE2D76388BD8F9C_gshared)(__this, method);
}
// UnityEngine.Bounds WaterSystem.BuoyantObject::VoxelBounds()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 BuoyantObject_VoxelBounds_m21857334478E13FF814AE62345676F92C8B6C01D (BuoyantObject_t8611DAACF74D9E88F389659A4E68C8DBF6226F50* __this, const RuntimeMethod* method) ;
// UnityEngine.Vector3 UnityEngine.Bounds::get_size()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Bounds_get_size_m0699A53A55A78B3201D7270D6F338DFA91B6FAD4 (Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3* __this, const RuntimeMethod* method) ;
// UnityEngine.Vector3 WaterSystem.BuoyantObject::RoundVector(UnityEngine.Vector3,System.Single)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 BuoyantObject_RoundVector_mAD72478FA75D3A53A8A045ABF4533F3C8F6874E0 (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___vec0, float ___rounding1, const RuntimeMethod* method) ;
// System.Void UnityEngine.Bounds::set_size(UnityEngine.Vector3)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Bounds_set_size_m950CFB68CDD1BF409E770509A38B958E1AE68128 (Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___value0, const RuntimeMethod* method) ;
// UnityEngine.Vector3 UnityEngine.Bounds::get_extents()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Bounds_get_extents_mFE6DC407FCE2341BE2C750CB554055D211281D25 (Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3* __this, const RuntimeMethod* method) ;
// UnityEngine.Vector3 UnityEngine.Bounds::get_center()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Bounds_get_center_m5B05F81CB835EB6DD8628FDA24B638F477984DC3 (Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3* __this, const RuntimeMethod* method) ;
// System.Boolean WaterSystem.BuoyantObject::PointIsInsideCollider(UnityEngine.Collider,UnityEngine.Vector3)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool BuoyantObject_PointIsInsideCollider_m43F9B5FC757C71619171F90786FFFD6B92AD16F7 (BuoyantObject_t8611DAACF74D9E88F389659A4E68C8DBF6226F50* __this, Collider_t1CC3163924FCD6C4CC2E816373A929C1E3D55E76* ___c0, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___p1, const RuntimeMethod* method) ;
// System.Void System.Collections.Generic.List`1<UnityEngine.Vector3>::Add(T)
inline void List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_inline (List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___item0, const RuntimeMethod* method)
{
(( void (*) (List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B*, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2, const RuntimeMethod*))List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_gshared_inline)(__this, ___item0, method);
}
// T[] System.Collections.Generic.List`1<UnityEngine.Vector3>::ToArray()
inline Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* List_1_ToArray_mF7A66D08104196EBAE0E29F0DD9BA140656EA5F3 (List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* __this, const RuntimeMethod* method)
{
return (( Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* (*) (List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B*, const RuntimeMethod*))List_1_ToArray_mF7A66D08104196EBAE0E29F0DD9BA140656EA5F3_gshared)(__this, method);
}
// System.Single UnityEngine.Mathf::Min(System.Single,System.Single)
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Mathf_Min_m4F2A9C5128DC3F9E84865EE7ADA8DB5DA6B8B507_inline (float ___a0, float ___b1, const RuntimeMethod* method) ;
// T UnityEngine.GameObject::GetComponent<UnityEngine.Rigidbody>()
inline Rigidbody_t268697F5A994213ED97393309870968BC1C7393C* GameObject_GetComponent_TisRigidbody_t268697F5A994213ED97393309870968BC1C7393C_m2D7F86C77ECF9B82AAC077B511F1004280571B90 (GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* __this, const RuntimeMethod* method)
{
return (( Rigidbody_t268697F5A994213ED97393309870968BC1C7393C* (*) (GameObject_t76FEDD663AB33C991A9C9A23129337651094216F*, const RuntimeMethod*))GameObject_GetComponent_TisRuntimeObject_m6EAED4AA356F0F48288F67899E5958792395563B_gshared)(__this, method);
}
// UnityEngine.Bounds UnityEngine.Collider::get_bounds()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 Collider_get_bounds_mCC32F749590E9A85C7930E5355661367F78E4CB4 (Collider_t1CC3163924FCD6C4CC2E816373A929C1E3D55E76* __this, const RuntimeMethod* method) ;
// System.Void UnityEngine.Bounds::Encapsulate(UnityEngine.Bounds)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Bounds_Encapsulate_m7C70C382B9380A8C962074C78E189B53CE8F7A22 (Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3* __this, Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 ___bounds0, const RuntimeMethod* method) ;
// UnityEngine.Vector3 UnityEngine.Physics::ClosestPoint(UnityEngine.Vector3,UnityEngine.Collider,UnityEngine.Vector3,UnityEngine.Quaternion)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Physics_ClosestPoint_m8B6784F2E69530BAA273A8D56A42B8BC6F58FD30 (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___point0, Collider_t1CC3163924FCD6C4CC2E816373A929C1E3D55E76* ___collider1, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___position2, Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___rotation3, const RuntimeMethod* method) ;
// System.Single UnityEngine.Vector3::Distance(UnityEngine.Vector3,UnityEngine.Vector3)
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Vector3_Distance_m99C722723EDD875852EF854AD7B7C4F8AC4F84AB_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___a0, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___b1, const RuntimeMethod* method) ;
// System.Boolean UnityEngine.Component::TryGetComponent<UnityEngine.Rigidbody>(T&)
inline bool Component_TryGetComponent_TisRigidbody_t268697F5A994213ED97393309870968BC1C7393C_m2C2A32AA4FD62D8B9BF5E40B7E2F3EF738C532A6 (Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3* __this, Rigidbody_t268697F5A994213ED97393309870968BC1C7393C** ___component0, const RuntimeMethod* method)
{
return (( bool (*) (Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3*, Rigidbody_t268697F5A994213ED97393309870968BC1C7393C**, const RuntimeMethod*))Component_TryGetComponent_TisRuntimeObject_m69D4ED21F14D49D805A2337F4332934CDA07DEDB_gshared)(__this, ___component0, method);
}
// T UnityEngine.GameObject::AddComponent<UnityEngine.Rigidbody>()
inline Rigidbody_t268697F5A994213ED97393309870968BC1C7393C* GameObject_AddComponent_TisRigidbody_t268697F5A994213ED97393309870968BC1C7393C_m03A761629A3F71B0248F1B26EF612F592B757093 (GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* __this, const RuntimeMethod* method)
{
return (( Rigidbody_t268697F5A994213ED97393309870968BC1C7393C* (*) (GameObject_t76FEDD663AB33C991A9C9A23129337651094216F*, const RuntimeMethod*))GameObject_AddComponent_TisRuntimeObject_m69B93700FACCF372F5753371C6E8FB780800B824_gshared)(__this, method);
}
// System.Void UnityEngine.Rigidbody::set_centerOfMass(UnityEngine.Vector3)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Rigidbody_set_centerOfMass_m9D4A68D102498C7DBCD91278FF5EE7EE0BF2B188 (Rigidbody_t268697F5A994213ED97393309870968BC1C7393C* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___value0, const RuntimeMethod* method) ;
// System.Single UnityEngine.Rigidbody::get_drag()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float Rigidbody_get_drag_m03B87FE60D5ABB7B937993112982C75080929D54 (Rigidbody_t268697F5A994213ED97393309870968BC1C7393C* __this, const RuntimeMethod* method) ;
// System.Single UnityEngine.Rigidbody::get_angularDrag()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float Rigidbody_get_angularDrag_m457FD99D051229084E77422FA669454E1B58AB4D (Rigidbody_t268697F5A994213ED97393309870968BC1C7393C* __this, const RuntimeMethod* method) ;
// UnityEngine.Vector3 UnityEngine.Physics::get_gravity()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Physics_get_gravity_m3A4C8594035C638686900919118B176B9F0A6F81 (const RuntimeMethod* method) ;
// System.Void Unity.Mathematics.float3::.ctor(System.Single,System.Single,System.Single)
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void float3__ctor_mC61002CD0EC13D7C37D846D021A78C028FB80DB9_inline (float3_t4AB5D88249ADB24F69FFD0793E8ED25E1CC3745E* __this, float ___x0, float ___y1, float ___z2, const RuntimeMethod* method) ;
// Unity.Mathematics.float3 Unity.Mathematics.float3::op_Division(Unity.Mathematics.float3,System.Single)
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float3_t4AB5D88249ADB24F69FFD0793E8ED25E1CC3745E float3_op_Division_m337596E152F22C0A19CD1189C6E38BC5EAB9514F_inline (float3_t4AB5D88249ADB24F69FFD0793E8ED25E1CC3745E ___lhs0, float ___rhs1, const RuntimeMethod* method) ;
// System.Void LocalToWorldJob::SetupJob(System.Int32,UnityEngine.Vector3[],Unity.Collections.NativeArray`1<Unity.Mathematics.float3>&)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void LocalToWorldJob_SetupJob_m93EF72B82EA2CA3859926AEC943A9845A6BDC929 (int32_t ___guid0, Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* ___positions1, NativeArray_1_tEDE9DAD2CAE5954286BC0EF394A57ED0AC69FEE6* ___output2, const RuntimeMethod* method) ;
// UnityEngine.Vector3 UnityEngine.Transform::get_lossyScale()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Transform_get_lossyScale_mFF740DA4BE1489C6882CD2F3A37B7321176E5D07 (Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* __this, const RuntimeMethod* method) ;
// UnityEngine.Matrix4x4 UnityEngine.Matrix4x4::TRS(UnityEngine.Vector3,UnityEngine.Quaternion,UnityEngine.Vector3)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 Matrix4x4_TRS_mFEBA6926DB0044B96EF0CE98F30FEE7596820680 (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___pos0, Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___q1, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___s2, const RuntimeMethod* method) ;
// UnityEngine.Color UnityEngine.Color::get_yellow()
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Color_tD001788D726C3A7F1379BEED0260B9591F440C1F Color_get_yellow_m1EF7276EF58050DFBA8921E2383F0249C08D346F_inline (const RuntimeMethod* method) ;
// System.Void UnityEngine.Gizmos::set_color(UnityEngine.Color)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Gizmos_set_color_mFD4A7935FF025F5922374A8DD797BA0558BF1AD2 (Color_tD001788D726C3A7F1379BEED0260B9591F440C1F ___value0, const RuntimeMethod* method) ;
// System.Void UnityEngine.Gizmos::DrawCube(UnityEngine.Vector3,UnityEngine.Vector3)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Gizmos_DrawCube_mE7D2162786517A14E8A740C7887CD08A3105B192 (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___center0, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___size1, const RuntimeMethod* method) ;
// System.Void UnityEngine.Gizmos::set_matrix(UnityEngine.Matrix4x4)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Gizmos_set_matrix_m916F9A7A8ACC51F304BB5BB4536854A045EF844B (Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 ___value0, const RuntimeMethod* method) ;
// System.Void UnityEngine.Gizmos::DrawWireCube(UnityEngine.Vector3,UnityEngine.Vector3)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Gizmos_DrawWireCube_m31971565E5002365FE94256FFE1DC5B070FDBBA7 (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___center0, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___size1, const RuntimeMethod* method) ;
// System.Void UnityEngine.Gizmos::DrawLine(UnityEngine.Vector3,UnityEngine.Vector3)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Gizmos_DrawLine_m09F46DC2EA3C2200E465435A29960E8BCD84DD9C (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___from0, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___to1, const RuntimeMethod* method) ;
// UnityEngine.Color UnityEngine.Color::get_red()
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Color_tD001788D726C3A7F1379BEED0260B9591F440C1F Color_get_red_m27D04C1E5FE794AD933B7B9364F3D34B9EA25109_inline (const RuntimeMethod* method) ;
// System.Void UnityEngine.Gizmos::DrawSphere(UnityEngine.Vector3,System.Single)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Gizmos_DrawSphere_m80D4373C59949363664E571DCE7E9C54337B4942 (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___center0, float ___radius1, const RuntimeMethod* method) ;
// UnityEngine.Color UnityEngine.Color::get_cyan()
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Color_tD001788D726C3A7F1379BEED0260B9591F440C1F Color_get_cyan_m1257FED4776F2A33BD7250357D024B3FA3E592EB_inline (const RuntimeMethod* method) ;
// UnityEngine.Vector3 UnityEngine.Vector3::op_Division(UnityEngine.Vector3,System.Single)
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_op_Division_mD7200D6D432BAFC4135C5B17A0B0A812203B0270_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___a0, float ___d1, const RuntimeMethod* method) ;
// System.Void UnityEngine.Gizmos::DrawRay(UnityEngine.Vector3,UnityEngine.Vector3)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Gizmos_DrawRay_m0FB8AC474F4025A0775879DC8640C8816E14A454 (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___from0, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___direction1, const RuntimeMethod* method) ;
// System.Void UnityEngine.ScriptableObject::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ScriptableObject__ctor_mD037FDB0B487295EA47F79A4DB1BF1846C9087FF (ScriptableObject_tB3BFDB921A1B1795B38A5417D3B97A89A140436A* __this, const RuntimeMethod* method) ;
// System.Boolean UnityEngine.Debug::get_isDebugBuild()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Debug_get_isDebugBuild_mD757482E7E84FD089E874DD0778A5200D12C14E0 (const RuntimeMethod* method) ;
// System.Void UnityEngine.Debug::Log(System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Debug_Log_m86567BCF22BBE7809747817453CACA0E41E68219 (RuntimeObject* ___message0, const RuntimeMethod* method) ;
// WaterSystem.Water WaterSystem.Water::get_Instance()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Water_t8D0105147A62029CB3B0497FE968F18E33C3D319* Water_get_Instance_m2DF3BB630189C690C2FB235596FE106B67C861C9 (const RuntimeMethod* method) ;
// System.Void Unity.Collections.NativeArray`1<WaterSystem.Data.Wave>::.ctor(System.Int32,Unity.Collections.Allocator,Unity.Collections.NativeArrayOptions)
inline void NativeArray_1__ctor_m8B4A7EF5892BD03213483192C61C6EB313610B69 (NativeArray_1_t0464FD7138EE934F1A59B5BC60EDAF11CA8501A0* __this, int32_t ___length0, int32_t ___allocator1, int32_t ___options2, const RuntimeMethod* method)
{
(( void (*) (NativeArray_1_t0464FD7138EE934F1A59B5BC60EDAF11CA8501A0*, int32_t, int32_t, int32_t, const RuntimeMethod*))NativeArray_1__ctor_m8B4A7EF5892BD03213483192C61C6EB313610B69_gshared)(__this, ___length0, ___allocator1, ___options2, method);
}
// System.Void Unity.Collections.NativeArray`1<WaterSystem.Data.Wave>::Dispose()
inline void NativeArray_1_Dispose_m9A6BAC0BDCFDE0C7B38623ECD0414D548AE7E602 (NativeArray_1_t0464FD7138EE934F1A59B5BC60EDAF11CA8501A0* __this, const RuntimeMethod* method)
{
(( void (*) (NativeArray_1_t0464FD7138EE934F1A59B5BC60EDAF11CA8501A0*, const RuntimeMethod*))NativeArray_1_Dispose_m9A6BAC0BDCFDE0C7B38623ECD0414D548AE7E602_gshared)(__this, method);
}
// System.Void WaterSystem.GerstnerWavesJobs::CompleteJobs()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GerstnerWavesJobs_CompleteJobs_m54EE93BDA1F655850FD662B243703B0D79FE11F9 (const RuntimeMethod* method) ;
// System.Boolean System.Collections.Generic.Dictionary`2<System.Int32,Unity.Mathematics.int2>::TryGetValue(TKey,TValue&)
inline bool Dictionary_2_TryGetValue_mD5BCA9DF77BD0662C45BF30F3C510A844171B678 (Dictionary_2_t34976844C1A11EC7C4C065C9F12F6223D78D4583* __this, int32_t ___key0, int2_tF4AC25F87943DC0B2BB3456B0B919B3B42A9432A* ___value1, const RuntimeMethod* method)
{
return (( bool (*) (Dictionary_2_t34976844C1A11EC7C4C065C9F12F6223D78D4583*, int32_t, int2_tF4AC25F87943DC0B2BB3456B0B919B3B42A9432A*, const RuntimeMethod*))Dictionary_2_TryGetValue_mD5BCA9DF77BD0662C45BF30F3C510A844171B678_gshared)(__this, ___key0, ___value1, method);
}
// System.Void System.Collections.Generic.Dictionary`2<System.Int32,Unity.Mathematics.int2>::Add(TKey,TValue)
inline void Dictionary_2_Add_m602750457826C95F8FF4A37BAF672E984668DABB (Dictionary_2_t34976844C1A11EC7C4C065C9F12F6223D78D4583* __this, int32_t ___key0, int2_tF4AC25F87943DC0B2BB3456B0B919B3B42A9432A ___value1, const RuntimeMethod* method)
{
(( void (*) (Dictionary_2_t34976844C1A11EC7C4C065C9F12F6223D78D4583*, int32_t, int2_tF4AC25F87943DC0B2BB3456B0B919B3B42A9432A, const RuntimeMethod*))Dictionary_2_Add_m602750457826C95F8FF4A37BAF672E984668DABB_gshared)(__this, ___key0, ___value1, method);
}
// Unity.Collections.NativeSlice`1<T> Unity.Collections.NativeSliceExtensions::Slice<Unity.Mathematics.float3>(Unity.Collections.NativeArray`1<T>,System.Int32,System.Int32)
inline NativeSlice_1_t1FC9E9FE0BB166305C1E3C50A7E9D588E1D92502 NativeSliceExtensions_Slice_Tisfloat3_t4AB5D88249ADB24F69FFD0793E8ED25E1CC3745E_m1FE3A9967B5FABE61BBAACF369993509D8A29F88 (NativeArray_1_tEDE9DAD2CAE5954286BC0EF394A57ED0AC69FEE6 ___thisArray0, int32_t ___start1, int32_t ___length2, const RuntimeMethod* method)
{
return (( NativeSlice_1_t1FC9E9FE0BB166305C1E3C50A7E9D588E1D92502 (*) (NativeArray_1_tEDE9DAD2CAE5954286BC0EF394A57ED0AC69FEE6, int32_t, int32_t, const RuntimeMethod*))NativeSliceExtensions_Slice_Tisfloat3_t4AB5D88249ADB24F69FFD0793E8ED25E1CC3745E_m1FE3A9967B5FABE61BBAACF369993509D8A29F88_gshared)(___thisArray0, ___start1, ___length2, method);
}
// System.Void Unity.Collections.NativeSlice`1<Unity.Mathematics.float3>::CopyTo(T[])
inline void NativeSlice_1_CopyTo_mDD438DD80E2CD08F209E27E27F84EDC75A7EBEAD (NativeSlice_1_t1FC9E9FE0BB166305C1E3C50A7E9D588E1D92502* __this, float3U5BU5D_t94C1DF28FA7E0FA017D0C77B720D9FF3519E0D45* ___array0, const RuntimeMethod* method)
{
(( void (*) (NativeSlice_1_t1FC9E9FE0BB166305C1E3C50A7E9D588E1D92502*, float3U5BU5D_t94C1DF28FA7E0FA017D0C77B720D9FF3519E0D45*, const RuntimeMethod*))NativeSlice_1_CopyTo_mDD438DD80E2CD08F209E27E27F84EDC75A7EBEAD_gshared)(__this, ___array0, method);
}
// System.Single UnityEngine.Time::get_time()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float Time_get_time_m0BEE9AACD0723FE414465B77C9C64D12263675F3 (const RuntimeMethod* method) ;
// Unity.Jobs.JobHandle Unity.Jobs.IJobParallelForExtensions::Schedule<WaterSystem.GerstnerWavesJobs/HeightJob>(T,System.Int32,System.Int32,Unity.Jobs.JobHandle)
inline JobHandle_t5DF5F99902FED3C801A81C05205CEA6CE039EF08 IJobParallelForExtensions_Schedule_TisHeightJob_t3CC067C0FFCCB359C83849C23293DD240CBC94EC_m02D8F0BBFC9AC99994EC7E733D0F73C905F14DDF (HeightJob_t3CC067C0FFCCB359C83849C23293DD240CBC94EC ___jobData0, int32_t ___arrayLength1, int32_t ___innerloopBatchCount2, JobHandle_t5DF5F99902FED3C801A81C05205CEA6CE039EF08 ___dependsOn3, const RuntimeMethod* method)
{
return (( JobHandle_t5DF5F99902FED3C801A81C05205CEA6CE039EF08 (*) (HeightJob_t3CC067C0FFCCB359C83849C23293DD240CBC94EC, int32_t, int32_t, JobHandle_t5DF5F99902FED3C801A81C05205CEA6CE039EF08, const RuntimeMethod*))IJobParallelForExtensions_Schedule_TisHeightJob_t3CC067C0FFCCB359C83849C23293DD240CBC94EC_m02D8F0BBFC9AC99994EC7E733D0F73C905F14DDF_gshared)(___jobData0, ___arrayLength1, ___innerloopBatchCount2, ___dependsOn3, method);
}
// System.Void System.Collections.Generic.Dictionary`2<System.Int32,Unity.Mathematics.int2>::.ctor()
inline void Dictionary_2__ctor_mFA7FF7707E39BC40A09AE60A60E2DD8507CF5CFC (Dictionary_2_t34976844C1A11EC7C4C065C9F12F6223D78D4583* __this, const RuntimeMethod* method)
{
(( void (*) (Dictionary_2_t34976844C1A11EC7C4C065C9F12F6223D78D4583*, const RuntimeMethod*))Dictionary_2__ctor_mFA7FF7707E39BC40A09AE60A60E2DD8507CF5CFC_gshared)(__this, method);
}
// Unity.Mathematics.float2 Unity.Mathematics.float3::get_xz()
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float2_t24AA5C0F612B0672315EDAFEC9D9E7F1C4A5B0BA float3_get_xz_m687D2F3B82CB637649325B969C1406D86133EB30_inline (float3_t4AB5D88249ADB24F69FFD0793E8ED25E1CC3745E* __this, const RuntimeMethod* method) ;
// System.Void Unity.Mathematics.float2::.ctor(System.Single,System.Single)
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void float2__ctor_m3D598E2C2D173DE852F3AB157502968261383C97_inline (float2_t24AA5C0F612B0672315EDAFEC9D9E7F1C4A5B0BA* __this, float ___x0, float ___y1, const RuntimeMethod* method) ;
// System.Single Unity.Mathematics.math::radians(System.Single)
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float math_radians_m08B356E042815F191F6280057EA0EC8D7D90CA3F_inline (float ___x0, const RuntimeMethod* method) ;
// System.Single Unity.Mathematics.math::sin(System.Single)
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float math_sin_m09BCE312DBA664A5CE3EDE6D10F874859F6885F0_inline (float ___x0, const RuntimeMethod* method) ;
// System.Single Unity.Mathematics.math::cos(System.Single)
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float math_cos_mA9002EFEE2A017D04CB6231763FA2CB64A2BE3F1_inline (float ___x0, const RuntimeMethod* method) ;
// Unity.Mathematics.float2 Unity.Mathematics.float2::op_Multiply(Unity.Mathematics.float2,System.Single)
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float2_t24AA5C0F612B0672315EDAFEC9D9E7F1C4A5B0BA float2_op_Multiply_mA808DD1761BC02DFF27012799AC8BBE6CAA4833B_inline (float2_t24AA5C0F612B0672315EDAFEC9D9E7F1C4A5B0BA ___lhs0, float ___rhs1, const RuntimeMethod* method) ;
// Unity.Mathematics.float2 Unity.Mathematics.float2::op_Subtraction(Unity.Mathematics.float2,Unity.Mathematics.float2)
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float2_t24AA5C0F612B0672315EDAFEC9D9E7F1C4A5B0BA float2_op_Subtraction_mBC3DDD89B54F91541030E441B07B00D8D7172FF7_inline (float2_t24AA5C0F612B0672315EDAFEC9D9E7F1C4A5B0BA ___lhs0, float2_t24AA5C0F612B0672315EDAFEC9D9E7F1C4A5B0BA ___rhs1, const RuntimeMethod* method) ;
// Unity.Mathematics.float2 Unity.Mathematics.float2::op_Addition(Unity.Mathematics.float2,Unity.Mathematics.float2)
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float2_t24AA5C0F612B0672315EDAFEC9D9E7F1C4A5B0BA float2_op_Addition_m503678CD90BFA0E4047291761C002E0CB849B845_inline (float2_t24AA5C0F612B0672315EDAFEC9D9E7F1C4A5B0BA ___lhs0, float2_t24AA5C0F612B0672315EDAFEC9D9E7F1C4A5B0BA ___rhs1, const RuntimeMethod* method) ;
// Unity.Mathematics.float2 Unity.Mathematics.math::normalize(Unity.Mathematics.float2)
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float2_t24AA5C0F612B0672315EDAFEC9D9E7F1C4A5B0BA math_normalize_mD2C1AF2A74CFB0EC69962A879E4138A5DE18A0F0_inline (float2_t24AA5C0F612B0672315EDAFEC9D9E7F1C4A5B0BA ___x0, const RuntimeMethod* method) ;
// System.Single Unity.Mathematics.math::dot(Unity.Mathematics.float2,Unity.Mathematics.float2)
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float math_dot_mB5F64A20288F500F84BB056EF63B37146FBBA96C_inline (float2_t24AA5C0F612B0672315EDAFEC9D9E7F1C4A5B0BA ___x0, float2_t24AA5C0F612B0672315EDAFEC9D9E7F1C4A5B0BA ___y1, const RuntimeMethod* method) ;
// Unity.Mathematics.float2 Unity.Mathematics.float2::get_xy()
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float2_t24AA5C0F612B0672315EDAFEC9D9E7F1C4A5B0BA float2_get_xy_mAB96D1C1ABAC5AC6B2B6059669D94D246EA623FF_inline (float2_t24AA5C0F612B0672315EDAFEC9D9E7F1C4A5B0BA* __this, const RuntimeMethod* method) ;
// Unity.Mathematics.float2 Unity.Mathematics.float2::op_UnaryNegation(Unity.Mathematics.float2)
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float2_t24AA5C0F612B0672315EDAFEC9D9E7F1C4A5B0BA float2_op_UnaryNegation_m32D405A200CB4473779212462A3A1511FF8FE9F3_inline (float2_t24AA5C0F612B0672315EDAFEC9D9E7F1C4A5B0BA ___val0, const RuntimeMethod* method) ;
// System.Void Unity.Mathematics.float3::.ctor(Unity.Mathematics.float2,System.Single)
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void float3__ctor_m294ACD85A4CE5F3F9C41D30933CA52AC64660830_inline (float3_t4AB5D88249ADB24F69FFD0793E8ED25E1CC3745E* __this, float2_t24AA5C0F612B0672315EDAFEC9D9E7F1C4A5B0BA ___xy0, float ___z1, const RuntimeMethod* method) ;
// Unity.Mathematics.float3 Unity.Mathematics.float3::op_Multiply(Unity.Mathematics.float3,System.Single)
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float3_t4AB5D88249ADB24F69FFD0793E8ED25E1CC3745E float3_op_Multiply_mD1D9969B1E1417BD268661848625F97CD44DA80D_inline (float3_t4AB5D88249ADB24F69FFD0793E8ED25E1CC3745E ___lhs0, float ___rhs1, const RuntimeMethod* method) ;
// Unity.Mathematics.float3 Unity.Mathematics.float3::get_xzy()
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float3_t4AB5D88249ADB24F69FFD0793E8ED25E1CC3745E float3_get_xzy_m6F67365A6925C25BFDD557F2EBD87C76E7BDDB77_inline (float3_t4AB5D88249ADB24F69FFD0793E8ED25E1CC3745E* __this, const RuntimeMethod* method) ;
// Unity.Mathematics.float3 Unity.Mathematics.math::normalize(Unity.Mathematics.float3)
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float3_t4AB5D88249ADB24F69FFD0793E8ED25E1CC3745E math_normalize_m826725DC58F0CE455E3DEB3BD4808C13CBC81E25_inline (float3_t4AB5D88249ADB24F69FFD0793E8ED25E1CC3745E ___x0, const RuntimeMethod* method) ;
// System.Void WaterSystem.GerstnerWavesJobs/HeightJob::Execute(System.Int32)
IL2CPP_EXTERN_C IL2CPP_NO_INLINE IL2CPP_METHOD_ATTR void HeightJob_Execute_m03B3444AFBD999287F407A187BB4C29F7E8BA595 (HeightJob_t3CC067C0FFCCB359C83849C23293DD240CBC94EC* IL2CPP_PARAMETER_RESTRICT __this, int32_t ___i0, const RuntimeMethod* method) ;
// UnityEngine.Vector3 UnityEngine.Vector3::get_forward()
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_get_forward_mEBAB24D77FC02FC88ED880738C3B1D47C758B3EB_inline (const RuntimeMethod* method) ;
// UnityEngine.Vector3 UnityEngine.Transform::TransformPoint(UnityEngine.Vector3)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Transform_TransformPoint_m05BFF013DB830D7BFE44A007703694AE1062EE44 (Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___position0, const RuntimeMethod* method) ;
// System.Single WaterSystem.MainCameraAlign::QuantizeValue(System.Single)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float MainCameraAlign_QuantizeValue_m81142189FE4FCA3AC5A7DC79FCD32D2C5761291A (MainCameraAlign_t11B7356BD1B1AD52E277FC0BAE1A4BAD92903D12* __this, float ___value0, const RuntimeMethod* method) ;
// System.Void WaterSystem.WaterSystemFeature/WaterFxPass::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void WaterFxPass__ctor_m349AF03E885E7980F3B593296186BB266264081F (WaterFxPass_t7E07E3E2745F0FD3567D3CAB421FB44653884497* __this, const RuntimeMethod* method) ;
// System.Void UnityEngine.Rendering.Universal.ScriptableRenderPass::set_renderPassEvent(UnityEngine.Rendering.Universal.RenderPassEvent)
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void ScriptableRenderPass_set_renderPassEvent_m63FA581FFDE1C69C2E1358BD0B8DB30275334960_inline (ScriptableRenderPass_tEA38F6C7AD8D111A2251E4C2A7530BCEE7D6D2B0* __this, int32_t ___value0, const RuntimeMethod* method) ;
// System.Void WaterSystem.WaterSystemFeature/WaterCausticsPass::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void WaterCausticsPass__ctor_mAE75DFD47D6C201FD42C9E317A23D9603F1B9BA8 (WaterCausticsPass_t922AB7DEF9518C198D2DF81EB7504248DB015F28* __this, const RuntimeMethod* method) ;
// UnityEngine.Shader UnityEngine.Shader::Find(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Shader_tADC867D36B7876EE22427FAA2CE485105F4EE692* Shader_Find_mFF2A8FC042B9CFAA9800679CA674D52859BF3A72 (String_t* ___name0, const RuntimeMethod* method) ;
// UnityEngine.Material UnityEngine.Rendering.CoreUtils::CreateEngineMaterial(UnityEngine.Shader)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* CoreUtils_CreateEngineMaterial_mAA09043C35B14C19847AD32F4864260DCE381791 (Shader_tADC867D36B7876EE22427FAA2CE485105F4EE692* ___shader0, const RuntimeMethod* method) ;
// System.Void UnityEngine.Material::SetFloat(System.String,System.Single)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Material_SetFloat_m879CF81D740BAE6F23C9822400679F4D16365836 (Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* __this, String_t* ___name0, float ___value1, const RuntimeMethod* method) ;
// System.Void UnityEngine.Material::SetTexture(System.Int32,UnityEngine.Texture)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Material_SetTexture_mA9F8461850AAB88F992E9C6FA6F24C2E050B83FD (Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* __this, int32_t ___nameID0, Texture_t791CBB51219779964E0E8A2ED7C1AA5F92A4A700* ___value1, const RuntimeMethod* method) ;
// System.Void UnityEngine.Material::SetFloat(System.Int32,System.Single)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Material_SetFloat_m3ECFD92072347A8620254F014865984FA68211A8 (Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* __this, int32_t ___nameID0, float ___value1, const RuntimeMethod* method) ;
// System.Void UnityEngine.Material::EnableKeyword(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Material_EnableKeyword_mE8523EF6CF694284DF976D47ADEDE9363A1174AC (Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* __this, String_t* ___keyword0, const RuntimeMethod* method) ;
// System.Void UnityEngine.Material::DisableKeyword(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Material_DisableKeyword_mC123927EBF2F2A19220A4456C8EA19F2BA416E8C (Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* __this, String_t* ___keyword0, const RuntimeMethod* method) ;
// System.Void UnityEngine.Rendering.Universal.ScriptableRenderer::EnqueuePass(UnityEngine.Rendering.Universal.ScriptableRenderPass)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ScriptableRenderer_EnqueuePass_m62AC5EFBA8DECFD514CAFC4EFDCFBF88C710954F (ScriptableRenderer_tF15B95BB85F26BE4B4719901D909831B89DC8892* __this, ScriptableRenderPass_tEA38F6C7AD8D111A2251E4C2A7530BCEE7D6D2B0* ___pass0, const RuntimeMethod* method) ;
// System.Void UnityEngine.Mesh::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Mesh__ctor_m5A9AECEDDAFFD84811ED8928012BDE97A9CEBD00 (Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* __this, const RuntimeMethod* method) ;
// System.Void UnityEngine.Mesh::set_vertices(UnityEngine.Vector3[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Mesh_set_vertices_m5BB814D89E9ACA00DBF19F7D8E22CB73AC73FE5C (Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* __this, Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* ___value0, const RuntimeMethod* method) ;
// System.Void System.Runtime.CompilerServices.RuntimeHelpers::InitializeArray(System.Array,System.RuntimeFieldHandle)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void RuntimeHelpers_InitializeArray_mE10C3436BA703E4D9D41B3F8F365E4C34F9926EF (RuntimeArray* ___array0, RuntimeFieldHandle_t6E4C45B6D2EA12FC99185805A7E77527899B25C5 ___fldHandle1, const RuntimeMethod* method) ;
// System.Void UnityEngine.Mesh::set_triangles(System.Int32[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Mesh_set_triangles_m124405320579A8D92711BB5A124644963A26F60B (Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* __this, Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* ___value0, const RuntimeMethod* method) ;
// System.Void WaterSystem.WaterSystemFeature/WaterSystemSettings::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void WaterSystemSettings__ctor_m3E7A518A4D9FC2969694DBE7246367CD23420AFA (WaterSystemSettings_tE1A03BEC806E79F355763506E93C356C0497BE8C* __this, const RuntimeMethod* method) ;
// System.Void UnityEngine.Rendering.Universal.ScriptableRendererFeature::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ScriptableRendererFeature__ctor_mA05EC9569A5DCF48CDD98E1FC5838857E2C4C001 (ScriptableRendererFeature_tF2ED08AD2498105378D4DAB0386A0F8A144EF4C6* __this, const RuntimeMethod* method) ;
// System.Void UnityEngine.Rendering.ProfilingSampler::.ctor(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ProfilingSampler__ctor_m26500989FCDB07FA33C9A3BB7F215CBD892F5BB7 (ProfilingSampler_t420D4672EDB44E0EF980B31ADFD9E5747200FECE* __this, String_t* ___name0, const RuntimeMethod* method) ;
// System.Void UnityEngine.Rendering.ShaderTagId::.ctor(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ShaderTagId__ctor_m4191968F1D2CE19F9092253EC10F83734A9CFF5B (ShaderTagId_t453E2085B5EE9448FF75E550CAB111EFF690ECB0* __this, String_t* ___name0, const RuntimeMethod* method) ;
// System.Void UnityEngine.Color::.ctor(System.Single,System.Single,System.Single,System.Single)
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Color__ctor_m3786F0D6E510D9CFA544523A955870BD2A514C8C_inline (Color_tD001788D726C3A7F1379BEED0260B9591F440C1F* __this, float ___r0, float ___g1, float ___b2, float ___a3, const RuntimeMethod* method) ;
// System.Void UnityEngine.Rendering.Universal.ScriptableRenderPass::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ScriptableRenderPass__ctor_mE49D4FF8E68A854367A4081E664B8DBA74E6B752 (ScriptableRenderPass_tEA38F6C7AD8D111A2251E4C2A7530BCEE7D6D2B0* __this, const RuntimeMethod* method) ;
// System.Void UnityEngine.Rendering.Universal.RenderTargetHandle::Init(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void RenderTargetHandle_Init_mDF9383A0DB5E0B56577BA43CC56CD659F8970646 (RenderTargetHandle_tB5C2670041BF377223D41FDF9290F6D8BFB7BA66* __this, String_t* ___shaderProperty0, const RuntimeMethod* method) ;
// UnityEngine.Rendering.RenderQueueRange UnityEngine.Rendering.RenderQueueRange::get_transparent()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RenderQueueRange_t7518252AA6426B1EA45D3D9B394F304EEF784D71 RenderQueueRange_get_transparent_mADF189E6DE85A3445B30B23E5E395D960D6F0BF3 (const RuntimeMethod* method) ;
// System.Void System.Nullable`1<UnityEngine.Rendering.RenderQueueRange>::.ctor(T)
inline void Nullable_1__ctor_mC09CE20B08C6A7188EE04F52B6A2E598657A0204 (Nullable_1_t7D98773CC20A842A0846271D1181ECBB0D95926C* __this, RenderQueueRange_t7518252AA6426B1EA45D3D9B394F304EEF784D71 ___value0, const RuntimeMethod* method)
{
(( void (*) (Nullable_1_t7D98773CC20A842A0846271D1181ECBB0D95926C*, RenderQueueRange_t7518252AA6426B1EA45D3D9B394F304EEF784D71, const RuntimeMethod*))Nullable_1__ctor_mC09CE20B08C6A7188EE04F52B6A2E598657A0204_gshared)(__this, ___value0, method);
}
// System.Void UnityEngine.Rendering.FilteringSettings::.ctor(System.Nullable`1<UnityEngine.Rendering.RenderQueueRange>,System.Int32,System.UInt32,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void FilteringSettings__ctor_m2A2242373FC7D053CFBBC6814D02AAC73C7B3AE7 (FilteringSettings_t75860B12A7BCF9A0E2F13CB2C2E5DCD9E1EEAD9F* __this, Nullable_1_t7D98773CC20A842A0846271D1181ECBB0D95926C ___renderQueueRange0, int32_t ___layerMask1, uint32_t ___renderingLayerMask2, int32_t ___excludeMotionVectorObjects3, const RuntimeMethod* method) ;
// System.Void UnityEngine.RenderTextureDescriptor::set_depthBufferBits(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void RenderTextureDescriptor_set_depthBufferBits_mA3710C0D6E485BA6465B328CD8B1954F0E4C5819 (RenderTextureDescriptor_t69845881CE6437E4E61F92074F2F84079F23FA46* __this, int32_t ___value0, const RuntimeMethod* method) ;
// System.Int32 UnityEngine.RenderTextureDescriptor::get_width()
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t RenderTextureDescriptor_get_width_mB159E4EB08B23B19CCCFADB465864361FB840BFF_inline (RenderTextureDescriptor_t69845881CE6437E4E61F92074F2F84079F23FA46* __this, const RuntimeMethod* method) ;
// System.Void UnityEngine.RenderTextureDescriptor::set_width(System.Int32)
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void RenderTextureDescriptor_set_width_m3B2494007BFE3AD4D14403407C9B24F5045E7E10_inline (RenderTextureDescriptor_t69845881CE6437E4E61F92074F2F84079F23FA46* __this, int32_t ___value0, const RuntimeMethod* method) ;
// System.Int32 UnityEngine.RenderTextureDescriptor::get_height()
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t RenderTextureDescriptor_get_height_m1006F9AA45029715C552C8A8C2F102F63D3A91EC_inline (RenderTextureDescriptor_t69845881CE6437E4E61F92074F2F84079F23FA46* __this, const RuntimeMethod* method) ;
// System.Void UnityEngine.RenderTextureDescriptor::set_height(System.Int32)
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void RenderTextureDescriptor_set_height_m1FE41111472DAA9B5E80FFAF3445004D72A3CFA5_inline (RenderTextureDescriptor_t69845881CE6437E4E61F92074F2F84079F23FA46* __this, int32_t ___value0, const RuntimeMethod* method) ;
// System.Void UnityEngine.RenderTextureDescriptor::set_colorFormat(UnityEngine.RenderTextureFormat)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void RenderTextureDescriptor_set_colorFormat_m61B0FA4FCDE8A0F8A843DD6BF74097C21021C4FE (RenderTextureDescriptor_t69845881CE6437E4E61F92074F2F84079F23FA46* __this, int32_t ___value0, const RuntimeMethod* method) ;
// System.Int32 UnityEngine.Rendering.Universal.RenderTargetHandle::get_id()
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t RenderTargetHandle_get_id_m4D50FDA4A486E05D07A54ABFC04BD96C1CE7D7BE_inline (RenderTargetHandle_tB5C2670041BF377223D41FDF9290F6D8BFB7BA66* __this, const RuntimeMethod* method) ;
// System.Void UnityEngine.Rendering.CommandBuffer::GetTemporaryRT(System.Int32,UnityEngine.RenderTextureDescriptor,UnityEngine.FilterMode)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void CommandBuffer_GetTemporaryRT_m98BCBFF670DDD3AC8657664F8252A9DF64D49FA5 (CommandBuffer_tB56007DC84EF56296C325EC32DD12AC1E3DC91F7* __this, int32_t ___nameID0, RenderTextureDescriptor_t69845881CE6437E4E61F92074F2F84079F23FA46 ___desc1, int32_t ___filter2, const RuntimeMethod* method) ;
// UnityEngine.Rendering.RenderTargetIdentifier UnityEngine.Rendering.Universal.RenderTargetHandle::Identifier()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RenderTargetIdentifier_tA528663AC6EB3911D8E91AA40F7070FA5455442B RenderTargetHandle_Identifier_mE7715B58419BC3E157BDCC906E92605F76BD4FBA (RenderTargetHandle_tB5C2670041BF377223D41FDF9290F6D8BFB7BA66* __this, const RuntimeMethod* method) ;
// System.Void UnityEngine.Rendering.Universal.ScriptableRenderPass::ConfigureTarget(UnityEngine.Rendering.RenderTargetIdentifier)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ScriptableRenderPass_ConfigureTarget_m6D5152700A43B1468E44A56F074285FE556BFB10 (ScriptableRenderPass_tEA38F6C7AD8D111A2251E4C2A7530BCEE7D6D2B0* __this, RenderTargetIdentifier_tA528663AC6EB3911D8E91AA40F7070FA5455442B ___colorAttachment0, const RuntimeMethod* method) ;
// System.Void UnityEngine.Rendering.Universal.ScriptableRenderPass::ConfigureClear(UnityEngine.Rendering.ClearFlag,UnityEngine.Color)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ScriptableRenderPass_ConfigureClear_m5C82128C3ABDD63621501DC012ED91F392ABF123 (ScriptableRenderPass_tEA38F6C7AD8D111A2251E4C2A7530BCEE7D6D2B0* __this, int32_t ___clearFlag0, Color_tD001788D726C3A7F1379BEED0260B9591F440C1F ___clearColor1, const RuntimeMethod* method) ;
// UnityEngine.Rendering.CommandBuffer UnityEngine.Rendering.CommandBufferPool::Get()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR CommandBuffer_tB56007DC84EF56296C325EC32DD12AC1E3DC91F7* CommandBufferPool_Get_m54EBE601AF00C8A5EDCAA503E65380F464BD1355 (const RuntimeMethod* method) ;
// System.Void UnityEngine.Rendering.ProfilingScope::.ctor(UnityEngine.Rendering.CommandBuffer,UnityEngine.Rendering.ProfilingSampler)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ProfilingScope__ctor_mE15813DF7651C1A3B6AFD6465AD4B973E8F1DBFC (ProfilingScope_t57898BA31E8EF8F083EF84E0DA2737AC61CBC5BD* __this, CommandBuffer_tB56007DC84EF56296C325EC32DD12AC1E3DC91F7* ___cmd0, ProfilingSampler_t420D4672EDB44E0EF980B31ADFD9E5747200FECE* ___sampler1, const RuntimeMethod* method) ;
// System.Void UnityEngine.Rendering.ProfilingScope::Dispose()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ProfilingScope_Dispose_m4231A2ACA1F8E345BB0078310A9F7601704C8BE4 (ProfilingScope_t57898BA31E8EF8F083EF84E0DA2737AC61CBC5BD* __this, const RuntimeMethod* method) ;
// System.Void UnityEngine.Rendering.ScriptableRenderContext::ExecuteCommandBuffer(UnityEngine.Rendering.CommandBuffer)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ScriptableRenderContext_ExecuteCommandBuffer_mBAE37DFC699B7167A6E2C59012066C44A31E9896 (ScriptableRenderContext_t5AB09B3602BEB456E0DC3D53926D3A3BDAF08E36* __this, CommandBuffer_tB56007DC84EF56296C325EC32DD12AC1E3DC91F7* ___commandBuffer0, const RuntimeMethod* method) ;
// System.Void UnityEngine.Rendering.CommandBuffer::Clear()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void CommandBuffer_Clear_m4E1272BD1A0C162C9C26434E115279F42FA557C7 (CommandBuffer_tB56007DC84EF56296C325EC32DD12AC1E3DC91F7* __this, const RuntimeMethod* method) ;
// UnityEngine.Rendering.DrawingSettings UnityEngine.Rendering.Universal.ScriptableRenderPass::CreateDrawingSettings(UnityEngine.Rendering.ShaderTagId,UnityEngine.Rendering.Universal.RenderingData&,UnityEngine.Rendering.SortingCriteria)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR DrawingSettings_t3B64EB029DB6F94A1F2A9B2D19D2969AE361BB49 ScriptableRenderPass_CreateDrawingSettings_mFB778BFA5DBC3B55AF8085487EE029C2DBA8A928 (ScriptableRenderPass_tEA38F6C7AD8D111A2251E4C2A7530BCEE7D6D2B0* __this, ShaderTagId_t453E2085B5EE9448FF75E550CAB111EFF690ECB0 ___shaderTagId0, RenderingData_tAAA01190551D6D5954314E3E1E85B58DD45EED71* ___renderingData1, int32_t ___sortingCriteria2, const RuntimeMethod* method) ;
// System.Void UnityEngine.Rendering.ScriptableRenderContext::DrawRenderers(UnityEngine.Rendering.CullingResults,UnityEngine.Rendering.DrawingSettings&,UnityEngine.Rendering.FilteringSettings&)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ScriptableRenderContext_DrawRenderers_m2128F24FEE37089B325EC8C76E24DBD12985A060 (ScriptableRenderContext_t5AB09B3602BEB456E0DC3D53926D3A3BDAF08E36* __this, CullingResults_tD6B7EF20B68D47DFF3A99EB2EA73F47F1D460267 ___cullingResults0, DrawingSettings_t3B64EB029DB6F94A1F2A9B2D19D2969AE361BB49* ___drawingSettings1, FilteringSettings_t75860B12A7BCF9A0E2F13CB2C2E5DCD9E1EEAD9F* ___filteringSettings2, const RuntimeMethod* method) ;
// System.Void UnityEngine.Rendering.CommandBufferPool::Release(UnityEngine.Rendering.CommandBuffer)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void CommandBufferPool_Release_mEC46D8373A95DEC68F1FBD2D77FF3F76917631BF (CommandBuffer_tB56007DC84EF56296C325EC32DD12AC1E3DC91F7* ___buffer0, const RuntimeMethod* method) ;
// System.Void UnityEngine.Rendering.CommandBuffer::ReleaseTemporaryRT(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void CommandBuffer_ReleaseTemporaryRT_m4651A4B373DF432AA44F06A6F20852ED5996CC8E (CommandBuffer_tB56007DC84EF56296C325EC32DD12AC1E3DC91F7* __this, int32_t ___nameID0, const RuntimeMethod* method) ;
// UnityEngine.Light UnityEngine.RenderSettings::get_sun()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Light_t1E68479B7782AF2050FAA02A5DC612FD034F18F3* RenderSettings_get_sun_m637087C297D6D8854BCBF775A80E0B51BB7B2986 (const RuntimeMethod* method) ;
// UnityEngine.Quaternion UnityEngine.Quaternion::Euler(System.Single,System.Single,System.Single)
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 Quaternion_Euler_mD4601D966F1F58F3FCA01B3FC19A12D0AD0396DD_inline (float ___x0, float ___y1, float ___z2, const RuntimeMethod* method) ;
// System.Void UnityEngine.Material::SetMatrix(System.String,UnityEngine.Matrix4x4)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Material_SetMatrix_m1F4E20583C898A1C1DBA256868E1F98C539F13FB (Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* __this, String_t* ___name0, Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 ___value1, const RuntimeMethod* method) ;
// UnityEngine.Mesh WaterSystem.WaterSystemFeature::GenerateCausticsMesh(System.Single)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* WaterSystemFeature_GenerateCausticsMesh_mD3D6E1A4DA232B9568330E8E5BACEDD6AB00CD1B (float ___size0, const RuntimeMethod* method) ;
// System.Void UnityEngine.Rendering.CommandBuffer::DrawMesh(UnityEngine.Mesh,UnityEngine.Matrix4x4,UnityEngine.Material,System.Int32,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void CommandBuffer_DrawMesh_m2CDCAC3E41416226D38770259BB2C56CB37D5EEF (CommandBuffer_tB56007DC84EF56296C325EC32DD12AC1E3DC91F7* __this, Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* ___mesh0, Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 ___matrix1, Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* ___material2, int32_t ___submeshIndex3, int32_t ___shaderPass4, const RuntimeMethod* method) ;
// UnityEngine.Object UnityEngine.Object::FindObjectOfType(System.Type)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C* Object_FindObjectOfType_mF9A94A2059CE512E485297DDBBA51C02B451E41F (Type_t* ___type0, const RuntimeMethod* method) ;
// System.Boolean UnityEngine.SystemInfo::get_supportsComputeShaders()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool SystemInfo_get_supportsComputeShaders_m66B7AF4AEC69D4819C794DDF8D2D800DAB946F3C (const RuntimeMethod* method) ;
// UnityEngine.RuntimePlatform UnityEngine.Application::get_platform()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Application_get_platform_m1AB34E71D9885B120F6021EB2B11DCB28CD6008D (const RuntimeMethod* method) ;
// System.Void WaterSystem.Water::Init()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Water_Init_m62487EDA8AB745B94CE66D1D0C257C8A16D08D0F (Water_t8D0105147A62029CB3B0497FE968F18E33C3D319* __this, const RuntimeMethod* method) ;
// UnityEngine.Object UnityEngine.Resources::Load(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C* Resources_Load_m9608D2902F542C0B7FD52EFED088323448B9FA35 (String_t* ___path0, const RuntimeMethod* method) ;
// System.Void WaterSystem.Water::Cleanup()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Water_Cleanup_m4FA7C7CF051824A828FD161DE7ED069381C52B80 (Water_t8D0105147A62029CB3B0497FE968F18E33C3D319* __this, const RuntimeMethod* method) ;
// System.Void WaterSystem.GerstnerWavesJobs::Cleanup()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GerstnerWavesJobs_Cleanup_mD3134E49CB7E3D77D22C0DB89B9116317DBCC3C1 (const RuntimeMethod* method) ;
// System.Void WaterSystem.Water::SafeDestroy(UnityEngine.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Water_SafeDestroy_m3B160FC14CC629BD6799478332DE8AE5C3FFBFFA (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C* ___o0, const RuntimeMethod* method) ;
// System.Void UnityEngine.ComputeBuffer::Dispose()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ComputeBuffer_Dispose_mBCA0F8A5BE75A41C77E1FCFBCB4EAE84A45D6BF2 (ComputeBuffer_t51EADA9015EBCC1B982C5584E9AB2734415A8233* __this, const RuntimeMethod* method) ;
// UnityEngine.Vector3 UnityEngine.Transform::get_localEulerAngles()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Transform_get_localEulerAngles_m358AA9AE8FA24FD1BB7842D231C8644D1C2910C6 (Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* __this, const RuntimeMethod* method) ;
// System.Void UnityEngine.Shader::SetGlobalFloat(System.Int32,System.Single)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Shader_SetGlobalFloat_mB47626BB0891837BEA02A53DB933F7ED7B115D11 (int32_t ___nameID0, float ___value1, const RuntimeMethod* method) ;
// UnityEngine.Matrix4x4 UnityEngine.Camera::get_projectionMatrix()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 Camera_get_projectionMatrix_m9B943EFDD6418528A055321E14F75F1511DD9B4A (Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184* __this, const RuntimeMethod* method) ;
// UnityEngine.Matrix4x4 UnityEngine.GL::GetGPUProjectionMatrix(UnityEngine.Matrix4x4,System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 GL_GetGPUProjectionMatrix_m5E0E33B107C7CA271DC6E9B3DBD45F5D8FA56688 (Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 ___proj0, bool ___renderIntoTexture1, const RuntimeMethod* method) ;
// UnityEngine.Matrix4x4 UnityEngine.Matrix4x4::get_inverse()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 Matrix4x4_get_inverse_m4F4A881CD789281EA90EB68CFD39F36C8A81E6BD (Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6* __this, const RuntimeMethod* method) ;
// System.Void UnityEngine.Shader::SetGlobalMatrix(System.Int32,UnityEngine.Matrix4x4)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Shader_SetGlobalMatrix_mC607F02C549C45012DDE1E2A6EF191591BE8F819 (int32_t ___nameID0, Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 ___value1, const RuntimeMethod* method) ;
// System.Int32 UnityEngine.GameObject::get_layer()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t GameObject_get_layer_m108902B9C89E9F837CE06B9942AA42307450FEAF (GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* __this, const RuntimeMethod* method) ;
// System.Void UnityEngine.Graphics::DrawMesh(UnityEngine.Mesh,UnityEngine.Matrix4x4,UnityEngine.Material,System.Int32,UnityEngine.Camera,System.Int32,UnityEngine.MaterialPropertyBlock,UnityEngine.Rendering.ShadowCastingMode,System.Boolean,UnityEngine.Transform,UnityEngine.Rendering.LightProbeUsage,UnityEngine.LightProbeProxyVolume)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Graphics_DrawMesh_mFCB28534691B68C8E3B0EE763D69A70C6568AC32 (Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* ___mesh0, Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 ___matrix1, Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* ___material2, int32_t ___layer3, Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184* ___camera4, int32_t ___submeshIndex5, MaterialPropertyBlock_t2308669579033A857EFE6E4831909F638B27411D* ___properties6, int32_t ___castShadows7, bool ___receiveShadows8, Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___probeAnchor9, int32_t ___lightProbeUsage10, LightProbeProxyVolume_t431001CA94D2BB5DB419E2A89E7D8116E4E1B658* ___lightProbeProxyVolume11, const RuntimeMethod* method) ;
// System.Boolean UnityEngine.Application::get_isPlaying()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Application_get_isPlaying_m0B3B501E1093739F8887A0DAC5F61D9CB49CC337 (const RuntimeMethod* method) ;
// System.Void WaterSystem.Water::SetWaves()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Water_SetWaves_m8038F26AA638BCBD0558230E9A30B1D58C415141 (Water_t8D0105147A62029CB3B0497FE968F18E33C3D319* __this, const RuntimeMethod* method) ;
// System.Void WaterSystem.Water::GenerateColorRamp()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Water_GenerateColorRamp_mDE2229361F339B0FE04E8E781517F08B1301005A (Water_t8D0105147A62029CB3B0497FE968F18E33C3D319* __this, const RuntimeMethod* method) ;
// System.Boolean UnityEngine.GameObject::TryGetComponent<UnityEngine.Rendering.Universal.PlanarReflections>(T&)
inline bool GameObject_TryGetComponent_TisPlanarReflections_t89C378C054F8113CB465D2A27E38FCC4F4B9F169_m8675242156BDC0387259FFC13C4FABF162987625 (GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* __this, PlanarReflections_t89C378C054F8113CB465D2A27E38FCC4F4B9F169** ___component0, const RuntimeMethod* method)
{
return (( bool (*) (GameObject_t76FEDD663AB33C991A9C9A23129337651094216F*, PlanarReflections_t89C378C054F8113CB465D2A27E38FCC4F4B9F169**, const RuntimeMethod*))GameObject_TryGetComponent_TisRuntimeObject_m4D430300D2DFB9276DE980D78F60A05D271D3630_gshared)(__this, ___component0, method);
}
// T UnityEngine.GameObject::AddComponent<UnityEngine.Rendering.Universal.PlanarReflections>()
inline PlanarReflections_t89C378C054F8113CB465D2A27E38FCC4F4B9F169* GameObject_AddComponent_TisPlanarReflections_t89C378C054F8113CB465D2A27E38FCC4F4B9F169_mED85BC7E9D183C24A2855DF50CCA69DD37CFBDED (GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* __this, const RuntimeMethod* method)
{
return (( PlanarReflections_t89C378C054F8113CB465D2A27E38FCC4F4B9F169* (*) (GameObject_t76FEDD663AB33C991A9C9A23129337651094216F*, const RuntimeMethod*))GameObject_AddComponent_TisRuntimeObject_m69B93700FACCF372F5753371C6E8FB780800B824_gshared)(__this, method);
}
// System.Void WaterSystem.Water::CaptureDepthMap()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Water_CaptureDepthMap_m1F6F67C77CD1874CD9AC7A1BAD6CC37DA9DCBCF1 (Water_t8D0105147A62029CB3B0497FE968F18E33C3D319* __this, const RuntimeMethod* method) ;
// System.Void WaterSystem.GerstnerWavesJobs::UpdateHeights()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GerstnerWavesJobs_UpdateHeights_m7ED1CCD8B1DB5279C7DAF13EBCAC70A62DE631C4 (const RuntimeMethod* method) ;
// T UnityEngine.Component::GetComponent<UnityEngine.Renderer>()
inline Renderer_t320575F223BCB177A982E5DDB5DB19FAA89E7FBF* Component_GetComponent_TisRenderer_t320575F223BCB177A982E5DDB5DB19FAA89E7FBF_mC91ACC92AD57CA6CA00991DAF1DB3830BCE07AF8 (Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3* __this, const RuntimeMethod* method)
{
return (( Renderer_t320575F223BCB177A982E5DDB5DB19FAA89E7FBF* (*) (Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3*, const RuntimeMethod*))Component_GetComponent_TisRuntimeObject_m7181F81CAEC2CF53F5D2BC79B7425C16E1F80D33_gshared)(__this, method);
}
// UnityEngine.Material UnityEngine.Renderer::get_sharedMaterial()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* Renderer_get_sharedMaterial_mA2E0CA0A564617FFC3E0E50947C6300082C35F81 (Renderer_t320575F223BCB177A982E5DDB5DB19FAA89E7FBF* __this, const RuntimeMethod* method) ;
// System.Void WaterSystem.Water::SetupWaves(System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Water_SetupWaves_m0D4FA257E41D3B352424DEF811B4F764B0D9A000 (Water_t8D0105147A62029CB3B0497FE968F18E33C3D319* __this, bool ___custom0, const RuntimeMethod* method) ;
// System.Void UnityEngine.Shader::SetGlobalInt(System.Int32,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Shader_SetGlobalInt_m487BAAACF62CE7DA8F72D16232D450B8BF551FFD (int32_t ___nameID0, int32_t ___value1, const RuntimeMethod* method) ;
// System.Void UnityEngine.ComputeBuffer::.ctor(System.Int32,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ComputeBuffer__ctor_mE40DE5EF5ADAC29B6B4DECBD1EE33E8526202617 (ComputeBuffer_t51EADA9015EBCC1B982C5584E9AB2734415A8233* __this, int32_t ___count0, int32_t ___stride1, const RuntimeMethod* method) ;
// System.Void UnityEngine.ComputeBuffer::SetData(System.Array)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ComputeBuffer_SetData_m9F845E6B347CE028FA9A987D740FC642D828013A (ComputeBuffer_t51EADA9015EBCC1B982C5584E9AB2734415A8233* __this, RuntimeArray* ___data0, const RuntimeMethod* method) ;
// System.Void UnityEngine.Shader::SetGlobalBuffer(System.Int32,UnityEngine.ComputeBuffer)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Shader_SetGlobalBuffer_m3B4447FE9ABC0B514B3587CBEBE8865889DADB87 (int32_t ___nameID0, ComputeBuffer_t51EADA9015EBCC1B982C5584E9AB2734415A8233* ___value1, const RuntimeMethod* method) ;
// UnityEngine.Vector4[] WaterSystem.Water::GetWaveData()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector4U5BU5D_tC0F3A7115F85007510F6D173968200CD31BCF7AD* Water_GetWaveData_m74FB2ABDC3BDCD47BAB300C1A7FA7795230EF3FD (Water_t8D0105147A62029CB3B0497FE968F18E33C3D319* __this, const RuntimeMethod* method) ;
// System.Void UnityEngine.Shader::SetGlobalVectorArray(System.Int32,UnityEngine.Vector4[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Shader_SetGlobalVectorArray_m234F13F311E064E3968484D3551C4E51370F8AEA (int32_t ___nameID0, Vector4U5BU5D_tC0F3A7115F85007510F6D173968200CD31BCF7AD* ___values1, const RuntimeMethod* method) ;
// System.Void WaterSystem.GerstnerWavesJobs::Init()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GerstnerWavesJobs_Init_mF41341E469543965D58C5294B18E01209CAB068D (const RuntimeMethod* method) ;
// UnityEngine.Random/State UnityEngine.Random::get_state()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR State_tA37EB68FE687D41D4B228462D4C7427FAC5BF9C1 Random_get_state_mFAD991B203C7A35EA603A4B72D8955CEF420234F (const RuntimeMethod* method) ;
// System.Void UnityEngine.Random::InitState(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Random_InitState_m734272C185A487994FC63FA9950BA74D573CDFF8 (int32_t ___seed0, const RuntimeMethod* method) ;
// System.Single UnityEngine.Mathf::Lerp(System.Single,System.Single,System.Single)
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Mathf_Lerp_mFB4910B358B986AFB22114ED90458E8341867479_inline (float ___a0, float ___b1, float ___t2, const RuntimeMethod* method) ;
// System.Single UnityEngine.Random::Range(System.Single,System.Single)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float Random_Range_mF26F26EB446B76823B4815C91FA0907B484DF02B (float ___minInclusive0, float ___maxInclusive1, const RuntimeMethod* method) ;
// UnityEngine.Vector2 UnityEngine.Vector2::get_zero()
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 Vector2_get_zero_m009B92B5D35AB02BD1610C2E1ACCE7C9CF964A6E_inline (const RuntimeMethod* method) ;
// Unity.Mathematics.float2 Unity.Mathematics.float2::op_Implicit(UnityEngine.Vector2)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float2_t24AA5C0F612B0672315EDAFEC9D9E7F1C4A5B0BA float2_op_Implicit_m8E75C8507A36C26109E6ECAAF56FAA38279493D0 (Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___v0, const RuntimeMethod* method) ;
// System.Void WaterSystem.Data.Wave::.ctor(System.Single,System.Single,System.Single,Unity.Mathematics.float2,System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Wave__ctor_m54DA9784CE63B5AE16B1902D59443A9CA0B3BB04 (Wave_t98FB676A74FA3481325B501BF6AFA3A4B02D64CB* __this, float ___amp0, float ___dir1, float ___length2, float2_t24AA5C0F612B0672315EDAFEC9D9E7F1C4A5B0BA ___org3, bool ___omni4, const RuntimeMethod* method) ;
// System.Void UnityEngine.Random::set_state(UnityEngine.Random/State)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Random_set_state_m350D9947EE0DBB1C1D14C5C74E2112C88BAA8CCC (State_tA37EB68FE687D41D4B228462D4C7427FAC5BF9C1 ___value0, const RuntimeMethod* method) ;
// T[] System.Collections.Generic.List`1<WaterSystem.Data.Wave>::ToArray()
inline WaveU5BU5D_t464305B39C1E1AA8D0E58528BC0562C10AB70BC5* List_1_ToArray_m6044057B54DA2B3B740EE5B83B885976380DF9BD (List_1_tBC238FE9E191BC345C4C774C9917EFB6D9B7F1CC* __this, const RuntimeMethod* method)
{
return (( WaveU5BU5D_t464305B39C1E1AA8D0E58528BC0562C10AB70BC5* (*) (List_1_tBC238FE9E191BC345C4C774C9917EFB6D9B7F1CC*, const RuntimeMethod*))List_1_ToArray_m6044057B54DA2B3B740EE5B83B885976380DF9BD_gshared)(__this, method);
}
// System.Void UnityEngine.Texture2D::.ctor(System.Int32,System.Int32,UnityEngine.Experimental.Rendering.GraphicsFormat,UnityEngine.Experimental.Rendering.TextureCreationFlags)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Texture2D__ctor_m2E76254260C768B5D64D1664EE3929D198766CEF (Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4* __this, int32_t ___width0, int32_t ___height1, int32_t ___format2, int32_t ___flags3, const RuntimeMethod* method) ;
// System.Void UnityEngine.Texture::set_wrapMode(UnityEngine.TextureWrapMode)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Texture_set_wrapMode_m1F74A690E3883EC9C5C371D502D09642F15D0F7E (Texture_t791CBB51219779964E0E8A2ED7C1AA5F92A4A700* __this, int32_t ___value0, const RuntimeMethod* method) ;
// UnityEngine.Color UnityEngine.Gradient::Evaluate(System.Single)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Color_tD001788D726C3A7F1379BEED0260B9591F440C1F Gradient_Evaluate_m332A32F48EA3F884CB55D74131DF8064F29F9C32 (Gradient_tA7FEBE2FDB4929FFF6C997134841046F713DAC1E* __this, float ___time0, const RuntimeMethod* method) ;
// UnityEngine.Color UnityEngine.Texture2D::GetPixelBilinear(System.Single,System.Single)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Color_tD001788D726C3A7F1379BEED0260B9591F440C1F Texture2D_GetPixelBilinear_m6AE4AF4FD181C478DF0F2C5C329F22A263ABFF5C (Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4* __this, float ___u0, float ___v1, const RuntimeMethod* method) ;
// System.Single UnityEngine.AnimationCurve::Evaluate(System.Single)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float AnimationCurve_Evaluate_m50B857043DE251A186032ADBCBB4CEF817F4EE3C (AnimationCurve_tCBFFAAD05CEBB35EF8D8631BD99914BE1A6BB354* __this, float ___time0, const RuntimeMethod* method) ;
// UnityEngine.Color UnityEngine.Color::get_black()
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Color_tD001788D726C3A7F1379BEED0260B9591F440C1F Color_get_black_mBF96B603B41BED9BAFAA10CE8D946D24260F9729_inline (const RuntimeMethod* method) ;
// System.Void UnityEngine.Texture2D::SetPixels(UnityEngine.Color[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Texture2D_SetPixels_mAE0CDFA15FA96F840D7FFADC31405D8AF20D9073 (Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4* __this, ColorU5BU5D_t612261CF293F6FFC3D80AB52259FF0DC2B2CC389* ___colors0, const RuntimeMethod* method) ;
// System.Void UnityEngine.Texture2D::Apply()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Texture2D_Apply_mA014182C9EE0BBF6EEE3B286854F29E50EB972DC (Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4* __this, const RuntimeMethod* method) ;
// System.Void UnityEngine.GameObject::.ctor(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GameObject__ctor_m37D512B05D292F954792225E6C6EEE95293A9B88 (GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* __this, String_t* ___name0, const RuntimeMethod* method) ;
// T UnityEngine.GameObject::AddComponent<UnityEngine.Camera>()
inline Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184* GameObject_AddComponent_TisCamera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184_m0933BC50E883CDEF6FA83FE190DA37CCB2802142 (GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* __this, const RuntimeMethod* method)
{
return (( Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184* (*) (GameObject_t76FEDD663AB33C991A9C9A23129337651094216F*, const RuntimeMethod*))GameObject_AddComponent_TisRuntimeObject_m69B93700FACCF372F5753371C6E8FB780800B824_gshared)(__this, method);
}
// UnityEngine.Rendering.Universal.UniversalAdditionalCameraData UnityEngine.Rendering.Universal.CameraExtensions::GetUniversalAdditionalCameraData(UnityEngine.Camera)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR UniversalAdditionalCameraData_t57B5D0F93C2D506E618E23187302C0FADE813B93* CameraExtensions_GetUniversalAdditionalCameraData_m9569F6B752EB0C211CCBA55A68396E2C95BED0C1 (Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184* ___camera0, const RuntimeMethod* method) ;
// System.Void UnityEngine.Camera::set_orthographic(System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Camera_set_orthographic_m64915C0840A68E526830A69F1C40257206185020 (Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184* __this, bool ___value0, const RuntimeMethod* method) ;
// System.Void UnityEngine.Camera::set_orthographicSize(System.Single)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Camera_set_orthographicSize_m76DD021032ACB3DDBD052B75EC66DCE3A7295A5C (Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184* __this, float ___value0, const RuntimeMethod* method) ;
// System.Void UnityEngine.Camera::set_nearClipPlane(System.Single)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Camera_set_nearClipPlane_m78482B5E4E0CE4C195D9CE0332AA75B2D9CCDDF6 (Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184* __this, float ___value0, const RuntimeMethod* method) ;
// System.Void UnityEngine.Camera::set_farClipPlane(System.Single)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Camera_set_farClipPlane_m84EF39B09573168734613481FD979BFF31C60139 (Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184* __this, float ___value0, const RuntimeMethod* method) ;
// System.Void UnityEngine.Camera::set_allowHDR(System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Camera_set_allowHDR_m44211153DAF6DF9A51142EC7760A53777C1F3315 (Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184* __this, bool ___value0, const RuntimeMethod* method) ;
// System.Void UnityEngine.Camera::set_allowMSAA(System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Camera_set_allowMSAA_m7BE26D3FAAA64202C49DE6CA95C02A85770F8268 (Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184* __this, bool ___value0, const RuntimeMethod* method) ;
// System.Void UnityEngine.RenderTexture::.ctor(System.Int32,System.Int32,System.Int32,UnityEngine.RenderTextureFormat,UnityEngine.RenderTextureReadWrite)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void RenderTexture__ctor_m68A1B9CAA1BE0B597C5F4895C296E21502D0C962 (RenderTexture_tBA90C4C3AD9EECCFDDCC632D97C29FAB80D60D27* __this, int32_t ___width0, int32_t ___height1, int32_t ___depth2, int32_t ___format3, int32_t ___readWrite4, const RuntimeMethod* method) ;
// UnityEngine.Rendering.GraphicsDeviceType UnityEngine.SystemInfo::get_graphicsDeviceType()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t SystemInfo_get_graphicsDeviceType_m539E2B66EB19CD100050109D879AF1F55EB212E1 (const RuntimeMethod* method) ;
// System.Void UnityEngine.Texture::set_filterMode(UnityEngine.FilterMode)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Texture_set_filterMode_mE423E58C0C16D059EA62BA87AD70F44AEA50CCC9 (Texture_t791CBB51219779964E0E8A2ED7C1AA5F92A4A700* __this, int32_t ___value0, const RuntimeMethod* method) ;
// System.Void UnityEngine.Object::set_name(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Object_set_name_mC79E6DC8FFD72479C90F0C4CC7F42A0FEAF5AE47 (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C* __this, String_t* ___value0, const RuntimeMethod* method) ;
// System.Void UnityEngine.Camera::Render()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Camera_Render_m6089001EB6710DA9A21C87185D65922F13A24509 (Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184* __this, const RuntimeMethod* method) ;
// System.Void UnityEngine.Shader::SetGlobalVector(System.Int32,UnityEngine.Vector4)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Shader_SetGlobalVector_m8A7D161EE6CD6D21EAEC6A70E30B5E0897F5A84E (int32_t ___nameID0, Vector4_t58B63D32F48C0DBF50DE2C60794C4676C80EDBE3 ___value1, const RuntimeMethod* method) ;
// System.Void System.Collections.Generic.List`1<WaterSystem.Data.Wave>::.ctor()
inline void List_1__ctor_mFA599B4E263EC595C3BF7A13AAFAD3F4F4A793DF (List_1_tBC238FE9E191BC345C4C774C9917EFB6D9B7F1CC* __this, const RuntimeMethod* method)
{
(( void (*) (List_1_tBC238FE9E191BC345C4C774C9917EFB6D9B7F1CC*, const RuntimeMethod*))List_1__ctor_mFA599B4E263EC595C3BF7A13AAFAD3F4F4A793DF_gshared)(__this, method);
}
// System.Void WaterSystem.Data.BasicWaves::.ctor(System.Single,System.Single,System.Single)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void BasicWaves__ctor_m8A986571AC0BFA5E29B06A6BEA233F017D07367E (BasicWaves_tC7BCDF12B18FB4126AB8A0BCC8CD1DCC33156D96* __this, float ___amp0, float ___dir1, float ___len2, const RuntimeMethod* method) ;
// System.Void WaterSystem.Data.FoamSettings::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void FoamSettings__ctor_m10FC88C54B32EE892A1D514AE38AD3975D5CC7E5 (FoamSettings_tAB393D4E610A9219CD0C021238F8A18B0839608E* __this, const RuntimeMethod* method) ;
// System.Void UnityEngine.Keyframe::.ctor(System.Single,System.Single)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Keyframe__ctor_mECF144086B28785BE911A22C06194A9E0FBF3C34 (Keyframe_tB9C67DCBFE10C0AE9C52CB5C66E944255C9254F0* __this, float ___time0, float ___value1, const RuntimeMethod* method) ;
// System.Void UnityEngine.AnimationCurve::.ctor(UnityEngine.Keyframe[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AnimationCurve__ctor_mEABC98C03805713354D61E50D9340766BD5B717E (AnimationCurve_tCBFFAAD05CEBB35EF8D8631BD99914BE1A6BB354* __this, KeyframeU5BU5D_t63250A46914A6A07B2A6689850D47D7D19D80BA3* ___keys0, const RuntimeMethod* method) ;
// System.Void System.IndexOutOfRangeException::.ctor(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IndexOutOfRangeException__ctor_mFD06819F05B815BE2D6E826D4E04F4C449D0A425 (IndexOutOfRangeException_t7ECB35264FB6CA8FAA516BD958F4B2ADC78E8A82* __this, String_t* ___message0, const RuntimeMethod* method) ;
// UnityEngine.Vector3 UnityEngine.Vector3::Normalize(UnityEngine.Vector3)
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_Normalize_m6120F119433C5B60BBB28731D3D4A0DA50A84DDD_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___value0, const RuntimeMethod* method) ;
// System.Single Unity.Mathematics.math::min(System.Single,System.Single)
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float math_min_mE93EEB61C438816CB626CA58653B828E43C82268_inline (float ___x0, float ___y1, const RuntimeMethod* method) ;
// System.Single Unity.Mathematics.math::max(System.Single,System.Single)
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float math_max_mF7035168A46D333C6A703B673220B115411B67C1_inline (float ___x0, float ___y1, const RuntimeMethod* method) ;
// System.Single Unity.Mathematics.math::rsqrt(System.Single)
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float math_rsqrt_mB695A0575E7C8F937B0E12804508B0F489F55997_inline (float ___x0, const RuntimeMethod* method) ;
// Unity.Mathematics.float2 Unity.Mathematics.float2::op_Multiply(System.Single,Unity.Mathematics.float2)
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float2_t24AA5C0F612B0672315EDAFEC9D9E7F1C4A5B0BA float2_op_Multiply_m5F69F01DCD43A1E5C5D51EE8C8D96249401DABC8_inline (float ___lhs0, float2_t24AA5C0F612B0672315EDAFEC9D9E7F1C4A5B0BA ___rhs1, const RuntimeMethod* method) ;
// System.Single Unity.Mathematics.math::dot(Unity.Mathematics.float3,Unity.Mathematics.float3)
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float math_dot_mFC6E6AC5C12A0802A91EB7F9A897802DFF03C44D_inline (float3_t4AB5D88249ADB24F69FFD0793E8ED25E1CC3745E ___x0, float3_t4AB5D88249ADB24F69FFD0793E8ED25E1CC3745E ___y1, const RuntimeMethod* method) ;
// UnityEngine.Quaternion UnityEngine.Quaternion::Internal_FromEulerRad(UnityEngine.Vector3)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 Quaternion_Internal_FromEulerRad_m2842B9FFB31CDC0F80B7C2172E22831D11D91E93 (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___euler0, const RuntimeMethod* method) ;
// System.Single UnityEngine.Mathf::Clamp01(System.Single)
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Mathf_Clamp01_mD921B23F47F5347996C56DC789D1DE16EE27D9B1_inline (float ___value0, const RuntimeMethod* method) ;
// System.Single UnityEngine.Vector3::Magnitude(UnityEngine.Vector3)
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Vector3_Magnitude_m6AD0BEBF88AAF98188A851E62D7A32CB5B7830EF_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___vector0, const RuntimeMethod* method) ;
// System.Boolean System.Single::IsNaN(System.Single)
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR bool Single_IsNaN_m684B090AA2F895FD91821CA8684CBC11D784E4DD_inline (float ___f0, const RuntimeMethod* method) ;
// System.Int32 System.BitConverter::SingleToInt32Bits(System.Single)
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t BitConverter_SingleToInt32Bits_mA1902D40966CA4C89A8974B10E5680A06E88566B_inline (float ___value0, const RuntimeMethod* method) ;
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void LocalToWorldJob::SetupJob(System.Int32,UnityEngine.Vector3[],Unity.Collections.NativeArray`1<Unity.Mathematics.float3>&)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void LocalToWorldJob_SetupJob_m93EF72B82EA2CA3859926AEC943A9845A6BDC929 (int32_t ___guid0, Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* ___positions1, NativeArray_1_tEDE9DAD2CAE5954286BC0EF394A57ED0AC69FEE6* ___output2, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Dictionary_2_Add_mF734BB544622985070F4A5064667541FDC8C9F5E_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&LocalToWorldJob_tDFBD6859E10A384CFA9407CA1D07CF9ACBB1D3EE_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&NativeArray_1__ctor_m965B9BE6DD806F31A767FF7CB33BEA509B7C90D7_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TransformLocalToWorld_tE67A70BFEDF4AF544F58C9F6A47CC3DB9D8387F3_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
TransformLocalToWorld_tE67A70BFEDF4AF544F58C9F6A47CC3DB9D8387F3* V_0 = NULL;
int32_t V_1 = 0;
bool V_2 = false;
{
// var jobData = new TransformLocalToWorld
// {
// PositionsWorld = output,
// PositionsLocal = new NativeArray<float3>(positions.Length, Allocator.Persistent)
// };
TransformLocalToWorld_tE67A70BFEDF4AF544F58C9F6A47CC3DB9D8387F3* L_0 = (TransformLocalToWorld_tE67A70BFEDF4AF544F58C9F6A47CC3DB9D8387F3*)il2cpp_codegen_object_new(TransformLocalToWorld_tE67A70BFEDF4AF544F58C9F6A47CC3DB9D8387F3_il2cpp_TypeInfo_var);
NullCheck(L_0);
TransformLocalToWorld__ctor_m9A7027421F46F69618BD1278B1593A29700434B0(L_0, NULL);
TransformLocalToWorld_tE67A70BFEDF4AF544F58C9F6A47CC3DB9D8387F3* L_1 = L_0;
NativeArray_1_tEDE9DAD2CAE5954286BC0EF394A57ED0AC69FEE6* L_2 = ___output2;
NativeArray_1_tEDE9DAD2CAE5954286BC0EF394A57ED0AC69FEE6 L_3 = (*(NativeArray_1_tEDE9DAD2CAE5954286BC0EF394A57ED0AC69FEE6*)L_2);
NullCheck(L_1);
L_1->___PositionsWorld_1 = L_3;
TransformLocalToWorld_tE67A70BFEDF4AF544F58C9F6A47CC3DB9D8387F3* L_4 = L_1;
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_5 = ___positions1;
NullCheck(L_5);
NativeArray_1_tEDE9DAD2CAE5954286BC0EF394A57ED0AC69FEE6 L_6;
memset((&L_6), 0, sizeof(L_6));
NativeArray_1__ctor_m965B9BE6DD806F31A767FF7CB33BEA509B7C90D7((&L_6), ((int32_t)(((RuntimeArray*)L_5)->max_length)), 4, 1, /*hidden argument*/NativeArray_1__ctor_m965B9BE6DD806F31A767FF7CB33BEA509B7C90D7_RuntimeMethod_var);
NullCheck(L_4);
L_4->___PositionsLocal_0 = L_6;
V_0 = L_4;
// for (var i = 0; i < positions.Length; i++)
V_1 = 0;
goto IL_0044;
}
IL_0027:
{
// jobData.PositionsLocal[i] = positions[i];
TransformLocalToWorld_tE67A70BFEDF4AF544F58C9F6A47CC3DB9D8387F3* L_7 = V_0;
NullCheck(L_7);
NativeArray_1_tEDE9DAD2CAE5954286BC0EF394A57ED0AC69FEE6* L_8 = (&L_7->___PositionsLocal_0);
int32_t L_9 = V_1;
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_10 = ___positions1;
int32_t L_11 = V_1;
NullCheck(L_10);
int32_t L_12 = L_11;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_13 = (L_10)->GetAt(static_cast<il2cpp_array_size_t>(L_12));
float3_t4AB5D88249ADB24F69FFD0793E8ED25E1CC3745E L_14;
L_14 = float3_op_Implicit_mEFC9D4DC1F88125A32EAD98DDD519DDB1F146292(L_13, NULL);
IL2CPP_NATIVEARRAY_SET_ITEM(float3_t4AB5D88249ADB24F69FFD0793E8ED25E1CC3745E, (L_8)->___m_Buffer_0, L_9, (L_14));
// for (var i = 0; i < positions.Length; i++)
int32_t L_15 = V_1;
V_1 = ((int32_t)il2cpp_codegen_add(L_15, 1));
}
IL_0044:
{
// for (var i = 0; i < positions.Length; i++)
int32_t L_16 = V_1;
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_17 = ___positions1;
NullCheck(L_17);
V_2 = (bool)((((int32_t)L_16) < ((int32_t)((int32_t)(((RuntimeArray*)L_17)->max_length))))? 1 : 0);
bool L_18 = V_2;
if (L_18)
{
goto IL_0027;
}
}
{
// Data.Add(guid, jobData);
il2cpp_codegen_runtime_class_init_inline(LocalToWorldJob_tDFBD6859E10A384CFA9407CA1D07CF9ACBB1D3EE_il2cpp_TypeInfo_var);
Dictionary_2_t04D9DCBB28EAB303065226F1E05133427281836B* L_19 = ((LocalToWorldJob_tDFBD6859E10A384CFA9407CA1D07CF9ACBB1D3EE_StaticFields*)il2cpp_codegen_static_fields_for(LocalToWorldJob_tDFBD6859E10A384CFA9407CA1D07CF9ACBB1D3EE_il2cpp_TypeInfo_var))->___Data_0;
int32_t L_20 = ___guid0;
TransformLocalToWorld_tE67A70BFEDF4AF544F58C9F6A47CC3DB9D8387F3* L_21 = V_0;
NullCheck(L_19);
Dictionary_2_Add_mF734BB544622985070F4A5064667541FDC8C9F5E(L_19, L_20, L_21, Dictionary_2_Add_mF734BB544622985070F4A5064667541FDC8C9F5E_RuntimeMethod_var);
// }
return;
}
}
// System.Void LocalToWorldJob::ScheduleJob(System.Int32,UnityEngine.Matrix4x4)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void LocalToWorldJob_ScheduleJob_mA4B8BF201C13FC77CA56D1865316A17EE62FD08E (int32_t ___guid0, Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 ___localToWorld1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Dictionary_2_get_Item_m91A3CCB375E00D452413E798FC10A16139D46767_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IJobExtensions_Schedule_TisLocalToWorldConvertJob_t267E7E07E36B323842ECCEE9BDF7151F14DA3C32_mA6B690E4A41503DD87FD1108179FE13DEF564F93_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&LocalToWorldJob_tDFBD6859E10A384CFA9407CA1D07CF9ACBB1D3EE_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
bool V_0 = false;
LocalToWorldConvertJob_t267E7E07E36B323842ECCEE9BDF7151F14DA3C32 V_1;
memset((&V_1), 0, sizeof(V_1));
JobHandle_t5DF5F99902FED3C801A81C05205CEA6CE039EF08 V_2;
memset((&V_2), 0, sizeof(V_2));
{
// if (Data[guid].Processing)
il2cpp_codegen_runtime_class_init_inline(LocalToWorldJob_tDFBD6859E10A384CFA9407CA1D07CF9ACBB1D3EE_il2cpp_TypeInfo_var);
Dictionary_2_t04D9DCBB28EAB303065226F1E05133427281836B* L_0 = ((LocalToWorldJob_tDFBD6859E10A384CFA9407CA1D07CF9ACBB1D3EE_StaticFields*)il2cpp_codegen_static_fields_for(LocalToWorldJob_tDFBD6859E10A384CFA9407CA1D07CF9ACBB1D3EE_il2cpp_TypeInfo_var))->___Data_0;
int32_t L_1 = ___guid0;
NullCheck(L_0);
TransformLocalToWorld_tE67A70BFEDF4AF544F58C9F6A47CC3DB9D8387F3* L_2;
L_2 = Dictionary_2_get_Item_m91A3CCB375E00D452413E798FC10A16139D46767(L_0, L_1, Dictionary_2_get_Item_m91A3CCB375E00D452413E798FC10A16139D46767_RuntimeMethod_var);
NullCheck(L_2);
bool L_3 = L_2->___Processing_4;
V_0 = L_3;
bool L_4 = V_0;
if (!L_4)
{
goto IL_001a;
}
}
{
// return;
goto IL_00ae;
}
IL_001a:
{
// Data[guid].Job = new LocalToWorldConvertJob()
// {
// PositionsWorld = Data[guid].PositionsWorld,
// PositionsLocal = Data[guid].PositionsLocal,
// Matrix = localToWorld
// };
il2cpp_codegen_runtime_class_init_inline(LocalToWorldJob_tDFBD6859E10A384CFA9407CA1D07CF9ACBB1D3EE_il2cpp_TypeInfo_var);
Dictionary_2_t04D9DCBB28EAB303065226F1E05133427281836B* L_5 = ((LocalToWorldJob_tDFBD6859E10A384CFA9407CA1D07CF9ACBB1D3EE_StaticFields*)il2cpp_codegen_static_fields_for(LocalToWorldJob_tDFBD6859E10A384CFA9407CA1D07CF9ACBB1D3EE_il2cpp_TypeInfo_var))->___Data_0;
int32_t L_6 = ___guid0;
NullCheck(L_5);
TransformLocalToWorld_tE67A70BFEDF4AF544F58C9F6A47CC3DB9D8387F3* L_7;
L_7 = Dictionary_2_get_Item_m91A3CCB375E00D452413E798FC10A16139D46767(L_5, L_6, Dictionary_2_get_Item_m91A3CCB375E00D452413E798FC10A16139D46767_RuntimeMethod_var);
il2cpp_codegen_initobj((&V_1), sizeof(LocalToWorldConvertJob_t267E7E07E36B323842ECCEE9BDF7151F14DA3C32));
Dictionary_2_t04D9DCBB28EAB303065226F1E05133427281836B* L_8 = ((LocalToWorldJob_tDFBD6859E10A384CFA9407CA1D07CF9ACBB1D3EE_StaticFields*)il2cpp_codegen_static_fields_for(LocalToWorldJob_tDFBD6859E10A384CFA9407CA1D07CF9ACBB1D3EE_il2cpp_TypeInfo_var))->___Data_0;
int32_t L_9 = ___guid0;
NullCheck(L_8);
TransformLocalToWorld_tE67A70BFEDF4AF544F58C9F6A47CC3DB9D8387F3* L_10;
L_10 = Dictionary_2_get_Item_m91A3CCB375E00D452413E798FC10A16139D46767(L_8, L_9, Dictionary_2_get_Item_m91A3CCB375E00D452413E798FC10A16139D46767_RuntimeMethod_var);
NullCheck(L_10);
NativeArray_1_tEDE9DAD2CAE5954286BC0EF394A57ED0AC69FEE6 L_11 = L_10->___PositionsWorld_1;
(&V_1)->___PositionsWorld_0 = L_11;
Dictionary_2_t04D9DCBB28EAB303065226F1E05133427281836B* L_12 = ((LocalToWorldJob_tDFBD6859E10A384CFA9407CA1D07CF9ACBB1D3EE_StaticFields*)il2cpp_codegen_static_fields_for(LocalToWorldJob_tDFBD6859E10A384CFA9407CA1D07CF9ACBB1D3EE_il2cpp_TypeInfo_var))->___Data_0;
int32_t L_13 = ___guid0;
NullCheck(L_12);
TransformLocalToWorld_tE67A70BFEDF4AF544F58C9F6A47CC3DB9D8387F3* L_14;
L_14 = Dictionary_2_get_Item_m91A3CCB375E00D452413E798FC10A16139D46767(L_12, L_13, Dictionary_2_get_Item_m91A3CCB375E00D452413E798FC10A16139D46767_RuntimeMethod_var);
NullCheck(L_14);
NativeArray_1_tEDE9DAD2CAE5954286BC0EF394A57ED0AC69FEE6 L_15 = L_14->___PositionsLocal_0;
(&V_1)->___PositionsLocal_2 = L_15;
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 L_16 = ___localToWorld1;
(&V_1)->___Matrix_1 = L_16;
LocalToWorldConvertJob_t267E7E07E36B323842ECCEE9BDF7151F14DA3C32 L_17 = V_1;
NullCheck(L_7);
L_7->___Job_3 = L_17;
// Data[guid].Handle = Data[guid].Job.Schedule();
Dictionary_2_t04D9DCBB28EAB303065226F1E05133427281836B* L_18 = ((LocalToWorldJob_tDFBD6859E10A384CFA9407CA1D07CF9ACBB1D3EE_StaticFields*)il2cpp_codegen_static_fields_for(LocalToWorldJob_tDFBD6859E10A384CFA9407CA1D07CF9ACBB1D3EE_il2cpp_TypeInfo_var))->___Data_0;
int32_t L_19 = ___guid0;
NullCheck(L_18);
TransformLocalToWorld_tE67A70BFEDF4AF544F58C9F6A47CC3DB9D8387F3* L_20;
L_20 = Dictionary_2_get_Item_m91A3CCB375E00D452413E798FC10A16139D46767(L_18, L_19, Dictionary_2_get_Item_m91A3CCB375E00D452413E798FC10A16139D46767_RuntimeMethod_var);
Dictionary_2_t04D9DCBB28EAB303065226F1E05133427281836B* L_21 = ((LocalToWorldJob_tDFBD6859E10A384CFA9407CA1D07CF9ACBB1D3EE_StaticFields*)il2cpp_codegen_static_fields_for(LocalToWorldJob_tDFBD6859E10A384CFA9407CA1D07CF9ACBB1D3EE_il2cpp_TypeInfo_var))->___Data_0;
int32_t L_22 = ___guid0;
NullCheck(L_21);
TransformLocalToWorld_tE67A70BFEDF4AF544F58C9F6A47CC3DB9D8387F3* L_23;
L_23 = Dictionary_2_get_Item_m91A3CCB375E00D452413E798FC10A16139D46767(L_21, L_22, Dictionary_2_get_Item_m91A3CCB375E00D452413E798FC10A16139D46767_RuntimeMethod_var);
NullCheck(L_23);
LocalToWorldConvertJob_t267E7E07E36B323842ECCEE9BDF7151F14DA3C32 L_24 = L_23->___Job_3;
il2cpp_codegen_initobj((&V_2), sizeof(JobHandle_t5DF5F99902FED3C801A81C05205CEA6CE039EF08));
JobHandle_t5DF5F99902FED3C801A81C05205CEA6CE039EF08 L_25 = V_2;
JobHandle_t5DF5F99902FED3C801A81C05205CEA6CE039EF08 L_26;
L_26 = IJobExtensions_Schedule_TisLocalToWorldConvertJob_t267E7E07E36B323842ECCEE9BDF7151F14DA3C32_mA6B690E4A41503DD87FD1108179FE13DEF564F93(L_24, L_25, IJobExtensions_Schedule_TisLocalToWorldConvertJob_t267E7E07E36B323842ECCEE9BDF7151F14DA3C32_mA6B690E4A41503DD87FD1108179FE13DEF564F93_RuntimeMethod_var);
NullCheck(L_20);
L_20->___Handle_2 = L_26;
// Data[guid].Processing = true;
Dictionary_2_t04D9DCBB28EAB303065226F1E05133427281836B* L_27 = ((LocalToWorldJob_tDFBD6859E10A384CFA9407CA1D07CF9ACBB1D3EE_StaticFields*)il2cpp_codegen_static_fields_for(LocalToWorldJob_tDFBD6859E10A384CFA9407CA1D07CF9ACBB1D3EE_il2cpp_TypeInfo_var))->___Data_0;
int32_t L_28 = ___guid0;
NullCheck(L_27);
TransformLocalToWorld_tE67A70BFEDF4AF544F58C9F6A47CC3DB9D8387F3* L_29;
L_29 = Dictionary_2_get_Item_m91A3CCB375E00D452413E798FC10A16139D46767(L_27, L_28, Dictionary_2_get_Item_m91A3CCB375E00D452413E798FC10A16139D46767_RuntimeMethod_var);
NullCheck(L_29);
L_29->___Processing_4 = (bool)1;
// JobHandle.ScheduleBatchedJobs();
JobHandle_ScheduleBatchedJobs_mD80F0AB54AEA1D1A107F4B7B84EE5288FD895A93(NULL);
}
IL_00ae:
{
// }
return;
}
}
// System.Void LocalToWorldJob::CompleteJob(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void LocalToWorldJob_CompleteJob_mC9A824FAF57AD2CFA1DA07909141FD75B938164C (int32_t ___guid0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Dictionary_2_get_Item_m91A3CCB375E00D452413E798FC10A16139D46767_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&LocalToWorldJob_tDFBD6859E10A384CFA9407CA1D07CF9ACBB1D3EE_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
{
// Data[guid].Handle.Complete();
il2cpp_codegen_runtime_class_init_inline(LocalToWorldJob_tDFBD6859E10A384CFA9407CA1D07CF9ACBB1D3EE_il2cpp_TypeInfo_var);
Dictionary_2_t04D9DCBB28EAB303065226F1E05133427281836B* L_0 = ((LocalToWorldJob_tDFBD6859E10A384CFA9407CA1D07CF9ACBB1D3EE_StaticFields*)il2cpp_codegen_static_fields_for(LocalToWorldJob_tDFBD6859E10A384CFA9407CA1D07CF9ACBB1D3EE_il2cpp_TypeInfo_var))->___Data_0;
int32_t L_1 = ___guid0;
NullCheck(L_0);
TransformLocalToWorld_tE67A70BFEDF4AF544F58C9F6A47CC3DB9D8387F3* L_2;
L_2 = Dictionary_2_get_Item_m91A3CCB375E00D452413E798FC10A16139D46767(L_0, L_1, Dictionary_2_get_Item_m91A3CCB375E00D452413E798FC10A16139D46767_RuntimeMethod_var);
NullCheck(L_2);
JobHandle_t5DF5F99902FED3C801A81C05205CEA6CE039EF08* L_3 = (&L_2->___Handle_2);
JobHandle_Complete_mDCED35A125AAB37EDDAB2E31C805B4904B614A4A(L_3, NULL);
// Data[guid].Processing = false;
Dictionary_2_t04D9DCBB28EAB303065226F1E05133427281836B* L_4 = ((LocalToWorldJob_tDFBD6859E10A384CFA9407CA1D07CF9ACBB1D3EE_StaticFields*)il2cpp_codegen_static_fields_for(LocalToWorldJob_tDFBD6859E10A384CFA9407CA1D07CF9ACBB1D3EE_il2cpp_TypeInfo_var))->___Data_0;
int32_t L_5 = ___guid0;
NullCheck(L_4);
TransformLocalToWorld_tE67A70BFEDF4AF544F58C9F6A47CC3DB9D8387F3* L_6;
L_6 = Dictionary_2_get_Item_m91A3CCB375E00D452413E798FC10A16139D46767(L_4, L_5, Dictionary_2_get_Item_m91A3CCB375E00D452413E798FC10A16139D46767_RuntimeMethod_var);
NullCheck(L_6);
L_6->___Processing_4 = (bool)0;
// }
return;
}
}
// System.Void LocalToWorldJob::Cleanup(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void LocalToWorldJob_Cleanup_mFD8F36D6545E81F65DFEE068494010B5382B7A39 (int32_t ___guid0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Dictionary_2_ContainsKey_m59CE85FB1DB1171E7C89EBDACCF21C5703E3CE94_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Dictionary_2_Remove_m54016530E03CEA001E9018F6DCF64E47E1E94489_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Dictionary_2_get_Item_m91A3CCB375E00D452413E798FC10A16139D46767_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&LocalToWorldJob_tDFBD6859E10A384CFA9407CA1D07CF9ACBB1D3EE_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&NativeArray_1_Dispose_mE40D457AF008BEE531917D94D3A83296CCF8906C_RuntimeMethod_var);
s_Il2CppMethodInitialized = true;
}
bool V_0 = false;
{
// if (!Data.ContainsKey(guid)) return;
il2cpp_codegen_runtime_class_init_inline(LocalToWorldJob_tDFBD6859E10A384CFA9407CA1D07CF9ACBB1D3EE_il2cpp_TypeInfo_var);
Dictionary_2_t04D9DCBB28EAB303065226F1E05133427281836B* L_0 = ((LocalToWorldJob_tDFBD6859E10A384CFA9407CA1D07CF9ACBB1D3EE_StaticFields*)il2cpp_codegen_static_fields_for(LocalToWorldJob_tDFBD6859E10A384CFA9407CA1D07CF9ACBB1D3EE_il2cpp_TypeInfo_var))->___Data_0;
int32_t L_1 = ___guid0;
NullCheck(L_0);
bool L_2;
L_2 = Dictionary_2_ContainsKey_m59CE85FB1DB1171E7C89EBDACCF21C5703E3CE94(L_0, L_1, Dictionary_2_ContainsKey_m59CE85FB1DB1171E7C89EBDACCF21C5703E3CE94_RuntimeMethod_var);
V_0 = (bool)((((int32_t)L_2) == ((int32_t)0))? 1 : 0);
bool L_3 = V_0;
if (!L_3)
{
goto IL_0015;
}
}
{
// if (!Data.ContainsKey(guid)) return;
goto IL_0063;
}
IL_0015:
{
// Data[guid].Handle.Complete();
il2cpp_codegen_runtime_class_init_inline(LocalToWorldJob_tDFBD6859E10A384CFA9407CA1D07CF9ACBB1D3EE_il2cpp_TypeInfo_var);
Dictionary_2_t04D9DCBB28EAB303065226F1E05133427281836B* L_4 = ((LocalToWorldJob_tDFBD6859E10A384CFA9407CA1D07CF9ACBB1D3EE_StaticFields*)il2cpp_codegen_static_fields_for(LocalToWorldJob_tDFBD6859E10A384CFA9407CA1D07CF9ACBB1D3EE_il2cpp_TypeInfo_var))->___Data_0;
int32_t L_5 = ___guid0;
NullCheck(L_4);
TransformLocalToWorld_tE67A70BFEDF4AF544F58C9F6A47CC3DB9D8387F3* L_6;
L_6 = Dictionary_2_get_Item_m91A3CCB375E00D452413E798FC10A16139D46767(L_4, L_5, Dictionary_2_get_Item_m91A3CCB375E00D452413E798FC10A16139D46767_RuntimeMethod_var);
NullCheck(L_6);
JobHandle_t5DF5F99902FED3C801A81C05205CEA6CE039EF08* L_7 = (&L_6->___Handle_2);
JobHandle_Complete_mDCED35A125AAB37EDDAB2E31C805B4904B614A4A(L_7, NULL);
// Data[guid].PositionsWorld.Dispose();
Dictionary_2_t04D9DCBB28EAB303065226F1E05133427281836B* L_8 = ((LocalToWorldJob_tDFBD6859E10A384CFA9407CA1D07CF9ACBB1D3EE_StaticFields*)il2cpp_codegen_static_fields_for(LocalToWorldJob_tDFBD6859E10A384CFA9407CA1D07CF9ACBB1D3EE_il2cpp_TypeInfo_var))->___Data_0;
int32_t L_9 = ___guid0;
NullCheck(L_8);
TransformLocalToWorld_tE67A70BFEDF4AF544F58C9F6A47CC3DB9D8387F3* L_10;
L_10 = Dictionary_2_get_Item_m91A3CCB375E00D452413E798FC10A16139D46767(L_8, L_9, Dictionary_2_get_Item_m91A3CCB375E00D452413E798FC10A16139D46767_RuntimeMethod_var);
NullCheck(L_10);
NativeArray_1_tEDE9DAD2CAE5954286BC0EF394A57ED0AC69FEE6* L_11 = (&L_10->___PositionsWorld_1);
NativeArray_1_Dispose_mE40D457AF008BEE531917D94D3A83296CCF8906C(L_11, NativeArray_1_Dispose_mE40D457AF008BEE531917D94D3A83296CCF8906C_RuntimeMethod_var);
// Data[guid].PositionsLocal.Dispose();
Dictionary_2_t04D9DCBB28EAB303065226F1E05133427281836B* L_12 = ((LocalToWorldJob_tDFBD6859E10A384CFA9407CA1D07CF9ACBB1D3EE_StaticFields*)il2cpp_codegen_static_fields_for(LocalToWorldJob_tDFBD6859E10A384CFA9407CA1D07CF9ACBB1D3EE_il2cpp_TypeInfo_var))->___Data_0;
int32_t L_13 = ___guid0;
NullCheck(L_12);
TransformLocalToWorld_tE67A70BFEDF4AF544F58C9F6A47CC3DB9D8387F3* L_14;
L_14 = Dictionary_2_get_Item_m91A3CCB375E00D452413E798FC10A16139D46767(L_12, L_13, Dictionary_2_get_Item_m91A3CCB375E00D452413E798FC10A16139D46767_RuntimeMethod_var);
NullCheck(L_14);
NativeArray_1_tEDE9DAD2CAE5954286BC0EF394A57ED0AC69FEE6* L_15 = (&L_14->___PositionsLocal_0);
NativeArray_1_Dispose_mE40D457AF008BEE531917D94D3A83296CCF8906C(L_15, NativeArray_1_Dispose_mE40D457AF008BEE531917D94D3A83296CCF8906C_RuntimeMethod_var);
// Data.Remove(guid);
Dictionary_2_t04D9DCBB28EAB303065226F1E05133427281836B* L_16 = ((LocalToWorldJob_tDFBD6859E10A384CFA9407CA1D07CF9ACBB1D3EE_StaticFields*)il2cpp_codegen_static_fields_for(LocalToWorldJob_tDFBD6859E10A384CFA9407CA1D07CF9ACBB1D3EE_il2cpp_TypeInfo_var))->___Data_0;
int32_t L_17 = ___guid0;
NullCheck(L_16);
bool L_18;
L_18 = Dictionary_2_Remove_m54016530E03CEA001E9018F6DCF64E47E1E94489(L_16, L_17, Dictionary_2_Remove_m54016530E03CEA001E9018F6DCF64E47E1E94489_RuntimeMethod_var);
}
IL_0063:
{
// }
return;
}
}
// System.Void LocalToWorldJob::.cctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void LocalToWorldJob__cctor_m1DA7E86AE3C14CA753F9B1EAE9AF58FA7BB90A86 (const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Dictionary_2__ctor_m8DC2593AC176C8D1CEA42AA4B5106CDB557CE510_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Dictionary_2_t04D9DCBB28EAB303065226F1E05133427281836B_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&LocalToWorldJob_tDFBD6859E10A384CFA9407CA1D07CF9ACBB1D3EE_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
{
// private static readonly Dictionary<int, TransformLocalToWorld> Data = new Dictionary<int, TransformLocalToWorld>();
Dictionary_2_t04D9DCBB28EAB303065226F1E05133427281836B* L_0 = (Dictionary_2_t04D9DCBB28EAB303065226F1E05133427281836B*)il2cpp_codegen_object_new(Dictionary_2_t04D9DCBB28EAB303065226F1E05133427281836B_il2cpp_TypeInfo_var);
NullCheck(L_0);
Dictionary_2__ctor_m8DC2593AC176C8D1CEA42AA4B5106CDB557CE510(L_0, Dictionary_2__ctor_m8DC2593AC176C8D1CEA42AA4B5106CDB557CE510_RuntimeMethod_var);
((LocalToWorldJob_tDFBD6859E10A384CFA9407CA1D07CF9ACBB1D3EE_StaticFields*)il2cpp_codegen_static_fields_for(LocalToWorldJob_tDFBD6859E10A384CFA9407CA1D07CF9ACBB1D3EE_il2cpp_TypeInfo_var))->___Data_0 = L_0;
Il2CppCodeGenWriteBarrier((void**)(&((LocalToWorldJob_tDFBD6859E10A384CFA9407CA1D07CF9ACBB1D3EE_StaticFields*)il2cpp_codegen_static_fields_for(LocalToWorldJob_tDFBD6859E10A384CFA9407CA1D07CF9ACBB1D3EE_il2cpp_TypeInfo_var))->___Data_0), (void*)L_0);
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void LocalToWorldJob/LocalToWorldConvertJob::Execute()
IL2CPP_EXTERN_C IL2CPP_NO_INLINE IL2CPP_METHOD_ATTR void LocalToWorldConvertJob_Execute_mCF770D25A27D7FDEBFB48F44C1088446BFDB2819 (LocalToWorldConvertJob_t267E7E07E36B323842ECCEE9BDF7151F14DA3C32* IL2CPP_PARAMETER_RESTRICT __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&float4_t89D9A294E7A79BD81BFBDD18654508532958555E_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
float4_t89D9A294E7A79BD81BFBDD18654508532958555E V_1;
memset((&V_1), 0, sizeof(V_1));
bool V_2 = false;
{
// for (var i = 0; i < PositionsLocal.Length; i++)
V_0 = 0;
goto IL_005c;
}
IL_0005:
{
// var pos = float4.zero;
float4_t89D9A294E7A79BD81BFBDD18654508532958555E L_0 = ((float4_t89D9A294E7A79BD81BFBDD18654508532958555E_StaticFields*)il2cpp_codegen_static_fields_for(float4_t89D9A294E7A79BD81BFBDD18654508532958555E_il2cpp_TypeInfo_var))->___zero_4;
V_1 = L_0;
// pos.xyz = PositionsLocal[i];
NativeArray_1_tEDE9DAD2CAE5954286BC0EF394A57ED0AC69FEE6* L_1 = (&__this->___PositionsLocal_2);
int32_t L_2 = V_0;
float3_t4AB5D88249ADB24F69FFD0793E8ED25E1CC3745E L_3;
L_3 = IL2CPP_NATIVEARRAY_GET_ITEM(float3_t4AB5D88249ADB24F69FFD0793E8ED25E1CC3745E, (L_1)->___m_Buffer_0, L_2);
float4_set_xyz_m331D16059D51A5C6CA8AE8FD1E13A68C0570A9C7_inline((&V_1), L_3, NULL);
// pos.w = 1f;
(&V_1)->___w_3 = (1.0f);
// pos = Matrix * pos;
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 L_4 = __this->___Matrix_1;
float4_t89D9A294E7A79BD81BFBDD18654508532958555E L_5 = V_1;
Vector4_t58B63D32F48C0DBF50DE2C60794C4676C80EDBE3 L_6;
L_6 = float4_op_Implicit_m3685059EA8951FD4A81C3077E9C0A838A4669151(L_5, NULL);
Vector4_t58B63D32F48C0DBF50DE2C60794C4676C80EDBE3 L_7;
L_7 = Matrix4x4_op_Multiply_m2041E25F0453B831D95C32E924B88125ACFE9255(L_4, L_6, NULL);
float4_t89D9A294E7A79BD81BFBDD18654508532958555E L_8;
L_8 = float4_op_Implicit_mF7911C6D69B3477174C9B383645987276257A446(L_7, NULL);
V_1 = L_8;
// PositionsWorld[i] = pos.xyz;
NativeArray_1_tEDE9DAD2CAE5954286BC0EF394A57ED0AC69FEE6* L_9 = (&__this->___PositionsWorld_0);
int32_t L_10 = V_0;
float3_t4AB5D88249ADB24F69FFD0793E8ED25E1CC3745E L_11;
L_11 = float4_get_xyz_mE6EC829F35512C7BC159047FDC134E80F3B37A06_inline((&V_1), NULL);
IL2CPP_NATIVEARRAY_SET_ITEM(float3_t4AB5D88249ADB24F69FFD0793E8ED25E1CC3745E, (L_9)->___m_Buffer_0, L_10, (L_11));
// for (var i = 0; i < PositionsLocal.Length; i++)
int32_t L_12 = V_0;
V_0 = ((int32_t)il2cpp_codegen_add(L_12, 1));
}
IL_005c:
{
// for (var i = 0; i < PositionsLocal.Length; i++)
int32_t L_13 = V_0;
NativeArray_1_tEDE9DAD2CAE5954286BC0EF394A57ED0AC69FEE6* L_14 = (&__this->___PositionsLocal_2);
int32_t L_15;
L_15 = IL2CPP_NATIVEARRAY_GET_LENGTH((L_14)->___m_Length_1);
V_2 = (bool)((((int32_t)L_13) < ((int32_t)L_15))? 1 : 0);
bool L_16 = V_2;
if (L_16)
{
goto IL_0005;
}
}
{
// }
return;
}
}
IL2CPP_EXTERN_C void LocalToWorldConvertJob_Execute_mCF770D25A27D7FDEBFB48F44C1088446BFDB2819_AdjustorThunk (RuntimeObject* IL2CPP_PARAMETER_RESTRICT __this, const RuntimeMethod* method)
{
LocalToWorldConvertJob_t267E7E07E36B323842ECCEE9BDF7151F14DA3C32* _thisAdjusted;
int32_t _offset = 1;
_thisAdjusted = reinterpret_cast<LocalToWorldConvertJob_t267E7E07E36B323842ECCEE9BDF7151F14DA3C32*>(__this + _offset);
LocalToWorldConvertJob_Execute_mCF770D25A27D7FDEBFB48F44C1088446BFDB2819(_thisAdjusted, method);
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void LocalToWorldJob/TransformLocalToWorld::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TransformLocalToWorld__ctor_m9A7027421F46F69618BD1278B1593A29700434B0 (TransformLocalToWorld_tE67A70BFEDF4AF544F58C9F6A47CC3DB9D8387F3* __this, const RuntimeMethod* method)
{
{
Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2(__this, NULL);
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void UnityEngine.Rendering.Universal.PlanarReflections::add_BeginPlanarReflections(System.Action`2<UnityEngine.Rendering.ScriptableRenderContext,UnityEngine.Camera>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PlanarReflections_add_BeginPlanarReflections_m53F1C299B547B609FC76E39D960F3D6F2A3B4F7C (Action_2_t8E07914D7090FF200FE84404EEEFAF3CE183C9F3* ___value0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Action_2_t8E07914D7090FF200FE84404EEEFAF3CE183C9F3_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&PlanarReflections_t89C378C054F8113CB465D2A27E38FCC4F4B9F169_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
Action_2_t8E07914D7090FF200FE84404EEEFAF3CE183C9F3* V_0 = NULL;
Action_2_t8E07914D7090FF200FE84404EEEFAF3CE183C9F3* V_1 = NULL;
Action_2_t8E07914D7090FF200FE84404EEEFAF3CE183C9F3* V_2 = NULL;
{
Action_2_t8E07914D7090FF200FE84404EEEFAF3CE183C9F3* L_0 = ((PlanarReflections_t89C378C054F8113CB465D2A27E38FCC4F4B9F169_StaticFields*)il2cpp_codegen_static_fields_for(PlanarReflections_t89C378C054F8113CB465D2A27E38FCC4F4B9F169_il2cpp_TypeInfo_var))->___BeginPlanarReflections_11;
V_0 = L_0;
}
IL_0006:
{
Action_2_t8E07914D7090FF200FE84404EEEFAF3CE183C9F3* L_1 = V_0;
V_1 = L_1;
Action_2_t8E07914D7090FF200FE84404EEEFAF3CE183C9F3* L_2 = V_1;
Action_2_t8E07914D7090FF200FE84404EEEFAF3CE183C9F3* L_3 = ___value0;
Delegate_t* L_4;
L_4 = Delegate_Combine_m8B9D24CED35033C7FC56501DFE650F5CB7FF012C(L_2, L_3, NULL);
V_2 = ((Action_2_t8E07914D7090FF200FE84404EEEFAF3CE183C9F3*)Castclass((RuntimeObject*)L_4, Action_2_t8E07914D7090FF200FE84404EEEFAF3CE183C9F3_il2cpp_TypeInfo_var));
Action_2_t8E07914D7090FF200FE84404EEEFAF3CE183C9F3* L_5 = V_2;
Action_2_t8E07914D7090FF200FE84404EEEFAF3CE183C9F3* L_6 = V_1;
Action_2_t8E07914D7090FF200FE84404EEEFAF3CE183C9F3* L_7;
L_7 = InterlockedCompareExchangeImpl<Action_2_t8E07914D7090FF200FE84404EEEFAF3CE183C9F3*>((&((PlanarReflections_t89C378C054F8113CB465D2A27E38FCC4F4B9F169_StaticFields*)il2cpp_codegen_static_fields_for(PlanarReflections_t89C378C054F8113CB465D2A27E38FCC4F4B9F169_il2cpp_TypeInfo_var))->___BeginPlanarReflections_11), L_5, L_6);
V_0 = L_7;
Action_2_t8E07914D7090FF200FE84404EEEFAF3CE183C9F3* L_8 = V_0;
Action_2_t8E07914D7090FF200FE84404EEEFAF3CE183C9F3* L_9 = V_1;
if ((!(((RuntimeObject*)(Action_2_t8E07914D7090FF200FE84404EEEFAF3CE183C9F3*)L_8) == ((RuntimeObject*)(Action_2_t8E07914D7090FF200FE84404EEEFAF3CE183C9F3*)L_9))))
{
goto IL_0006;
}
}
{
return;
}
}
// System.Void UnityEngine.Rendering.Universal.PlanarReflections::remove_BeginPlanarReflections(System.Action`2<UnityEngine.Rendering.ScriptableRenderContext,UnityEngine.Camera>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PlanarReflections_remove_BeginPlanarReflections_m4C33A854FDD38A139CEE1CDD91CB9AF35F5125AC (Action_2_t8E07914D7090FF200FE84404EEEFAF3CE183C9F3* ___value0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Action_2_t8E07914D7090FF200FE84404EEEFAF3CE183C9F3_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&PlanarReflections_t89C378C054F8113CB465D2A27E38FCC4F4B9F169_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
Action_2_t8E07914D7090FF200FE84404EEEFAF3CE183C9F3* V_0 = NULL;
Action_2_t8E07914D7090FF200FE84404EEEFAF3CE183C9F3* V_1 = NULL;
Action_2_t8E07914D7090FF200FE84404EEEFAF3CE183C9F3* V_2 = NULL;
{
Action_2_t8E07914D7090FF200FE84404EEEFAF3CE183C9F3* L_0 = ((PlanarReflections_t89C378C054F8113CB465D2A27E38FCC4F4B9F169_StaticFields*)il2cpp_codegen_static_fields_for(PlanarReflections_t89C378C054F8113CB465D2A27E38FCC4F4B9F169_il2cpp_TypeInfo_var))->___BeginPlanarReflections_11;
V_0 = L_0;
}
IL_0006:
{
Action_2_t8E07914D7090FF200FE84404EEEFAF3CE183C9F3* L_1 = V_0;
V_1 = L_1;
Action_2_t8E07914D7090FF200FE84404EEEFAF3CE183C9F3* L_2 = V_1;
Action_2_t8E07914D7090FF200FE84404EEEFAF3CE183C9F3* L_3 = ___value0;
Delegate_t* L_4;
L_4 = Delegate_Remove_m40506877934EC1AD4ADAE57F5E97AF0BC0F96116(L_2, L_3, NULL);
V_2 = ((Action_2_t8E07914D7090FF200FE84404EEEFAF3CE183C9F3*)Castclass((RuntimeObject*)L_4, Action_2_t8E07914D7090FF200FE84404EEEFAF3CE183C9F3_il2cpp_TypeInfo_var));
Action_2_t8E07914D7090FF200FE84404EEEFAF3CE183C9F3* L_5 = V_2;
Action_2_t8E07914D7090FF200FE84404EEEFAF3CE183C9F3* L_6 = V_1;
Action_2_t8E07914D7090FF200FE84404EEEFAF3CE183C9F3* L_7;
L_7 = InterlockedCompareExchangeImpl<Action_2_t8E07914D7090FF200FE84404EEEFAF3CE183C9F3*>((&((PlanarReflections_t89C378C054F8113CB465D2A27E38FCC4F4B9F169_StaticFields*)il2cpp_codegen_static_fields_for(PlanarReflections_t89C378C054F8113CB465D2A27E38FCC4F4B9F169_il2cpp_TypeInfo_var))->___BeginPlanarReflections_11), L_5, L_6);
V_0 = L_7;
Action_2_t8E07914D7090FF200FE84404EEEFAF3CE183C9F3* L_8 = V_0;
Action_2_t8E07914D7090FF200FE84404EEEFAF3CE183C9F3* L_9 = V_1;
if ((!(((RuntimeObject*)(Action_2_t8E07914D7090FF200FE84404EEEFAF3CE183C9F3*)L_8) == ((RuntimeObject*)(Action_2_t8E07914D7090FF200FE84404EEEFAF3CE183C9F3*)L_9))))
{
goto IL_0006;
}
}
{
return;
}
}
// System.Void UnityEngine.Rendering.Universal.PlanarReflections::OnEnable()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PlanarReflections_OnEnable_m8426C9EC3D2F22EA1BF8FA8364C67E718C2E0DDD (PlanarReflections_t89C378C054F8113CB465D2A27E38FCC4F4B9F169* __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Action_2_t8E07914D7090FF200FE84404EEEFAF3CE183C9F3_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&PlanarReflections_ExecutePlanarReflections_mA8A66140E4386ABD1A78D009014CC7DB8250FBC2_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&RenderPipelineManager_t44E0175AAADDD5487593AEF2B009B1B154957CDB_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
{
// RenderPipelineManager.beginCameraRendering += ExecutePlanarReflections;
Action_2_t8E07914D7090FF200FE84404EEEFAF3CE183C9F3* L_0 = (Action_2_t8E07914D7090FF200FE84404EEEFAF3CE183C9F3*)il2cpp_codegen_object_new(Action_2_t8E07914D7090FF200FE84404EEEFAF3CE183C9F3_il2cpp_TypeInfo_var);
NullCheck(L_0);
Action_2__ctor_mBEB5B9B513FE305CE98CA8065CC6E6CC0E5A4D51(L_0, __this, (intptr_t)((void*)PlanarReflections_ExecutePlanarReflections_mA8A66140E4386ABD1A78D009014CC7DB8250FBC2_RuntimeMethod_var), NULL);
il2cpp_codegen_runtime_class_init_inline(RenderPipelineManager_t44E0175AAADDD5487593AEF2B009B1B154957CDB_il2cpp_TypeInfo_var);
RenderPipelineManager_add_beginCameraRendering_mF8416C1EB5B9FF130A7F638B842E283CAA83BC2B(L_0, NULL);
// }
return;
}
}
// System.Void UnityEngine.Rendering.Universal.PlanarReflections::OnDisable()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PlanarReflections_OnDisable_mF18D4FD0B6E32F1272D8DF858D9582C5829C8731 (PlanarReflections_t89C378C054F8113CB465D2A27E38FCC4F4B9F169* __this, const RuntimeMethod* method)
{
{
// Cleanup();
PlanarReflections_Cleanup_m0851244EDADEEFAEB01E6812DFA0DD78B047A0E5(__this, NULL);
// }
return;
}
}
// System.Void UnityEngine.Rendering.Universal.PlanarReflections::OnDestroy()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PlanarReflections_OnDestroy_m3DF291218A7C110F66A19FCB35F4B5B97F2FD6DA (PlanarReflections_t89C378C054F8113CB465D2A27E38FCC4F4B9F169* __this, const RuntimeMethod* method)
{
{
// Cleanup();
PlanarReflections_Cleanup_m0851244EDADEEFAEB01E6812DFA0DD78B047A0E5(__this, NULL);
// }
return;
}
}
// System.Void UnityEngine.Rendering.Universal.PlanarReflections::Cleanup()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PlanarReflections_Cleanup_m0851244EDADEEFAEB01E6812DFA0DD78B047A0E5 (PlanarReflections_t89C378C054F8113CB465D2A27E38FCC4F4B9F169* __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Action_2_t8E07914D7090FF200FE84404EEEFAF3CE183C9F3_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&PlanarReflections_ExecutePlanarReflections_mA8A66140E4386ABD1A78D009014CC7DB8250FBC2_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&PlanarReflections_t89C378C054F8113CB465D2A27E38FCC4F4B9F169_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&RenderPipelineManager_t44E0175AAADDD5487593AEF2B009B1B154957CDB_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
bool V_0 = false;
bool V_1 = false;
{
// RenderPipelineManager.beginCameraRendering -= ExecutePlanarReflections;
Action_2_t8E07914D7090FF200FE84404EEEFAF3CE183C9F3* L_0 = (Action_2_t8E07914D7090FF200FE84404EEEFAF3CE183C9F3*)il2cpp_codegen_object_new(Action_2_t8E07914D7090FF200FE84404EEEFAF3CE183C9F3_il2cpp_TypeInfo_var);
NullCheck(L_0);
Action_2__ctor_mBEB5B9B513FE305CE98CA8065CC6E6CC0E5A4D51(L_0, __this, (intptr_t)((void*)PlanarReflections_ExecutePlanarReflections_mA8A66140E4386ABD1A78D009014CC7DB8250FBC2_RuntimeMethod_var), NULL);
il2cpp_codegen_runtime_class_init_inline(RenderPipelineManager_t44E0175AAADDD5487593AEF2B009B1B154957CDB_il2cpp_TypeInfo_var);
RenderPipelineManager_remove_beginCameraRendering_m1612AF680F9518D63562A8AC8C521A326B1C6C71(L_0, NULL);
// if(_reflectionCamera)
Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184* L_1 = ((PlanarReflections_t89C378C054F8113CB465D2A27E38FCC4F4B9F169_StaticFields*)il2cpp_codegen_static_fields_for(PlanarReflections_t89C378C054F8113CB465D2A27E38FCC4F4B9F169_il2cpp_TypeInfo_var))->____reflectionCamera_7;
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
bool L_2;
L_2 = Object_op_Implicit_m18E1885C296CC868AC918101523697CFE6413C79(L_1, NULL);
V_0 = L_2;
bool L_3 = V_0;
if (!L_3)
{
goto IL_003f;
}
}
{
// _reflectionCamera.targetTexture = null;
Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184* L_4 = ((PlanarReflections_t89C378C054F8113CB465D2A27E38FCC4F4B9F169_StaticFields*)il2cpp_codegen_static_fields_for(PlanarReflections_t89C378C054F8113CB465D2A27E38FCC4F4B9F169_il2cpp_TypeInfo_var))->____reflectionCamera_7;
NullCheck(L_4);
Camera_set_targetTexture_mE6C740F21A72DA47FB5B1D31D208710738A836C4(L_4, (RenderTexture_tBA90C4C3AD9EECCFDDCC632D97C29FAB80D60D27*)NULL, NULL);
// SafeDestroy(_reflectionCamera.gameObject);
Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184* L_5 = ((PlanarReflections_t89C378C054F8113CB465D2A27E38FCC4F4B9F169_StaticFields*)il2cpp_codegen_static_fields_for(PlanarReflections_t89C378C054F8113CB465D2A27E38FCC4F4B9F169_il2cpp_TypeInfo_var))->____reflectionCamera_7;
NullCheck(L_5);
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* L_6;
L_6 = Component_get_gameObject_m57AEFBB14DB39EC476F740BA000E170355DE691B(L_5, NULL);
PlanarReflections_SafeDestroy_mF67EE6FE1DE05EA525E9EA4F32BA831E7CB7C852(L_6, NULL);
}
IL_003f:
{
// if (_reflectionTexture)
RenderTexture_tBA90C4C3AD9EECCFDDCC632D97C29FAB80D60D27* L_7 = __this->____reflectionTexture_8;
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
bool L_8;
L_8 = Object_op_Implicit_m18E1885C296CC868AC918101523697CFE6413C79(L_7, NULL);
V_1 = L_8;
bool L_9 = V_1;
if (!L_9)
{
goto IL_005c;
}
}
{
// RenderTexture.ReleaseTemporary(_reflectionTexture);
RenderTexture_tBA90C4C3AD9EECCFDDCC632D97C29FAB80D60D27* L_10 = __this->____reflectionTexture_8;
RenderTexture_ReleaseTemporary_m7D9B385460ED0D0CF7BCC033605CEBD60A1A232F(L_10, NULL);
}
IL_005c:
{
// }
return;
}
}
// System.Void UnityEngine.Rendering.Universal.PlanarReflections::SafeDestroy(UnityEngine.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PlanarReflections_SafeDestroy_mF67EE6FE1DE05EA525E9EA4F32BA831E7CB7C852 (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C* ___obj0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
bool V_0 = false;
{
// if (Application.isEditor)
bool L_0;
L_0 = Application_get_isEditor_m0377DB707B566C8E21DA3CD99963210F6D57D234(NULL);
V_0 = L_0;
bool L_1 = V_0;
if (!L_1)
{
goto IL_0015;
}
}
{
// DestroyImmediate(obj);
Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C* L_2 = ___obj0;
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
Object_DestroyImmediate_m8249CABCDF344BE3A67EE765122EBB415DC2BC57(L_2, NULL);
goto IL_001e;
}
IL_0015:
{
// Destroy(obj);
Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C* L_3 = ___obj0;
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
Object_Destroy_mFCDAE6333522488F60597AF019EA90BB1207A5AA(L_3, NULL);
}
IL_001e:
{
// }
return;
}
}
// System.Void UnityEngine.Rendering.Universal.PlanarReflections::UpdateCamera(UnityEngine.Camera,UnityEngine.Camera)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PlanarReflections_UpdateCamera_m8D8FC73619DA124DDE086875C29F5596967BFC96 (PlanarReflections_t89C378C054F8113CB465D2A27E38FCC4F4B9F169* __this, Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184* ___src0, Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184* ___dest1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&GameObject_TryGetComponent_TisUniversalAdditionalCameraData_t57B5D0F93C2D506E618E23187302C0FADE813B93_mBCAEF774AB0C0563A29C16F3A5305AE1A081C3BD_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
UniversalAdditionalCameraData_t57B5D0F93C2D506E618E23187302C0FADE813B93* V_0 = NULL;
bool V_1 = false;
bool V_2 = false;
{
// if (dest == null) return;
Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184* L_0 = ___dest1;
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
bool L_1;
L_1 = Object_op_Equality_mD3DB0D72CE0250C84033DC2A90AEF9D59896E536(L_0, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
V_1 = L_1;
bool L_2 = V_1;
if (!L_2)
{
goto IL_000e;
}
}
{
// if (dest == null) return;
goto IL_0043;
}
IL_000e:
{
// dest.CopyFrom(src);
Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184* L_3 = ___dest1;
Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184* L_4 = ___src0;
NullCheck(L_3);
Camera_CopyFrom_mFA5C3AB8E95EC4124249520ACEC6F7F25E5CDC52(L_3, L_4, NULL);
// dest.useOcclusionCulling = false;
Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184* L_5 = ___dest1;
NullCheck(L_5);
Camera_set_useOcclusionCulling_mD3036B0CBB5E6A1BF33810AB8FDEE3CD1A4D7C04(L_5, (bool)0, NULL);
// if (dest.gameObject.TryGetComponent(out UniversalAdditionalCameraData camData))
Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184* L_6 = ___dest1;
NullCheck(L_6);
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* L_7;
L_7 = Component_get_gameObject_m57AEFBB14DB39EC476F740BA000E170355DE691B(L_6, NULL);
NullCheck(L_7);
bool L_8;
L_8 = GameObject_TryGetComponent_TisUniversalAdditionalCameraData_t57B5D0F93C2D506E618E23187302C0FADE813B93_mBCAEF774AB0C0563A29C16F3A5305AE1A081C3BD(L_7, (&V_0), GameObject_TryGetComponent_TisUniversalAdditionalCameraData_t57B5D0F93C2D506E618E23187302C0FADE813B93_mBCAEF774AB0C0563A29C16F3A5305AE1A081C3BD_RuntimeMethod_var);
V_2 = L_8;
bool L_9 = V_2;
if (!L_9)
{
goto IL_0043;
}
}
{
// camData.renderShadows = m_settings.m_Shadows; // turn off shadows for the reflection camera
UniversalAdditionalCameraData_t57B5D0F93C2D506E618E23187302C0FADE813B93* L_10 = V_0;
PlanarReflectionSettings_t933C0BB776407C4B49D2CE2FD8E60337F2B62731* L_11 = __this->___m_settings_4;
NullCheck(L_11);
bool L_12 = L_11->___m_Shadows_3;
NullCheck(L_10);
UniversalAdditionalCameraData_set_renderShadows_m435F35FAAF4700DC51E6A806D2BEF8A01A3A010B_inline(L_10, L_12, NULL);
}
IL_0043:
{
// }
return;
}
}
// System.Void UnityEngine.Rendering.Universal.PlanarReflections::UpdateReflectionCamera(UnityEngine.Camera)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PlanarReflections_UpdateReflectionCamera_m5F0E5B2A03309AA8BB5228DA93CAC68BC3997E44 (PlanarReflections_t89C378C054F8113CB465D2A27E38FCC4F4B9F169* __this, Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184* ___realCamera0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&PlanarReflections_t89C378C054F8113CB465D2A27E38FCC4F4B9F169_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
memset((&V_0), 0, sizeof(V_0));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_1;
memset((&V_1), 0, sizeof(V_1));
float V_2 = 0.0f;
Vector4_t58B63D32F48C0DBF50DE2C60794C4676C80EDBE3 V_3;
memset((&V_3), 0, sizeof(V_3));
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 V_4;
memset((&V_4), 0, sizeof(V_4));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_5;
memset((&V_5), 0, sizeof(V_5));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_6;
memset((&V_6), 0, sizeof(V_6));
Vector4_t58B63D32F48C0DBF50DE2C60794C4676C80EDBE3 V_7;
memset((&V_7), 0, sizeof(V_7));
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 V_8;
memset((&V_8), 0, sizeof(V_8));
bool V_9 = false;
bool V_10 = false;
{
// if (_reflectionCamera == null)
Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184* L_0 = ((PlanarReflections_t89C378C054F8113CB465D2A27E38FCC4F4B9F169_StaticFields*)il2cpp_codegen_static_fields_for(PlanarReflections_t89C378C054F8113CB465D2A27E38FCC4F4B9F169_il2cpp_TypeInfo_var))->____reflectionCamera_7;
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
bool L_1;
L_1 = Object_op_Equality_mD3DB0D72CE0250C84033DC2A90AEF9D59896E536(L_0, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
V_9 = L_1;
bool L_2 = V_9;
if (!L_2)
{
goto IL_001d;
}
}
{
// _reflectionCamera = CreateMirrorObjects();
Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184* L_3;
L_3 = PlanarReflections_CreateMirrorObjects_mE59932993996D97F49CF689AAF03C663AE40E477(__this, NULL);
((PlanarReflections_t89C378C054F8113CB465D2A27E38FCC4F4B9F169_StaticFields*)il2cpp_codegen_static_fields_for(PlanarReflections_t89C378C054F8113CB465D2A27E38FCC4F4B9F169_il2cpp_TypeInfo_var))->____reflectionCamera_7 = L_3;
Il2CppCodeGenWriteBarrier((void**)(&((PlanarReflections_t89C378C054F8113CB465D2A27E38FCC4F4B9F169_StaticFields*)il2cpp_codegen_static_fields_for(PlanarReflections_t89C378C054F8113CB465D2A27E38FCC4F4B9F169_il2cpp_TypeInfo_var))->____reflectionCamera_7), (void*)L_3);
}
IL_001d:
{
// Vector3 pos = Vector3.zero;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4;
L_4 = Vector3_get_zero_m9D7F7B580B5A276411267E96AA3425736D9BDC83_inline(NULL);
V_0 = L_4;
// Vector3 normal = Vector3.up;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_5;
L_5 = Vector3_get_up_mAB5269BFCBCB1BD241450C9BF2F156303D30E0C3_inline(NULL);
V_1 = L_5;
// if (target != null)
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* L_6 = __this->___target_5;
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
bool L_7;
L_7 = Object_op_Inequality_m4D656395C27694A7F33F5AA8DE80A7AAF9E20BA7(L_6, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
V_10 = L_7;
bool L_8 = V_10;
if (!L_8)
{
goto IL_0074;
}
}
{
// pos = target.transform.position + Vector3.up * m_planeOffset;
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* L_9 = __this->___target_5;
NullCheck(L_9);
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_10;
L_10 = GameObject_get_transform_m0BC10ADFA1632166AE5544BDF9038A2650C2AE56(L_9, NULL);
NullCheck(L_10);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_11;
L_11 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_10, NULL);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_12;
L_12 = Vector3_get_up_mAB5269BFCBCB1BD241450C9BF2F156303D30E0C3_inline(NULL);
float L_13 = __this->___m_planeOffset_6;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_14;
L_14 = Vector3_op_Multiply_m516FE285F5342F922C6EB3FCB33197E9017FF484_inline(L_12, L_13, NULL);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_15;
L_15 = Vector3_op_Addition_m087D6F0EC60843D455F9F83D25FE42B2433AAD1D_inline(L_11, L_14, NULL);
V_0 = L_15;
// normal = target.transform.up;
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* L_16 = __this->___target_5;
NullCheck(L_16);
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_17;
L_17 = GameObject_get_transform_m0BC10ADFA1632166AE5544BDF9038A2650C2AE56(L_16, NULL);
NullCheck(L_17);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_18;
L_18 = Transform_get_up_mE47A9D9D96422224DD0539AA5524DA5440145BB2(L_17, NULL);
V_1 = L_18;
}
IL_0074:
{
// UpdateCamera(realCamera, _reflectionCamera);
Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184* L_19 = ___realCamera0;
Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184* L_20 = ((PlanarReflections_t89C378C054F8113CB465D2A27E38FCC4F4B9F169_StaticFields*)il2cpp_codegen_static_fields_for(PlanarReflections_t89C378C054F8113CB465D2A27E38FCC4F4B9F169_il2cpp_TypeInfo_var))->____reflectionCamera_7;
PlanarReflections_UpdateCamera_m8D8FC73619DA124DDE086875C29F5596967BFC96(__this, L_19, L_20, NULL);
// var d = -Vector3.Dot(normal, pos) - m_settings.m_ClipPlaneOffset;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_21 = V_1;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_22 = V_0;
float L_23;
L_23 = Vector3_Dot_m4688A1A524306675DBDB1E6D483F35E85E3CE6D8_inline(L_21, L_22, NULL);
PlanarReflectionSettings_t933C0BB776407C4B49D2CE2FD8E60337F2B62731* L_24 = __this->___m_settings_4;
NullCheck(L_24);
float L_25 = L_24->___m_ClipPlaneOffset_1;
V_2 = ((float)il2cpp_codegen_subtract(((-L_23)), L_25));
// var reflectionPlane = new Vector4(normal.x, normal.y, normal.z, d);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_26 = V_1;
float L_27 = L_26.___x_2;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_28 = V_1;
float L_29 = L_28.___y_3;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_30 = V_1;
float L_31 = L_30.___z_4;
float L_32 = V_2;
Vector4__ctor_m96B2CD8B862B271F513AF0BDC2EABD58E4DBC813_inline((&V_3), L_27, L_29, L_31, L_32, NULL);
// var reflection = Matrix4x4.identity;
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 L_33;
L_33 = Matrix4x4_get_identity_m94A09872C449C26863FF10D0FDF87842D91BECD6_inline(NULL);
V_4 = L_33;
// reflection *= Matrix4x4.Scale(new Vector3(1, -1, 1));
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 L_34 = V_4;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_35;
memset((&L_35), 0, sizeof(L_35));
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_35), (1.0f), (-1.0f), (1.0f), /*hidden argument*/NULL);
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 L_36;
L_36 = Matrix4x4_Scale_m389397AD581D1BB1A5D39B47021DD685A1EAA9AB(L_35, NULL);
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 L_37;
L_37 = Matrix4x4_op_Multiply_m7649669D493400913FF60AFB04B1C19F14E0FDB0(L_34, L_36, NULL);
V_4 = L_37;
// CalculateReflectionMatrix(ref reflection, reflectionPlane);
Vector4_t58B63D32F48C0DBF50DE2C60794C4676C80EDBE3 L_38 = V_3;
PlanarReflections_CalculateReflectionMatrix_m216CCD5473D8B3AEE1DBD5BD00117202B88BB5E7((&V_4), L_38, NULL);
// var oldPosition = realCamera.transform.position - new Vector3(0, pos.y * 2, 0);
Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184* L_39 = ___realCamera0;
NullCheck(L_39);
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_40;
L_40 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(L_39, NULL);
NullCheck(L_40);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_41;
L_41 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_40, NULL);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_42 = V_0;
float L_43 = L_42.___y_3;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_44;
memset((&L_44), 0, sizeof(L_44));
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_44), (0.0f), ((float)il2cpp_codegen_multiply(L_43, (2.0f))), (0.0f), /*hidden argument*/NULL);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_45;
L_45 = Vector3_op_Subtraction_m1690F44F6DC92B770A940B6CF8AE0535625A9824_inline(L_41, L_44, NULL);
V_5 = L_45;
// var newPosition = ReflectPosition(oldPosition);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_46 = V_5;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_47;
L_47 = PlanarReflections_ReflectPosition_m5EF88E45C441E0090B54104C0FA00191DC17D91A(L_46, NULL);
V_6 = L_47;
// _reflectionCamera.transform.forward = Vector3.Scale(realCamera.transform.forward, new Vector3(1, -1, 1));
Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184* L_48 = ((PlanarReflections_t89C378C054F8113CB465D2A27E38FCC4F4B9F169_StaticFields*)il2cpp_codegen_static_fields_for(PlanarReflections_t89C378C054F8113CB465D2A27E38FCC4F4B9F169_il2cpp_TypeInfo_var))->____reflectionCamera_7;
NullCheck(L_48);
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_49;
L_49 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(L_48, NULL);
Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184* L_50 = ___realCamera0;
NullCheck(L_50);
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_51;
L_51 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(L_50, NULL);
NullCheck(L_51);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_52;
L_52 = Transform_get_forward_mFCFACF7165FDAB21E80E384C494DF278386CEE2F(L_51, NULL);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_53;
memset((&L_53), 0, sizeof(L_53));
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_53), (1.0f), (-1.0f), (1.0f), /*hidden argument*/NULL);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_54;
L_54 = Vector3_Scale_mE4063F0349E8B2F3EC8098597D356ACCA54C4514_inline(L_52, L_53, NULL);
NullCheck(L_49);
Transform_set_forward_mA178B5CF4F0F6133F9AF8ED3A4ECD2C604C60C26(L_49, L_54, NULL);
// _reflectionCamera.worldToCameraMatrix = realCamera.worldToCameraMatrix * reflection;
Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184* L_55 = ((PlanarReflections_t89C378C054F8113CB465D2A27E38FCC4F4B9F169_StaticFields*)il2cpp_codegen_static_fields_for(PlanarReflections_t89C378C054F8113CB465D2A27E38FCC4F4B9F169_il2cpp_TypeInfo_var))->____reflectionCamera_7;
Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184* L_56 = ___realCamera0;
NullCheck(L_56);
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 L_57;
L_57 = Camera_get_worldToCameraMatrix_m48E324BD76706A316A1701EFC6A3DEC7DFB2FF40(L_56, NULL);
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 L_58 = V_4;
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 L_59;
L_59 = Matrix4x4_op_Multiply_m7649669D493400913FF60AFB04B1C19F14E0FDB0(L_57, L_58, NULL);
NullCheck(L_55);
Camera_set_worldToCameraMatrix_mC199F02E435CE7261F7EECD1FD78A33EA96ABC0D(L_55, L_59, NULL);
// var clipPlane = CameraSpacePlane(_reflectionCamera, pos - Vector3.up * 0.1f, normal, 1.0f);
Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184* L_60 = ((PlanarReflections_t89C378C054F8113CB465D2A27E38FCC4F4B9F169_StaticFields*)il2cpp_codegen_static_fields_for(PlanarReflections_t89C378C054F8113CB465D2A27E38FCC4F4B9F169_il2cpp_TypeInfo_var))->____reflectionCamera_7;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_61 = V_0;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_62;
L_62 = Vector3_get_up_mAB5269BFCBCB1BD241450C9BF2F156303D30E0C3_inline(NULL);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_63;
L_63 = Vector3_op_Multiply_m516FE285F5342F922C6EB3FCB33197E9017FF484_inline(L_62, (0.100000001f), NULL);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_64;
L_64 = Vector3_op_Subtraction_m1690F44F6DC92B770A940B6CF8AE0535625A9824_inline(L_61, L_63, NULL);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_65 = V_1;
Vector4_t58B63D32F48C0DBF50DE2C60794C4676C80EDBE3 L_66;
L_66 = PlanarReflections_CameraSpacePlane_m27379E45D8D79FF77E808402F3F80C3E64D300D0(__this, L_60, L_64, L_65, (1.0f), NULL);
V_7 = L_66;
// var projection = realCamera.CalculateObliqueMatrix(clipPlane);
Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184* L_67 = ___realCamera0;
Vector4_t58B63D32F48C0DBF50DE2C60794C4676C80EDBE3 L_68 = V_7;
NullCheck(L_67);
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 L_69;
L_69 = Camera_CalculateObliqueMatrix_mBBFA94C033BB0C3C21B182F732B2155913E46609(L_67, L_68, NULL);
V_8 = L_69;
// _reflectionCamera.projectionMatrix = projection;
Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184* L_70 = ((PlanarReflections_t89C378C054F8113CB465D2A27E38FCC4F4B9F169_StaticFields*)il2cpp_codegen_static_fields_for(PlanarReflections_t89C378C054F8113CB465D2A27E38FCC4F4B9F169_il2cpp_TypeInfo_var))->____reflectionCamera_7;
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 L_71 = V_8;
NullCheck(L_70);
Camera_set_projectionMatrix_m351820E6903139402FFFF40221B32D0C52B5A094(L_70, L_71, NULL);
// _reflectionCamera.cullingMask = m_settings.m_ReflectLayers; // never render water layer
Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184* L_72 = ((PlanarReflections_t89C378C054F8113CB465D2A27E38FCC4F4B9F169_StaticFields*)il2cpp_codegen_static_fields_for(PlanarReflections_t89C378C054F8113CB465D2A27E38FCC4F4B9F169_il2cpp_TypeInfo_var))->____reflectionCamera_7;
PlanarReflectionSettings_t933C0BB776407C4B49D2CE2FD8E60337F2B62731* L_73 = __this->___m_settings_4;
NullCheck(L_73);
LayerMask_t97CB6BDADEDC3D6423C7BCFEA7F86DA2EC6241DB L_74 = L_73->___m_ReflectLayers_2;
int32_t L_75;
L_75 = LayerMask_op_Implicit_m5D697E103A7CB05CADCED9F90FD4F6BAE955E763(L_74, NULL);
NullCheck(L_72);
Camera_set_cullingMask_m14F426710530BA8FA53AEC02F79C418AA558CB32(L_72, L_75, NULL);
// _reflectionCamera.transform.position = newPosition;
Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184* L_76 = ((PlanarReflections_t89C378C054F8113CB465D2A27E38FCC4F4B9F169_StaticFields*)il2cpp_codegen_static_fields_for(PlanarReflections_t89C378C054F8113CB465D2A27E38FCC4F4B9F169_il2cpp_TypeInfo_var))->____reflectionCamera_7;
NullCheck(L_76);
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_77;
L_77 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(L_76, NULL);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_78 = V_6;
NullCheck(L_77);
Transform_set_position_mA1A817124BB41B685043DED2A9BA48CDF37C4156(L_77, L_78, NULL);
// }
return;
}
}
// System.Void UnityEngine.Rendering.Universal.PlanarReflections::CalculateReflectionMatrix(UnityEngine.Matrix4x4&,UnityEngine.Vector4)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PlanarReflections_CalculateReflectionMatrix_m216CCD5473D8B3AEE1DBD5BD00117202B88BB5E7 (Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6* ___reflectionMat0, Vector4_t58B63D32F48C0DBF50DE2C60794C4676C80EDBE3 ___plane1, const RuntimeMethod* method)
{
{
// reflectionMat.m00 = (1F - 2F * plane[0] * plane[0]);
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6* L_0 = ___reflectionMat0;
float L_1;
L_1 = Vector4_get_Item_mB1D001A235857569E479FB799EF77C52391D19EF_inline((&___plane1), 0, NULL);
float L_2;
L_2 = Vector4_get_Item_mB1D001A235857569E479FB799EF77C52391D19EF_inline((&___plane1), 0, NULL);
L_0->___m00_0 = ((float)il2cpp_codegen_subtract((1.0f), ((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_multiply((2.0f), L_1)), L_2))));
// reflectionMat.m01 = (-2F * plane[0] * plane[1]);
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6* L_3 = ___reflectionMat0;
float L_4;
L_4 = Vector4_get_Item_mB1D001A235857569E479FB799EF77C52391D19EF_inline((&___plane1), 0, NULL);
float L_5;
L_5 = Vector4_get_Item_mB1D001A235857569E479FB799EF77C52391D19EF_inline((&___plane1), 1, NULL);
L_3->___m01_4 = ((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_multiply((-2.0f), L_4)), L_5));
// reflectionMat.m02 = (-2F * plane[0] * plane[2]);
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6* L_6 = ___reflectionMat0;
float L_7;
L_7 = Vector4_get_Item_mB1D001A235857569E479FB799EF77C52391D19EF_inline((&___plane1), 0, NULL);
float L_8;
L_8 = Vector4_get_Item_mB1D001A235857569E479FB799EF77C52391D19EF_inline((&___plane1), 2, NULL);
L_6->___m02_8 = ((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_multiply((-2.0f), L_7)), L_8));
// reflectionMat.m03 = (-2F * plane[3] * plane[0]);
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6* L_9 = ___reflectionMat0;
float L_10;
L_10 = Vector4_get_Item_mB1D001A235857569E479FB799EF77C52391D19EF_inline((&___plane1), 3, NULL);
float L_11;
L_11 = Vector4_get_Item_mB1D001A235857569E479FB799EF77C52391D19EF_inline((&___plane1), 0, NULL);
L_9->___m03_12 = ((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_multiply((-2.0f), L_10)), L_11));
// reflectionMat.m10 = (-2F * plane[1] * plane[0]);
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6* L_12 = ___reflectionMat0;
float L_13;
L_13 = Vector4_get_Item_mB1D001A235857569E479FB799EF77C52391D19EF_inline((&___plane1), 1, NULL);
float L_14;
L_14 = Vector4_get_Item_mB1D001A235857569E479FB799EF77C52391D19EF_inline((&___plane1), 0, NULL);
L_12->___m10_1 = ((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_multiply((-2.0f), L_13)), L_14));
// reflectionMat.m11 = (1F - 2F * plane[1] * plane[1]);
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6* L_15 = ___reflectionMat0;
float L_16;
L_16 = Vector4_get_Item_mB1D001A235857569E479FB799EF77C52391D19EF_inline((&___plane1), 1, NULL);
float L_17;
L_17 = Vector4_get_Item_mB1D001A235857569E479FB799EF77C52391D19EF_inline((&___plane1), 1, NULL);
L_15->___m11_5 = ((float)il2cpp_codegen_subtract((1.0f), ((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_multiply((2.0f), L_16)), L_17))));
// reflectionMat.m12 = (-2F * plane[1] * plane[2]);
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6* L_18 = ___reflectionMat0;
float L_19;
L_19 = Vector4_get_Item_mB1D001A235857569E479FB799EF77C52391D19EF_inline((&___plane1), 1, NULL);
float L_20;
L_20 = Vector4_get_Item_mB1D001A235857569E479FB799EF77C52391D19EF_inline((&___plane1), 2, NULL);
L_18->___m12_9 = ((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_multiply((-2.0f), L_19)), L_20));
// reflectionMat.m13 = (-2F * plane[3] * plane[1]);
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6* L_21 = ___reflectionMat0;
float L_22;
L_22 = Vector4_get_Item_mB1D001A235857569E479FB799EF77C52391D19EF_inline((&___plane1), 3, NULL);
float L_23;
L_23 = Vector4_get_Item_mB1D001A235857569E479FB799EF77C52391D19EF_inline((&___plane1), 1, NULL);
L_21->___m13_13 = ((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_multiply((-2.0f), L_22)), L_23));
// reflectionMat.m20 = (-2F * plane[2] * plane[0]);
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6* L_24 = ___reflectionMat0;
float L_25;
L_25 = Vector4_get_Item_mB1D001A235857569E479FB799EF77C52391D19EF_inline((&___plane1), 2, NULL);
float L_26;
L_26 = Vector4_get_Item_mB1D001A235857569E479FB799EF77C52391D19EF_inline((&___plane1), 0, NULL);
L_24->___m20_2 = ((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_multiply((-2.0f), L_25)), L_26));
// reflectionMat.m21 = (-2F * plane[2] * plane[1]);
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6* L_27 = ___reflectionMat0;
float L_28;
L_28 = Vector4_get_Item_mB1D001A235857569E479FB799EF77C52391D19EF_inline((&___plane1), 2, NULL);
float L_29;
L_29 = Vector4_get_Item_mB1D001A235857569E479FB799EF77C52391D19EF_inline((&___plane1), 1, NULL);
L_27->___m21_6 = ((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_multiply((-2.0f), L_28)), L_29));
// reflectionMat.m22 = (1F - 2F * plane[2] * plane[2]);
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6* L_30 = ___reflectionMat0;
float L_31;
L_31 = Vector4_get_Item_mB1D001A235857569E479FB799EF77C52391D19EF_inline((&___plane1), 2, NULL);
float L_32;
L_32 = Vector4_get_Item_mB1D001A235857569E479FB799EF77C52391D19EF_inline((&___plane1), 2, NULL);
L_30->___m22_10 = ((float)il2cpp_codegen_subtract((1.0f), ((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_multiply((2.0f), L_31)), L_32))));
// reflectionMat.m23 = (-2F * plane[3] * plane[2]);
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6* L_33 = ___reflectionMat0;
float L_34;
L_34 = Vector4_get_Item_mB1D001A235857569E479FB799EF77C52391D19EF_inline((&___plane1), 3, NULL);
float L_35;
L_35 = Vector4_get_Item_mB1D001A235857569E479FB799EF77C52391D19EF_inline((&___plane1), 2, NULL);
L_33->___m23_14 = ((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_multiply((-2.0f), L_34)), L_35));
// reflectionMat.m30 = 0F;
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6* L_36 = ___reflectionMat0;
L_36->___m30_3 = (0.0f);
// reflectionMat.m31 = 0F;
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6* L_37 = ___reflectionMat0;
L_37->___m31_7 = (0.0f);
// reflectionMat.m32 = 0F;
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6* L_38 = ___reflectionMat0;
L_38->___m32_11 = (0.0f);
// reflectionMat.m33 = 1F;
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6* L_39 = ___reflectionMat0;
L_39->___m33_15 = (1.0f);
// }
return;
}
}
// UnityEngine.Vector3 UnityEngine.Rendering.Universal.PlanarReflections::ReflectPosition(UnityEngine.Vector3)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 PlanarReflections_ReflectPosition_m5EF88E45C441E0090B54104C0FA00191DC17D91A (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___pos0, const RuntimeMethod* method)
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
memset((&V_0), 0, sizeof(V_0));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_1;
memset((&V_1), 0, sizeof(V_1));
{
// var newPos = new Vector3(pos.x, -pos.y, pos.z);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ___pos0;
float L_1 = L_0.___x_2;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2 = ___pos0;
float L_3 = L_2.___y_3;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4 = ___pos0;
float L_5 = L_4.___z_4;
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&V_0), L_1, ((-L_3)), L_5, NULL);
// return newPos;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6 = V_0;
V_1 = L_6;
goto IL_001f;
}
IL_001f:
{
// }
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_7 = V_1;
return L_7;
}
}
// System.Single UnityEngine.Rendering.Universal.PlanarReflections::GetScaleValue()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float PlanarReflections_GetScaleValue_m438345610A43069539EA1C85627E9F6AC6905DA4 (PlanarReflections_t89C378C054F8113CB465D2A27E38FCC4F4B9F169* __this, const RuntimeMethod* method)
{
int32_t V_0 = 0;
int32_t V_1 = 0;
float V_2 = 0.0f;
{
// switch(m_settings.m_ResolutionMultiplier)
PlanarReflectionSettings_t933C0BB776407C4B49D2CE2FD8E60337F2B62731* L_0 = __this->___m_settings_4;
NullCheck(L_0);
int32_t L_1 = L_0->___m_ResolutionMultiplier_0;
V_1 = L_1;
int32_t L_2 = V_1;
V_0 = L_2;
int32_t L_3 = V_0;
switch (L_3)
{
case 0:
{
goto IL_0027;
}
case 1:
{
goto IL_002f;
}
case 2:
{
goto IL_0037;
}
case 3:
{
goto IL_003f;
}
}
}
{
goto IL_0047;
}
IL_0027:
{
// return 1f;
V_2 = (1.0f);
goto IL_004f;
}
IL_002f:
{
// return 0.5f;
V_2 = (0.5f);
goto IL_004f;
}
IL_0037:
{
// return 0.33f;
V_2 = (0.330000013f);
goto IL_004f;
}
IL_003f:
{
// return 0.25f;
V_2 = (0.25f);
goto IL_004f;
}
IL_0047:
{
// return 0.5f; // default to half res
V_2 = (0.5f);
goto IL_004f;
}
IL_004f:
{
// }
float L_4 = V_2;
return L_4;
}
}
// System.Boolean UnityEngine.Rendering.Universal.PlanarReflections::Int2Compare(Unity.Mathematics.int2,Unity.Mathematics.int2)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool PlanarReflections_Int2Compare_mA16E749E434B7941A3C03DE247EF2BF6CC859419 (int2_tF4AC25F87943DC0B2BB3456B0B919B3B42A9432A ___a0, int2_tF4AC25F87943DC0B2BB3456B0B919B3B42A9432A ___b1, const RuntimeMethod* method)
{
bool V_0 = false;
int32_t G_B3_0 = 0;
{
// return a.x == b.x && a.y == b.y;
int2_tF4AC25F87943DC0B2BB3456B0B919B3B42A9432A L_0 = ___a0;
int32_t L_1 = L_0.___x_0;
int2_tF4AC25F87943DC0B2BB3456B0B919B3B42A9432A L_2 = ___b1;
int32_t L_3 = L_2.___x_0;
if ((!(((uint32_t)L_1) == ((uint32_t)L_3))))
{
goto IL_001f;
}
}
{
int2_tF4AC25F87943DC0B2BB3456B0B919B3B42A9432A L_4 = ___a0;
int32_t L_5 = L_4.___y_1;
int2_tF4AC25F87943DC0B2BB3456B0B919B3B42A9432A L_6 = ___b1;
int32_t L_7 = L_6.___y_1;
G_B3_0 = ((((int32_t)L_5) == ((int32_t)L_7))? 1 : 0);
goto IL_0020;
}
IL_001f:
{
G_B3_0 = 0;
}
IL_0020:
{
V_0 = (bool)G_B3_0;
goto IL_0023;
}
IL_0023:
{
// }
bool L_8 = V_0;
return L_8;
}
}
// UnityEngine.Vector4 UnityEngine.Rendering.Universal.PlanarReflections::CameraSpacePlane(UnityEngine.Camera,UnityEngine.Vector3,UnityEngine.Vector3,System.Single)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector4_t58B63D32F48C0DBF50DE2C60794C4676C80EDBE3 PlanarReflections_CameraSpacePlane_m27379E45D8D79FF77E808402F3F80C3E64D300D0 (PlanarReflections_t89C378C054F8113CB465D2A27E38FCC4F4B9F169* __this, Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184* ___cam0, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___pos1, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___normal2, float ___sideSign3, const RuntimeMethod* method)
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
memset((&V_0), 0, sizeof(V_0));
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 V_1;
memset((&V_1), 0, sizeof(V_1));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_2;
memset((&V_2), 0, sizeof(V_2));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_3;
memset((&V_3), 0, sizeof(V_3));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_4;
memset((&V_4), 0, sizeof(V_4));
Vector4_t58B63D32F48C0DBF50DE2C60794C4676C80EDBE3 V_5;
memset((&V_5), 0, sizeof(V_5));
{
// var offsetPos = pos + normal * m_settings.m_ClipPlaneOffset;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ___pos1;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_1 = ___normal2;
PlanarReflectionSettings_t933C0BB776407C4B49D2CE2FD8E60337F2B62731* L_2 = __this->___m_settings_4;
NullCheck(L_2);
float L_3 = L_2->___m_ClipPlaneOffset_1;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4;
L_4 = Vector3_op_Multiply_m516FE285F5342F922C6EB3FCB33197E9017FF484_inline(L_1, L_3, NULL);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_5;
L_5 = Vector3_op_Addition_m087D6F0EC60843D455F9F83D25FE42B2433AAD1D_inline(L_0, L_4, NULL);
V_0 = L_5;
// var m = cam.worldToCameraMatrix;
Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184* L_6 = ___cam0;
NullCheck(L_6);
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 L_7;
L_7 = Camera_get_worldToCameraMatrix_m48E324BD76706A316A1701EFC6A3DEC7DFB2FF40(L_6, NULL);
V_1 = L_7;
// var cameraPosition = m.MultiplyPoint(offsetPos);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_8 = V_0;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_9;
L_9 = Matrix4x4_MultiplyPoint_m20E910B65693559BFDE99382472D8DD02C862E7E((&V_1), L_8, NULL);
V_2 = L_9;
// var cameraNormal = m.MultiplyVector(normal).normalized * sideSign;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_10 = ___normal2;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_11;
L_11 = Matrix4x4_MultiplyVector_mFD12F86A473E90BBB0002149ABA3917B2A518937((&V_1), L_10, NULL);
V_4 = L_11;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_12;
L_12 = Vector3_get_normalized_m736BBF65D5CDA7A18414370D15B4DFCC1E466F07_inline((&V_4), NULL);
float L_13 = ___sideSign3;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_14;
L_14 = Vector3_op_Multiply_m516FE285F5342F922C6EB3FCB33197E9017FF484_inline(L_12, L_13, NULL);
V_3 = L_14;
// return new Vector4(cameraNormal.x, cameraNormal.y, cameraNormal.z, -Vector3.Dot(cameraPosition, cameraNormal));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_15 = V_3;
float L_16 = L_15.___x_2;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_17 = V_3;
float L_18 = L_17.___y_3;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_19 = V_3;
float L_20 = L_19.___z_4;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_21 = V_2;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_22 = V_3;
float L_23;
L_23 = Vector3_Dot_m4688A1A524306675DBDB1E6D483F35E85E3CE6D8_inline(L_21, L_22, NULL);
Vector4_t58B63D32F48C0DBF50DE2C60794C4676C80EDBE3 L_24;
memset((&L_24), 0, sizeof(L_24));
Vector4__ctor_m96B2CD8B862B271F513AF0BDC2EABD58E4DBC813_inline((&L_24), L_16, L_18, L_20, ((-L_23)), /*hidden argument*/NULL);
V_5 = L_24;
goto IL_0065;
}
IL_0065:
{
// }
Vector4_t58B63D32F48C0DBF50DE2C60794C4676C80EDBE3 L_25 = V_5;
return L_25;
}
}
// UnityEngine.Camera UnityEngine.Rendering.Universal.PlanarReflections::CreateMirrorObjects()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184* PlanarReflections_CreateMirrorObjects_mE59932993996D97F49CF689AAF03C663AE40E477 (PlanarReflections_t89C378C054F8113CB465D2A27E38FCC4F4B9F169* __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184_0_0_0_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&GameObject_GetComponent_TisCamera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184_m3B3C11550E48AA36AFF82788636EB163CC51FEE6_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&GameObject_t76FEDD663AB33C991A9C9A23129337651094216F_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TypeU5BU5D_t97234E1129B564EB38B8D85CAC2AD8B5B9522FFB_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Type_t_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&UniversalAdditionalCameraData_t57B5D0F93C2D506E618E23187302C0FADE813B93_0_0_0_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&UniversalAdditionalCameraData_t57B5D0F93C2D506E618E23187302C0FADE813B93_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralC2D15C6878B92FE1B4D290FCCB9359C65F16F872);
s_Il2CppMethodInitialized = true;
}
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* V_0 = NULL;
UniversalAdditionalCameraData_t57B5D0F93C2D506E618E23187302C0FADE813B93* V_1 = NULL;
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* V_2 = NULL;
Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184* V_3 = NULL;
Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184* V_4 = NULL;
{
// var go = new GameObject("Planar Reflections",typeof(Camera));
TypeU5BU5D_t97234E1129B564EB38B8D85CAC2AD8B5B9522FFB* L_0 = (TypeU5BU5D_t97234E1129B564EB38B8D85CAC2AD8B5B9522FFB*)(TypeU5BU5D_t97234E1129B564EB38B8D85CAC2AD8B5B9522FFB*)SZArrayNew(TypeU5BU5D_t97234E1129B564EB38B8D85CAC2AD8B5B9522FFB_il2cpp_TypeInfo_var, (uint32_t)1);
TypeU5BU5D_t97234E1129B564EB38B8D85CAC2AD8B5B9522FFB* L_1 = L_0;
RuntimeTypeHandle_t332A452B8B6179E4469B69525D0FE82A88030F7B L_2 = { reinterpret_cast<intptr_t> (Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184_0_0_0_var) };
il2cpp_codegen_runtime_class_init_inline(Type_t_il2cpp_TypeInfo_var);
Type_t* L_3;
L_3 = Type_GetTypeFromHandle_m2570A2A5B32A5E9D9F0F38B37459DA18736C823E(L_2, NULL);
NullCheck(L_1);
ArrayElementTypeCheck (L_1, L_3);
(L_1)->SetAt(static_cast<il2cpp_array_size_t>(0), (Type_t*)L_3);
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* L_4 = (GameObject_t76FEDD663AB33C991A9C9A23129337651094216F*)il2cpp_codegen_object_new(GameObject_t76FEDD663AB33C991A9C9A23129337651094216F_il2cpp_TypeInfo_var);
NullCheck(L_4);
GameObject__ctor_m721D643351E55308EA4F5F41B67D5446D11C61F0(L_4, _stringLiteralC2D15C6878B92FE1B4D290FCCB9359C65F16F872, L_1, NULL);
V_0 = L_4;
// var cameraData = go.AddComponent(typeof(UniversalAdditionalCameraData)) as UniversalAdditionalCameraData;
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* L_5 = V_0;
RuntimeTypeHandle_t332A452B8B6179E4469B69525D0FE82A88030F7B L_6 = { reinterpret_cast<intptr_t> (UniversalAdditionalCameraData_t57B5D0F93C2D506E618E23187302C0FADE813B93_0_0_0_var) };
Type_t* L_7;
L_7 = Type_GetTypeFromHandle_m2570A2A5B32A5E9D9F0F38B37459DA18736C823E(L_6, NULL);
NullCheck(L_5);
Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3* L_8;
L_8 = GameObject_AddComponent_mDF246771EC34613FA6AF0C98D443368FB43E9F36(L_5, L_7, NULL);
V_1 = ((UniversalAdditionalCameraData_t57B5D0F93C2D506E618E23187302C0FADE813B93*)IsInstClass((RuntimeObject*)L_8, UniversalAdditionalCameraData_t57B5D0F93C2D506E618E23187302C0FADE813B93_il2cpp_TypeInfo_var));
// cameraData.requiresColorOption = CameraOverrideOption.Off;
UniversalAdditionalCameraData_t57B5D0F93C2D506E618E23187302C0FADE813B93* L_9 = V_1;
NullCheck(L_9);
UniversalAdditionalCameraData_set_requiresColorOption_m70A4CD657A3C82549B7159183BEB50131E7C59AA_inline(L_9, 0, NULL);
// cameraData.requiresDepthOption = CameraOverrideOption.Off;
UniversalAdditionalCameraData_t57B5D0F93C2D506E618E23187302C0FADE813B93* L_10 = V_1;
NullCheck(L_10);
UniversalAdditionalCameraData_set_requiresDepthOption_m7BA4C2691693C5175B57BACC7750A2FCC88DFA62_inline(L_10, 0, NULL);
// cameraData.SetRenderer(1);
UniversalAdditionalCameraData_t57B5D0F93C2D506E618E23187302C0FADE813B93* L_11 = V_1;
NullCheck(L_11);
UniversalAdditionalCameraData_SetRenderer_m486F07D0F0D14B3F112CB6AFF01B12BE187AE255(L_11, 1, NULL);
// var t = transform;
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_12;
L_12 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(__this, NULL);
V_2 = L_12;
// var reflectionCamera = go.GetComponent<Camera>();
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* L_13 = V_0;
NullCheck(L_13);
Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184* L_14;
L_14 = GameObject_GetComponent_TisCamera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184_m3B3C11550E48AA36AFF82788636EB163CC51FEE6(L_13, GameObject_GetComponent_TisCamera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184_m3B3C11550E48AA36AFF82788636EB163CC51FEE6_RuntimeMethod_var);
V_3 = L_14;
// reflectionCamera.transform.SetPositionAndRotation(t.position, t.rotation);
Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184* L_15 = V_3;
NullCheck(L_15);
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_16;
L_16 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(L_15, NULL);
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_17 = V_2;
NullCheck(L_17);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_18;
L_18 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_17, NULL);
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_19 = V_2;
NullCheck(L_19);
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_20;
L_20 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_19, NULL);
NullCheck(L_16);
Transform_SetPositionAndRotation_m418859BF59086EEAA084FFD6F258A43FAB408F5A(L_16, L_18, L_20, NULL);
// reflectionCamera.depth = -10;
Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184* L_21 = V_3;
NullCheck(L_21);
Camera_set_depth_m595FA2A4FEBC90E730810BBFB55E4A2C2134066F(L_21, (-10.0f), NULL);
// reflectionCamera.enabled = false;
Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184* L_22 = V_3;
NullCheck(L_22);
Behaviour_set_enabled_mF1DCFE60EB09E0529FE9476CA804A3AA2D72B16A(L_22, (bool)0, NULL);
// go.hideFlags = HideFlags.HideAndDontSave;
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* L_23 = V_0;
NullCheck(L_23);
Object_set_hideFlags_mACB8BFC903FB3B01BBD427753E791BF28B5E33D4(L_23, ((int32_t)61), NULL);
// return reflectionCamera;
Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184* L_24 = V_3;
V_4 = L_24;
goto IL_0095;
}
IL_0095:
{
// }
Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184* L_25 = V_4;
return L_25;
}
}
// System.Void UnityEngine.Rendering.Universal.PlanarReflections::PlanarReflectionTexture(UnityEngine.Camera)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PlanarReflections_PlanarReflectionTexture_mE83651A070DAD98445B2B8C3628011CEBC9094E5 (PlanarReflections_t89C378C054F8113CB465D2A27E38FCC4F4B9F169* __this, Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184* ___cam0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&GraphicsFormatUtility_t3DAD8CAC84EA38F28613F98184F871773CB282FD_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&PlanarReflections_t89C378C054F8113CB465D2A27E38FCC4F4B9F169_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&RenderingUtils_t4E40200449A82FA3A172A563C490DF11FADA2BE1_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&UniversalRenderPipeline_t54B4737DC500C08628C5BE283D8C583C14DED98F_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
bool V_0 = false;
int2_tF4AC25F87943DC0B2BB3456B0B919B3B42A9432A V_1;
memset((&V_1), 0, sizeof(V_1));
bool V_2 = false;
int32_t V_3 = 0;
int32_t G_B4_0 = 0;
{
// if (_reflectionTexture == null)
RenderTexture_tBA90C4C3AD9EECCFDDCC632D97C29FAB80D60D27* L_0 = __this->____reflectionTexture_8;
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
bool L_1;
L_1 = Object_op_Equality_mD3DB0D72CE0250C84033DC2A90AEF9D59896E536(L_0, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
V_0 = L_1;
bool L_2 = V_0;
if (!L_2)
{
goto IL_0057;
}
}
{
// var res = ReflectionResolution(cam, UniversalRenderPipeline.asset.renderScale);
Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184* L_3 = ___cam0;
il2cpp_codegen_runtime_class_init_inline(UniversalRenderPipeline_t54B4737DC500C08628C5BE283D8C583C14DED98F_il2cpp_TypeInfo_var);
UniversalRenderPipelineAsset_tE8A9AA6F030CC3B558CEA2EB54FFF4FC58CA6232* L_4;
L_4 = UniversalRenderPipeline_get_asset_mE97A926D00D90276CC9442857014B7180EF02819(NULL);
NullCheck(L_4);
float L_5;
L_5 = UniversalRenderPipelineAsset_get_renderScale_m742E4D97CEF504F30F963E9500AAF070C71EDB3C(L_4, NULL);
int2_tF4AC25F87943DC0B2BB3456B0B919B3B42A9432A L_6;
L_6 = PlanarReflections_ReflectionResolution_m18A42B617325C346F543C33D035C93A67F78396B(__this, L_3, L_5, NULL);
V_1 = L_6;
// bool useHdr10 = RenderingUtils.SupportsRenderTextureFormat(RenderTextureFormat.RGB111110Float);
il2cpp_codegen_runtime_class_init_inline(RenderingUtils_t4E40200449A82FA3A172A563C490DF11FADA2BE1_il2cpp_TypeInfo_var);
bool L_7;
L_7 = RenderingUtils_SupportsRenderTextureFormat_m52BD74695C6B60C3682166BF627955DBFB385CF0(((int32_t)22), NULL);
V_2 = L_7;
// RenderTextureFormat hdrFormat = useHdr10 ? RenderTextureFormat.RGB111110Float : RenderTextureFormat.DefaultHDR;
bool L_8 = V_2;
if (L_8)
{
goto IL_0033;
}
}
{
G_B4_0 = ((int32_t)9);
goto IL_0035;
}
IL_0033:
{
G_B4_0 = ((int32_t)22);
}
IL_0035:
{
V_3 = G_B4_0;
// _reflectionTexture = RenderTexture.GetTemporary(res.x, res.y, 16,
// GraphicsFormatUtility.GetGraphicsFormat(hdrFormat, true));
int2_tF4AC25F87943DC0B2BB3456B0B919B3B42A9432A L_9 = V_1;
int32_t L_10 = L_9.___x_0;
int2_tF4AC25F87943DC0B2BB3456B0B919B3B42A9432A L_11 = V_1;
int32_t L_12 = L_11.___y_1;
int32_t L_13 = V_3;
il2cpp_codegen_runtime_class_init_inline(GraphicsFormatUtility_t3DAD8CAC84EA38F28613F98184F871773CB282FD_il2cpp_TypeInfo_var);
int32_t L_14;
L_14 = GraphicsFormatUtility_GetGraphicsFormat_m9C447321AA5B70BA35F3A23DFC772D449D92A315(L_13, (bool)1, NULL);
RenderTexture_tBA90C4C3AD9EECCFDDCC632D97C29FAB80D60D27* L_15;
L_15 = RenderTexture_GetTemporary_m1B736CCEBF98116572F853499DAC3D69798628F1(L_10, L_12, ((int32_t)16), L_14, NULL);
__this->____reflectionTexture_8 = L_15;
Il2CppCodeGenWriteBarrier((void**)(&__this->____reflectionTexture_8), (void*)L_15);
}
IL_0057:
{
// _reflectionCamera.targetTexture = _reflectionTexture;
Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184* L_16 = ((PlanarReflections_t89C378C054F8113CB465D2A27E38FCC4F4B9F169_StaticFields*)il2cpp_codegen_static_fields_for(PlanarReflections_t89C378C054F8113CB465D2A27E38FCC4F4B9F169_il2cpp_TypeInfo_var))->____reflectionCamera_7;
RenderTexture_tBA90C4C3AD9EECCFDDCC632D97C29FAB80D60D27* L_17 = __this->____reflectionTexture_8;
NullCheck(L_16);
Camera_set_targetTexture_mE6C740F21A72DA47FB5B1D31D208710738A836C4(L_16, L_17, NULL);
// }
return;
}
}
// Unity.Mathematics.int2 UnityEngine.Rendering.Universal.PlanarReflections::ReflectionResolution(UnityEngine.Camera,System.Single)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int2_tF4AC25F87943DC0B2BB3456B0B919B3B42A9432A PlanarReflections_ReflectionResolution_m18A42B617325C346F543C33D035C93A67F78396B (PlanarReflections_t89C378C054F8113CB465D2A27E38FCC4F4B9F169* __this, Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184* ___cam0, float ___scale1, const RuntimeMethod* method)
{
int32_t V_0 = 0;
int32_t V_1 = 0;
int2_tF4AC25F87943DC0B2BB3456B0B919B3B42A9432A V_2;
memset((&V_2), 0, sizeof(V_2));
{
// var x = (int)(cam.pixelWidth * scale * GetScaleValue());
Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184* L_0 = ___cam0;
NullCheck(L_0);
int32_t L_1;
L_1 = Camera_get_pixelWidth_m55AC8AD744FC0179865C2E630C68F9AD0799065D(L_0, NULL);
float L_2 = ___scale1;
float L_3;
L_3 = PlanarReflections_GetScaleValue_m438345610A43069539EA1C85627E9F6AC6905DA4(__this, NULL);
V_0 = il2cpp_codegen_cast_double_to_int<int32_t>(((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_multiply(((float)L_1), L_2)), L_3)));
// var y = (int)(cam.pixelHeight * scale * GetScaleValue());
Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184* L_4 = ___cam0;
NullCheck(L_4);
int32_t L_5;
L_5 = Camera_get_pixelHeight_m00881B5A440B0018D5A8F837694027050B500F59(L_4, NULL);
float L_6 = ___scale1;
float L_7;
L_7 = PlanarReflections_GetScaleValue_m438345610A43069539EA1C85627E9F6AC6905DA4(__this, NULL);
V_1 = il2cpp_codegen_cast_double_to_int<int32_t>(((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_multiply(((float)L_5), L_6)), L_7)));
// return new int2(x, y);
int32_t L_8 = V_0;
int32_t L_9 = V_1;
int2_tF4AC25F87943DC0B2BB3456B0B919B3B42A9432A L_10;
memset((&L_10), 0, sizeof(L_10));
int2__ctor_m452D21510717D0961119C89A72BBB8D84DCD49F4_inline((&L_10), L_8, L_9, /*hidden argument*/NULL);
V_2 = L_10;
goto IL_002f;
}
IL_002f:
{
// }
int2_tF4AC25F87943DC0B2BB3456B0B919B3B42A9432A L_11 = V_2;
return L_11;
}
}
// System.Void UnityEngine.Rendering.Universal.PlanarReflections::ExecutePlanarReflections(UnityEngine.Rendering.ScriptableRenderContext,UnityEngine.Camera)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PlanarReflections_ExecutePlanarReflections_mA8A66140E4386ABD1A78D009014CC7DB8250FBC2 (PlanarReflections_t89C378C054F8113CB465D2A27E38FCC4F4B9F169* __this, ScriptableRenderContext_t5AB09B3602BEB456E0DC3D53926D3A3BDAF08E36 ___context0, Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184* ___camera1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&PlanarReflectionSettingData_tA2166FF34B27262BB7A4ADA1EA450DB940ACCF37_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&PlanarReflections_t89C378C054F8113CB465D2A27E38FCC4F4B9F169_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&UniversalRenderPipeline_t54B4737DC500C08628C5BE283D8C583C14DED98F_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral7BC2E94BE8A767649B973AB17821662F479B0C7F);
s_Il2CppMethodInitialized = true;
}
PlanarReflectionSettingData_tA2166FF34B27262BB7A4ADA1EA450DB940ACCF37* V_0 = NULL;
bool V_1 = false;
int32_t G_B3_0 = 0;
Action_2_t8E07914D7090FF200FE84404EEEFAF3CE183C9F3* G_B7_0 = NULL;
Action_2_t8E07914D7090FF200FE84404EEEFAF3CE183C9F3* G_B6_0 = NULL;
{
// if (camera.cameraType == CameraType.Reflection || camera.cameraType == CameraType.Preview)
Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184* L_0 = ___camera1;
NullCheck(L_0);
int32_t L_1;
L_1 = Camera_get_cameraType_m85434C4C986D2EAC04FBFA44B284840AFC497851(L_0, NULL);
if ((((int32_t)L_1) == ((int32_t)((int32_t)16))))
{
goto IL_0016;
}
}
{
Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184* L_2 = ___camera1;
NullCheck(L_2);
int32_t L_3;
L_3 = Camera_get_cameraType_m85434C4C986D2EAC04FBFA44B284840AFC497851(L_2, NULL);
G_B3_0 = ((((int32_t)L_3) == ((int32_t)4))? 1 : 0);
goto IL_0017;
}
IL_0016:
{
G_B3_0 = 1;
}
IL_0017:
{
V_1 = (bool)G_B3_0;
bool L_4 = V_1;
if (!L_4)
{
goto IL_001d;
}
}
{
// return;
goto IL_008c;
}
IL_001d:
{
// UpdateReflectionCamera(camera); // create reflected camera
Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184* L_5 = ___camera1;
PlanarReflections_UpdateReflectionCamera_m5F0E5B2A03309AA8BB5228DA93CAC68BC3997E44(__this, L_5, NULL);
// PlanarReflectionTexture(camera); // create and assign RenderTexture
Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184* L_6 = ___camera1;
PlanarReflections_PlanarReflectionTexture_mE83651A070DAD98445B2B8C3628011CEBC9094E5(__this, L_6, NULL);
// var data = new PlanarReflectionSettingData(); // save quality settings and lower them for the planar reflections
PlanarReflectionSettingData_tA2166FF34B27262BB7A4ADA1EA450DB940ACCF37* L_7 = (PlanarReflectionSettingData_tA2166FF34B27262BB7A4ADA1EA450DB940ACCF37*)il2cpp_codegen_object_new(PlanarReflectionSettingData_tA2166FF34B27262BB7A4ADA1EA450DB940ACCF37_il2cpp_TypeInfo_var);
NullCheck(L_7);
PlanarReflectionSettingData__ctor_m887092A8675EDB36E1AD3417B18BEEAC76179560(L_7, NULL);
V_0 = L_7;
// data.Set(); // set quality settings
PlanarReflectionSettingData_tA2166FF34B27262BB7A4ADA1EA450DB940ACCF37* L_8 = V_0;
NullCheck(L_8);
PlanarReflectionSettingData_Set_mFD4289AED6CA9AC33E3B9B1665E52BDBEABD9083(L_8, NULL);
// Shader.EnableKeyword("_PLANAR_REFLECTION_CAMERA");
Shader_EnableKeyword_m24DB964DE6795F323916C317DDDB88061E6D5761(_stringLiteral7BC2E94BE8A767649B973AB17821662F479B0C7F, NULL);
// BeginPlanarReflections?.Invoke(context, _reflectionCamera); // callback Action for PlanarReflection
Action_2_t8E07914D7090FF200FE84404EEEFAF3CE183C9F3* L_9 = ((PlanarReflections_t89C378C054F8113CB465D2A27E38FCC4F4B9F169_StaticFields*)il2cpp_codegen_static_fields_for(PlanarReflections_t89C378C054F8113CB465D2A27E38FCC4F4B9F169_il2cpp_TypeInfo_var))->___BeginPlanarReflections_11;
Action_2_t8E07914D7090FF200FE84404EEEFAF3CE183C9F3* L_10 = L_9;
G_B6_0 = L_10;
if (L_10)
{
G_B7_0 = L_10;
goto IL_0050;
}
}
{
goto IL_005c;
}
IL_0050:
{
ScriptableRenderContext_t5AB09B3602BEB456E0DC3D53926D3A3BDAF08E36 L_11 = ___context0;
Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184* L_12 = ((PlanarReflections_t89C378C054F8113CB465D2A27E38FCC4F4B9F169_StaticFields*)il2cpp_codegen_static_fields_for(PlanarReflections_t89C378C054F8113CB465D2A27E38FCC4F4B9F169_il2cpp_TypeInfo_var))->____reflectionCamera_7;
NullCheck(G_B7_0);
Action_2_Invoke_m457EA9776C78CC34B2E13A96BA84B7FF28C35580_inline(G_B7_0, L_11, L_12, NULL);
}
IL_005c:
{
// UniversalRenderPipeline.RenderSingleCamera(context, _reflectionCamera); // render planar reflections
ScriptableRenderContext_t5AB09B3602BEB456E0DC3D53926D3A3BDAF08E36 L_13 = ___context0;
Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184* L_14 = ((PlanarReflections_t89C378C054F8113CB465D2A27E38FCC4F4B9F169_StaticFields*)il2cpp_codegen_static_fields_for(PlanarReflections_t89C378C054F8113CB465D2A27E38FCC4F4B9F169_il2cpp_TypeInfo_var))->____reflectionCamera_7;
il2cpp_codegen_runtime_class_init_inline(UniversalRenderPipeline_t54B4737DC500C08628C5BE283D8C583C14DED98F_il2cpp_TypeInfo_var);
UniversalRenderPipeline_RenderSingleCamera_m43520D1759875704A42FA33CEF5A8D225170E92C(L_13, L_14, NULL);
// data.Restore(); // restore the quality settings
PlanarReflectionSettingData_tA2166FF34B27262BB7A4ADA1EA450DB940ACCF37* L_15 = V_0;
NullCheck(L_15);
PlanarReflectionSettingData_Restore_m828584D856CAD831AAF40830A25130EF77BAC77A(L_15, NULL);
// Shader.SetGlobalTexture(_planarReflectionTextureId, _reflectionTexture); // Assign texture to water shader
int32_t L_16 = __this->____planarReflectionTextureId_9;
RenderTexture_tBA90C4C3AD9EECCFDDCC632D97C29FAB80D60D27* L_17 = __this->____reflectionTexture_8;
Shader_SetGlobalTexture_m4DF21A2D64AA4CF5B3A77BBBCA33D5195308BE2E(L_16, L_17, NULL);
// Shader.DisableKeyword("_PLANAR_REFLECTION_CAMERA");
Shader_DisableKeyword_m6427E6828CF809F12752AE2CF70E6A79281A3DB2(_stringLiteral7BC2E94BE8A767649B973AB17821662F479B0C7F, NULL);
}
IL_008c:
{
// }
return;
}
}
// System.Void UnityEngine.Rendering.Universal.PlanarReflections::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PlanarReflections__ctor_m05FB8226420947571D238F1213F4C904E5E12C67 (PlanarReflections_t89C378C054F8113CB465D2A27E38FCC4F4B9F169* __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&PlanarReflectionSettings_t933C0BB776407C4B49D2CE2FD8E60337F2B62731_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral701478AFDFECD0D2F0AE895576A1F0AE93D28F07);
s_Il2CppMethodInitialized = true;
}
{
// public PlanarReflectionSettings m_settings = new PlanarReflectionSettings();
PlanarReflectionSettings_t933C0BB776407C4B49D2CE2FD8E60337F2B62731* L_0 = (PlanarReflectionSettings_t933C0BB776407C4B49D2CE2FD8E60337F2B62731*)il2cpp_codegen_object_new(PlanarReflectionSettings_t933C0BB776407C4B49D2CE2FD8E60337F2B62731_il2cpp_TypeInfo_var);
NullCheck(L_0);
PlanarReflectionSettings__ctor_mBDB56988A1E43301A1B77F553B1D7B9D988743D3(L_0, NULL);
__this->___m_settings_4 = L_0;
Il2CppCodeGenWriteBarrier((void**)(&__this->___m_settings_4), (void*)L_0);
// private readonly int _planarReflectionTextureId = Shader.PropertyToID("_PlanarReflectionTexture");
int32_t L_1;
L_1 = Shader_PropertyToID_mF5F7BA2EFF23D83482ECDE4C34227145D817B1EB(_stringLiteral701478AFDFECD0D2F0AE895576A1F0AE93D28F07, NULL);
__this->____planarReflectionTextureId_9 = L_1;
MonoBehaviour__ctor_m592DB0105CA0BC97AA1C5F4AD27B12D68A3B7C1E(__this, NULL);
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void UnityEngine.Rendering.Universal.PlanarReflections/PlanarReflectionSettings::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PlanarReflectionSettings__ctor_mBDB56988A1E43301A1B77F553B1D7B9D988743D3 (PlanarReflectionSettings_t933C0BB776407C4B49D2CE2FD8E60337F2B62731* __this, const RuntimeMethod* method)
{
{
// public ResolutionMulltiplier m_ResolutionMultiplier = ResolutionMulltiplier.Third;
__this->___m_ResolutionMultiplier_0 = 2;
// public float m_ClipPlaneOffset = 0.07f;
__this->___m_ClipPlaneOffset_1 = (0.0700000003f);
// public LayerMask m_ReflectLayers = -1;
LayerMask_t97CB6BDADEDC3D6423C7BCFEA7F86DA2EC6241DB L_0;
L_0 = LayerMask_op_Implicit_mDC9C22C4477684D460FCF25B1BFE6B54419FB922((-1), NULL);
__this->___m_ReflectLayers_2 = L_0;
Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2(__this, NULL);
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void UnityEngine.Rendering.Universal.PlanarReflections/PlanarReflectionSettingData::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PlanarReflectionSettingData__ctor_m887092A8675EDB36E1AD3417B18BEEAC76179560 (PlanarReflectionSettingData_tA2166FF34B27262BB7A4ADA1EA450DB940ACCF37* __this, const RuntimeMethod* method)
{
{
// public PlanarReflectionSettingData()
Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2(__this, NULL);
// _fog = RenderSettings.fog;
bool L_0;
L_0 = RenderSettings_get_fog_m475092AFEE209DC2B7949131C3D0663A58095337(NULL);
__this->____fog_0 = L_0;
// _maxLod = QualitySettings.maximumLODLevel;
int32_t L_1;
L_1 = QualitySettings_get_maximumLODLevel_m80F225EC305D3F9C3BC0433ECA599032C5FBE8F8(NULL);
__this->____maxLod_1 = L_1;
// _lodBias = QualitySettings.lodBias;
float L_2;
L_2 = QualitySettings_get_lodBias_m0DB63DEEF86BE1C091409BFAE8539F187886DA7B(NULL);
__this->____lodBias_2 = L_2;
// }
return;
}
}
// System.Void UnityEngine.Rendering.Universal.PlanarReflections/PlanarReflectionSettingData::Set()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PlanarReflectionSettingData_Set_mFD4289AED6CA9AC33E3B9B1665E52BDBEABD9083 (PlanarReflectionSettingData_tA2166FF34B27262BB7A4ADA1EA450DB940ACCF37* __this, const RuntimeMethod* method)
{
{
// GL.invertCulling = true;
GL_set_invertCulling_mAC18402894032E2EBB93C0B7D953496AEE96AB36((bool)1, NULL);
// RenderSettings.fog = false; // disable fog for now as it's incorrect with projection
RenderSettings_set_fog_m919A8EC1E72A06182BA3EB050618D1AB4FDEB30C((bool)0, NULL);
// QualitySettings.maximumLODLevel = 1;
QualitySettings_set_maximumLODLevel_m45F5998DECA1D200E2902E2A144FBBB24C1FACF2(1, NULL);
// QualitySettings.lodBias = _lodBias * 0.5f;
float L_0 = __this->____lodBias_2;
QualitySettings_set_lodBias_mE3BDC7C587785C9A1A3B33521209A0AE9BDAD119(((float)il2cpp_codegen_multiply(L_0, (0.5f))), NULL);
// }
return;
}
}
// System.Void UnityEngine.Rendering.Universal.PlanarReflections/PlanarReflectionSettingData::Restore()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PlanarReflectionSettingData_Restore_m828584D856CAD831AAF40830A25130EF77BAC77A (PlanarReflectionSettingData_tA2166FF34B27262BB7A4ADA1EA450DB940ACCF37* __this, const RuntimeMethod* method)
{
{
// GL.invertCulling = false;
GL_set_invertCulling_mAC18402894032E2EBB93C0B7D953496AEE96AB36((bool)0, NULL);
// RenderSettings.fog = _fog;
bool L_0 = __this->____fog_0;
RenderSettings_set_fog_m919A8EC1E72A06182BA3EB050618D1AB4FDEB30C(L_0, NULL);
// QualitySettings.maximumLODLevel = _maxLod;
int32_t L_1 = __this->____maxLod_1;
QualitySettings_set_maximumLODLevel_m45F5998DECA1D200E2902E2A144FBBB24C1FACF2(L_1, NULL);
// QualitySettings.lodBias = _lodBias;
float L_2 = __this->____lodBias_2;
QualitySettings_set_lodBias_mE3BDC7C587785C9A1A3B33521209A0AE9BDAD119(L_2, NULL);
// }
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void WaterSystem.BuoyantObject::Init()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void BuoyantObject_Init_mFC6372FF4327F10847628CC50FD3042B47B06A5D (BuoyantObject_t8611DAACF74D9E88F389659A4E68C8DBF6226F50* __this, const RuntimeMethod* method)
{
int32_t V_0 = 0;
int32_t V_1 = 0;
{
// _voxels = null;
__this->____voxels_17 = (Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C*)NULL;
Il2CppCodeGenWriteBarrier((void**)(&__this->____voxels_17), (void*)(Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C*)NULL);
// switch (_buoyancyType)
int32_t L_0 = __this->____buoyancyType_4;
V_1 = L_0;
int32_t L_1 = V_1;
V_0 = L_1;
int32_t L_2 = V_0;
switch (L_2)
{
case 0:
{
goto IL_0029;
}
case 1:
{
goto IL_0039;
}
case 2:
{
goto IL_0050;
}
case 3:
{
goto IL_0067;
}
}
}
{
goto IL_0085;
}
IL_0029:
{
// SetupVoxels();
BuoyantObject_SetupVoxels_m48AC4DED7D20E3C1E934F6D0716D7AE0B097A58F(__this, NULL);
// SetupData();
BuoyantObject_SetupData_mF1386B9929A021EC8B4DA83654A5CE9884F7CB99(__this, NULL);
// break;
goto IL_008b;
}
IL_0039:
{
// SetupColliders();
BuoyantObject_SetupColliders_m48744C3956650EFCB9F2841C76D59607D2201528(__this, NULL);
// SetupVoxels();
BuoyantObject_SetupVoxels_m48AC4DED7D20E3C1E934F6D0716D7AE0B097A58F(__this, NULL);
// SetupData();
BuoyantObject_SetupData_mF1386B9929A021EC8B4DA83654A5CE9884F7CB99(__this, NULL);
// break;
goto IL_008b;
}
IL_0050:
{
// SetupVoxels();
BuoyantObject_SetupVoxels_m48AC4DED7D20E3C1E934F6D0716D7AE0B097A58F(__this, NULL);
// SetupData();
BuoyantObject_SetupData_mF1386B9929A021EC8B4DA83654A5CE9884F7CB99(__this, NULL);
// SetupPhysical();
BuoyantObject_SetupPhysical_m2F7BCD8952A7BDB62B0E23C7D01C427FFB30524F(__this, NULL);
// break;
goto IL_008b;
}
IL_0067:
{
// SetupColliders();
BuoyantObject_SetupColliders_m48744C3956650EFCB9F2841C76D59607D2201528(__this, NULL);
// SetupVoxels();
BuoyantObject_SetupVoxels_m48AC4DED7D20E3C1E934F6D0716D7AE0B097A58F(__this, NULL);
// SetupData();
BuoyantObject_SetupData_mF1386B9929A021EC8B4DA83654A5CE9884F7CB99(__this, NULL);
// SetupPhysical();
BuoyantObject_SetupPhysical_m2F7BCD8952A7BDB62B0E23C7D01C427FFB30524F(__this, NULL);
// break;
goto IL_008b;
}
IL_0085:
{
// throw new ArgumentOutOfRangeException();
ArgumentOutOfRangeException_tEA2822DAF62B10EEED00E0E3A341D4BAF78CF85F* L_3 = (ArgumentOutOfRangeException_tEA2822DAF62B10EEED00E0E3A341D4BAF78CF85F*)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&ArgumentOutOfRangeException_tEA2822DAF62B10EEED00E0E3A341D4BAF78CF85F_il2cpp_TypeInfo_var)));
NullCheck(L_3);
ArgumentOutOfRangeException__ctor_mB596C51BFA864B65C2CED275458FAE90F7CD29C9(L_3, NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_3, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&BuoyantObject_Init_mFC6372FF4327F10847628CC50FD3042B47B06A5D_RuntimeMethod_var)));
}
IL_008b:
{
// }
return;
}
}
// System.Void WaterSystem.BuoyantObject::SetupVoxels()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void BuoyantObject_SetupVoxels_m48AC4DED7D20E3C1E934F6D0716D7AE0B097A58F (BuoyantObject_t8611DAACF74D9E88F389659A4E68C8DBF6226F50* __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
bool V_0 = false;
int32_t G_B3_0 = 0;
{
// if (_buoyancyType == BuoyancyType.NonPhysicalVoxel || _buoyancyType == BuoyancyType.PhysicalVoxel)
int32_t L_0 = __this->____buoyancyType_4;
if ((((int32_t)L_0) == ((int32_t)1)))
{
goto IL_0015;
}
}
{
int32_t L_1 = __this->____buoyancyType_4;
G_B3_0 = ((((int32_t)L_1) == ((int32_t)3))? 1 : 0);
goto IL_0016;
}
IL_0015:
{
G_B3_0 = 1;
}
IL_0016:
{
V_0 = (bool)G_B3_0;
bool L_2 = V_0;
if (!L_2)
{
goto IL_0025;
}
}
{
// SliceIntoVoxels();
BuoyantObject_SliceIntoVoxels_m9A8BEBE32D1EC571105A4AE03619C64C16BD62AF(__this, NULL);
goto IL_0045;
}
IL_0025:
{
// _voxels = new Vector3[1];
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_3 = (Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C*)(Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C*)SZArrayNew(Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C_il2cpp_TypeInfo_var, (uint32_t)1);
__this->____voxels_17 = L_3;
Il2CppCodeGenWriteBarrier((void**)(&__this->____voxels_17), (void*)L_3);
// _voxels[0] = centerOfMass;
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_4 = __this->____voxels_17;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_5 = __this->___centerOfMass_9;
NullCheck(L_4);
(L_4)->SetAt(static_cast<il2cpp_array_size_t>(0), (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2)L_5);
}
IL_0045:
{
// }
return;
}
}
// System.Void WaterSystem.BuoyantObject::SetupData()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void BuoyantObject_SetupData_mF1386B9929A021EC8B4DA83654A5CE9884F7CB99 (BuoyantObject_t8611DAACF74D9E88F389659A4E68C8DBF6226F50* __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&DebugDrawingU5BU5D_t04C7DD1A501E3860BAC818512BC651716CD4C4FC_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&NativeArray_1__ctor_m965B9BE6DD806F31A767FF7CB33BEA509B7C90D7_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&float3U5BU5D_t94C1DF28FA7E0FA017D0C77B720D9FF3519E0D45_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
{
// _debugInfo = new DebugDrawing[_voxels.Length];
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_0 = __this->____voxels_17;
NullCheck(L_0);
DebugDrawingU5BU5D_t04C7DD1A501E3860BAC818512BC651716CD4C4FC* L_1 = (DebugDrawingU5BU5D_t04C7DD1A501E3860BAC818512BC651716CD4C4FC*)(DebugDrawingU5BU5D_t04C7DD1A501E3860BAC818512BC651716CD4C4FC*)SZArrayNew(DebugDrawingU5BU5D_t04C7DD1A501E3860BAC818512BC651716CD4C4FC_il2cpp_TypeInfo_var, (uint32_t)((int32_t)(((RuntimeArray*)L_0)->max_length)));
__this->____debugInfo_24 = L_1;
Il2CppCodeGenWriteBarrier((void**)(&__this->____debugInfo_24), (void*)L_1);
// Heights = new float3[_voxels.Length];
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_2 = __this->____voxels_17;
NullCheck(L_2);
float3U5BU5D_t94C1DF28FA7E0FA017D0C77B720D9FF3519E0D45* L_3 = (float3U5BU5D_t94C1DF28FA7E0FA017D0C77B720D9FF3519E0D45*)(float3U5BU5D_t94C1DF28FA7E0FA017D0C77B720D9FF3519E0D45*)SZArrayNew(float3U5BU5D_t94C1DF28FA7E0FA017D0C77B720D9FF3519E0D45_il2cpp_TypeInfo_var, (uint32_t)((int32_t)(((RuntimeArray*)L_2)->max_length)));
__this->___Heights_19 = L_3;
Il2CppCodeGenWriteBarrier((void**)(&__this->___Heights_19), (void*)L_3);
// _normals = new float3[_voxels.Length];
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_4 = __this->____voxels_17;
NullCheck(L_4);
float3U5BU5D_t94C1DF28FA7E0FA017D0C77B720D9FF3519E0D45* L_5 = (float3U5BU5D_t94C1DF28FA7E0FA017D0C77B720D9FF3519E0D45*)(float3U5BU5D_t94C1DF28FA7E0FA017D0C77B720D9FF3519E0D45*)SZArrayNew(float3U5BU5D_t94C1DF28FA7E0FA017D0C77B720D9FF3519E0D45_il2cpp_TypeInfo_var, (uint32_t)((int32_t)(((RuntimeArray*)L_4)->max_length)));
__this->____normals_20 = L_5;
Il2CppCodeGenWriteBarrier((void**)(&__this->____normals_20), (void*)L_5);
// _samplePoints = new NativeArray<float3>(_voxels.Length, Allocator.Persistent);
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_6 = __this->____voxels_17;
NullCheck(L_6);
NativeArray_1_tEDE9DAD2CAE5954286BC0EF394A57ED0AC69FEE6 L_7;
memset((&L_7), 0, sizeof(L_7));
NativeArray_1__ctor_m965B9BE6DD806F31A767FF7CB33BEA509B7C90D7((&L_7), ((int32_t)(((RuntimeArray*)L_6)->max_length)), 4, 1, /*hidden argument*/NativeArray_1__ctor_m965B9BE6DD806F31A767FF7CB33BEA509B7C90D7_RuntimeMethod_var);
__this->____samplePoints_18 = L_7;
// }
return;
}
}
// System.Void WaterSystem.BuoyantObject::OnEnable()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void BuoyantObject_OnEnable_m64EC5864F95A424FF8F3B922A108ACD0A41B57A2 (BuoyantObject_t8611DAACF74D9E88F389659A4E68C8DBF6226F50* __this, const RuntimeMethod* method)
{
{
// _guid = gameObject.GetInstanceID();
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* L_0;
L_0 = Component_get_gameObject_m57AEFBB14DB39EC476F740BA000E170355DE691B(__this, NULL);
NullCheck(L_0);
int32_t L_1;
L_1 = Object_GetInstanceID_m554FF4073C9465F3835574CC084E68AAEEC6CC6A(L_0, NULL);
__this->____guid_15 = L_1;
// Init();
BuoyantObject_Init_mFC6372FF4327F10847628CC50FD3042B47B06A5D(__this, NULL);
// LocalToWorldConversion();
BuoyantObject_LocalToWorldConversion_mA6F6B73C01885966EDC877696BF9E96F63DB33EA(__this, NULL);
// }
return;
}
}
// System.Void WaterSystem.BuoyantObject::SetupColliders()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void BuoyantObject_SetupColliders_m48744C3956650EFCB9F2841C76D59607D2201528 (BuoyantObject_t8611DAACF74D9E88F389659A4E68C8DBF6226F50* __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ColliderU5BU5D_t94A9D70F63D095AFF2A9B4613012A5F7F3141787_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Component_GetComponentsInChildren_TisCollider_t1CC3163924FCD6C4CC2E816373A929C1E3D55E76_m64EB86DDB49F92CFAAF6003C9EAC7D7D8B0F35DB_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&GameObject_AddComponent_TisBoxCollider_tFA5D239388334D6DE0B8FFDAD6825C5B03786E23_m655518C8454E418FE8CF0E4770881B7A2B12BB23_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral1D9AE29772126C1FB34E4E8715BFD4A3AE07314B);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral537701DB7CF0D006C98AD540067953064FC47AEE);
s_Il2CppMethodInitialized = true;
}
bool V_0 = false;
{
// colliders = GetComponentsInChildren<Collider>();
ColliderU5BU5D_t94A9D70F63D095AFF2A9B4613012A5F7F3141787* L_0;
L_0 = Component_GetComponentsInChildren_TisCollider_t1CC3163924FCD6C4CC2E816373A929C1E3D55E76_m64EB86DDB49F92CFAAF6003C9EAC7D7D8B0F35DB(__this, Component_GetComponentsInChildren_TisCollider_t1CC3163924FCD6C4CC2E816373A929C1E3D55E76_m64EB86DDB49F92CFAAF6003C9EAC7D7D8B0F35DB_RuntimeMethod_var);
__this->___colliders_22 = L_0;
Il2CppCodeGenWriteBarrier((void**)(&__this->___colliders_22), (void*)L_0);
// if (colliders.Length != 0) return;
ColliderU5BU5D_t94A9D70F63D095AFF2A9B4613012A5F7F3141787* L_1 = __this->___colliders_22;
NullCheck(L_1);
V_0 = (bool)((!(((uint32_t)(((RuntimeArray*)L_1)->max_length)) <= ((uint32_t)0)))? 1 : 0);
bool L_2 = V_0;
if (!L_2)
{
goto IL_001d;
}
}
{
// if (colliders.Length != 0) return;
goto IL_0057;
}
IL_001d:
{
// colliders = new Collider[1];
ColliderU5BU5D_t94A9D70F63D095AFF2A9B4613012A5F7F3141787* L_3 = (ColliderU5BU5D_t94A9D70F63D095AFF2A9B4613012A5F7F3141787*)(ColliderU5BU5D_t94A9D70F63D095AFF2A9B4613012A5F7F3141787*)SZArrayNew(ColliderU5BU5D_t94A9D70F63D095AFF2A9B4613012A5F7F3141787_il2cpp_TypeInfo_var, (uint32_t)1);
__this->___colliders_22 = L_3;
Il2CppCodeGenWriteBarrier((void**)(&__this->___colliders_22), (void*)L_3);
// colliders[0] = gameObject.AddComponent<BoxCollider>();
ColliderU5BU5D_t94A9D70F63D095AFF2A9B4613012A5F7F3141787* L_4 = __this->___colliders_22;
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* L_5;
L_5 = Component_get_gameObject_m57AEFBB14DB39EC476F740BA000E170355DE691B(__this, NULL);
NullCheck(L_5);
BoxCollider_tFA5D239388334D6DE0B8FFDAD6825C5B03786E23* L_6;
L_6 = GameObject_AddComponent_TisBoxCollider_tFA5D239388334D6DE0B8FFDAD6825C5B03786E23_m655518C8454E418FE8CF0E4770881B7A2B12BB23(L_5, GameObject_AddComponent_TisBoxCollider_tFA5D239388334D6DE0B8FFDAD6825C5B03786E23_m655518C8454E418FE8CF0E4770881B7A2B12BB23_RuntimeMethod_var);
NullCheck(L_4);
ArrayElementTypeCheck (L_4, L_6);
(L_4)->SetAt(static_cast<il2cpp_array_size_t>(0), (Collider_t1CC3163924FCD6C4CC2E816373A929C1E3D55E76*)L_6);
// Debug.LogError($"Buoyancy:Object \"{name}\" had no coll. BoxCollider has been added.");
String_t* L_7;
L_7 = Object_get_name_mAC2F6B897CF1303BA4249B4CB55271AFACBB6392(__this, NULL);
String_t* L_8;
L_8 = String_Concat_m9B13B47FCB3DF61144D9647DDA05F527377251B0(_stringLiteral537701DB7CF0D006C98AD540067953064FC47AEE, L_7, _stringLiteral1D9AE29772126C1FB34E4E8715BFD4A3AE07314B, NULL);
il2cpp_codegen_runtime_class_init_inline(Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var);
Debug_LogError_m059825802BB6AF7EA9693FEBEEB0D85F59A3E38E(L_8, NULL);
}
IL_0057:
{
// }
return;
}
}
// System.Void WaterSystem.BuoyantObject::Update()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void BuoyantObject_Update_mF97E1906DD6F7604B4EE0C3B20259A92750AF5C2 (BuoyantObject_t8611DAACF74D9E88F389659A4E68C8DBF6226F50* __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&GerstnerWavesJobs_t93D7738515E9961C2592A8DC0BE0BAF4F3EDEFAB_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&LocalToWorldJob_tDFBD6859E10A384CFA9407CA1D07CF9ACBB1D3EE_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
float V_0 = 0.0f;
int32_t V_1 = 0;
int32_t V_2 = 0;
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* V_3 = NULL;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_4;
memset((&V_4), 0, sizeof(V_4));
{
// var dt = Time.deltaTime;
float L_0;
L_0 = Time_get_deltaTime_m7AB6BFA101D83E1D8F2EF3D5A128AEE9DDBF1A6D(NULL);
V_0 = L_0;
// switch (_buoyancyType)
int32_t L_1 = __this->____buoyancyType_4;
V_2 = L_1;
int32_t L_2 = V_2;
V_1 = L_2;
int32_t L_3 = V_1;
switch (L_3)
{
case 0:
{
goto IL_002b;
}
case 1:
{
goto IL_0089;
}
case 2:
{
goto IL_008b;
}
case 3:
{
goto IL_00a0;
}
}
}
{
goto IL_00b5;
}
IL_002b:
{
// var t = transform;
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_4;
L_4 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(__this, NULL);
V_3 = L_4;
// var vec = t.position;
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_5 = V_3;
NullCheck(L_5);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6;
L_6 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_5, NULL);
V_4 = L_6;
// vec.y = Heights[0].y + waterLevelOffset;
float3U5BU5D_t94C1DF28FA7E0FA017D0C77B720D9FF3519E0D45* L_7 = __this->___Heights_19;
NullCheck(L_7);
float L_8 = ((L_7)->GetAddressAt(static_cast<il2cpp_array_size_t>(0)))->___y_1;
float L_9 = __this->___waterLevelOffset_10;
(&V_4)->___y_3 = ((float)il2cpp_codegen_add(L_8, L_9));
// t.position = vec;
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_10 = V_3;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_11 = V_4;
NullCheck(L_10);
Transform_set_position_mA1A817124BB41B685043DED2A9BA48CDF37C4156(L_10, L_11, NULL);
// t.up = Vector3.Slerp(t.up, _normals[0], dt);
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_12 = V_3;
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_13 = V_3;
NullCheck(L_13);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_14;
L_14 = Transform_get_up_mE47A9D9D96422224DD0539AA5524DA5440145BB2(L_13, NULL);
float3U5BU5D_t94C1DF28FA7E0FA017D0C77B720D9FF3519E0D45* L_15 = __this->____normals_20;
NullCheck(L_15);
int32_t L_16 = 0;
float3_t4AB5D88249ADB24F69FFD0793E8ED25E1CC3745E L_17 = (L_15)->GetAt(static_cast<il2cpp_array_size_t>(L_16));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_18;
L_18 = float3_op_Implicit_mEFBD5C49B7BC786CEEA7076D3A53D421BF88E2CB(L_17, NULL);
float L_19 = V_0;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_20;
L_20 = Vector3_Slerp_mBA32C7EAC64C56C7D68480549FA9A892FA5C1728(L_14, L_18, L_19, NULL);
NullCheck(L_12);
Transform_set_up_m1FBA5A97E5057747AC027AD5897EDE80A554D554(L_12, L_20, NULL);
// break;
goto IL_00bb;
}
IL_0089:
{
// break;
goto IL_00bb;
}
IL_008b:
{
// LocalToWorldJob.CompleteJob(_guid);
int32_t L_21 = __this->____guid_15;
il2cpp_codegen_runtime_class_init_inline(LocalToWorldJob_tDFBD6859E10A384CFA9407CA1D07CF9ACBB1D3EE_il2cpp_TypeInfo_var);
LocalToWorldJob_CompleteJob_mC9A824FAF57AD2CFA1DA07909141FD75B938164C(L_21, NULL);
// GetVelocityPoints();
BuoyantObject_GetVelocityPoints_m678D3690A15166A98016D9996D06033530A40B94(__this, NULL);
// break;
goto IL_00bb;
}
IL_00a0:
{
// LocalToWorldJob.CompleteJob(_guid);
int32_t L_22 = __this->____guid_15;
il2cpp_codegen_runtime_class_init_inline(LocalToWorldJob_tDFBD6859E10A384CFA9407CA1D07CF9ACBB1D3EE_il2cpp_TypeInfo_var);
LocalToWorldJob_CompleteJob_mC9A824FAF57AD2CFA1DA07909141FD75B938164C(L_22, NULL);
// GetVelocityPoints();
BuoyantObject_GetVelocityPoints_m678D3690A15166A98016D9996D06033530A40B94(__this, NULL);
// break;
goto IL_00bb;
}
IL_00b5:
{
// throw new ArgumentOutOfRangeException();
ArgumentOutOfRangeException_tEA2822DAF62B10EEED00E0E3A341D4BAF78CF85F* L_23 = (ArgumentOutOfRangeException_tEA2822DAF62B10EEED00E0E3A341D4BAF78CF85F*)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&ArgumentOutOfRangeException_tEA2822DAF62B10EEED00E0E3A341D4BAF78CF85F_il2cpp_TypeInfo_var)));
NullCheck(L_23);
ArgumentOutOfRangeException__ctor_mB596C51BFA864B65C2CED275458FAE90F7CD29C9(L_23, NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_23, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&BuoyantObject_Update_mF97E1906DD6F7604B4EE0C3B20259A92750AF5C2_RuntimeMethod_var)));
}
IL_00bb:
{
// GerstnerWavesJobs.UpdateSamplePoints(ref _samplePoints, _guid);
NativeArray_1_tEDE9DAD2CAE5954286BC0EF394A57ED0AC69FEE6* L_24 = (&__this->____samplePoints_18);
int32_t L_25 = __this->____guid_15;
il2cpp_codegen_runtime_class_init_inline(GerstnerWavesJobs_t93D7738515E9961C2592A8DC0BE0BAF4F3EDEFAB_il2cpp_TypeInfo_var);
GerstnerWavesJobs_UpdateSamplePoints_m1D70408FF0F940AB3C4BA155E45D66405CB344EE(L_24, L_25, NULL);
// GerstnerWavesJobs.GetData(_guid, ref Heights, ref _normals);
int32_t L_26 = __this->____guid_15;
float3U5BU5D_t94C1DF28FA7E0FA017D0C77B720D9FF3519E0D45** L_27 = (&__this->___Heights_19);
float3U5BU5D_t94C1DF28FA7E0FA017D0C77B720D9FF3519E0D45** L_28 = (&__this->____normals_20);
GerstnerWavesJobs_GetData_m866FF69D0789F96353DCB9F2D428728E96C2FFB9(L_26, L_27, L_28, NULL);
// }
return;
}
}
// System.Void WaterSystem.BuoyantObject::FixedUpdate()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void BuoyantObject_FixedUpdate_mD32BD3CABF91FAAA65098276645C458A673B02A5 (BuoyantObject_t8611DAACF74D9E88F389659A4E68C8DBF6226F50* __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&LocalToWorldJob_tDFBD6859E10A384CFA9407CA1D07CF9ACBB1D3EE_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
float V_0 = 0.0f;
int32_t V_1 = 0;
int32_t V_2 = 0;
int32_t V_3 = 0;
bool V_4 = false;
{
// var submergedAmount = 0f;
V_0 = (0.0f);
// switch (_buoyancyType)
int32_t L_0 = __this->____buoyancyType_4;
V_2 = L_0;
int32_t L_1 = V_2;
V_1 = L_1;
int32_t L_2 = V_1;
switch (L_2)
{
case 0:
{
goto IL_00f9;
}
case 1:
{
goto IL_00fb;
}
case 2:
{
goto IL_00b9;
}
case 3:
{
goto IL_002b;
}
}
}
{
goto IL_00fd;
}
IL_002b:
{
// LocalToWorldJob.CompleteJob(_guid);
int32_t L_3 = __this->____guid_15;
il2cpp_codegen_runtime_class_init_inline(LocalToWorldJob_tDFBD6859E10A384CFA9407CA1D07CF9ACBB1D3EE_il2cpp_TypeInfo_var);
LocalToWorldJob_CompleteJob_mC9A824FAF57AD2CFA1DA07909141FD75B938164C(L_3, NULL);
// Physics.autoSyncTransforms = false;
Physics_set_autoSyncTransforms_m26A4F72F3709F704C3CE729EBADA992C22D7E1EF((bool)0, NULL);
// for (var i = 0; i < _voxels.Length; i++)
V_3 = 0;
goto IL_0091;
}
IL_0043:
{
// BuoyancyForce(_samplePoints[i], _velocity[i], Heights[i].y + waterLevelOffset, ref submergedAmount, ref _debugInfo[i]);
NativeArray_1_tEDE9DAD2CAE5954286BC0EF394A57ED0AC69FEE6* L_4 = (&__this->____samplePoints_18);
int32_t L_5 = V_3;
float3_t4AB5D88249ADB24F69FFD0793E8ED25E1CC3745E L_6;
L_6 = IL2CPP_NATIVEARRAY_GET_ITEM(float3_t4AB5D88249ADB24F69FFD0793E8ED25E1CC3745E, (L_4)->___m_Buffer_0, L_5);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_7;
L_7 = float3_op_Implicit_mEFBD5C49B7BC786CEEA7076D3A53D421BF88E2CB(L_6, NULL);
float3U5BU5D_t94C1DF28FA7E0FA017D0C77B720D9FF3519E0D45* L_8 = __this->____velocity_21;
int32_t L_9 = V_3;
NullCheck(L_8);
int32_t L_10 = L_9;
float3_t4AB5D88249ADB24F69FFD0793E8ED25E1CC3745E L_11 = (L_8)->GetAt(static_cast<il2cpp_array_size_t>(L_10));
float3U5BU5D_t94C1DF28FA7E0FA017D0C77B720D9FF3519E0D45* L_12 = __this->___Heights_19;
int32_t L_13 = V_3;
NullCheck(L_12);
float L_14 = ((L_12)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_13)))->___y_1;
float L_15 = __this->___waterLevelOffset_10;
DebugDrawingU5BU5D_t04C7DD1A501E3860BAC818512BC651716CD4C4FC* L_16 = __this->____debugInfo_24;
int32_t L_17 = V_3;
NullCheck(L_16);
BuoyantObject_BuoyancyForce_m16B170C47368E54880EE7B532215870D4F88D391(__this, L_7, L_11, ((float)il2cpp_codegen_add(L_14, L_15)), (&V_0), ((L_16)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_17))), NULL);
// for (var i = 0; i < _voxels.Length; i++)
int32_t L_18 = V_3;
V_3 = ((int32_t)il2cpp_codegen_add(L_18, 1));
}
IL_0091:
{
// for (var i = 0; i < _voxels.Length; i++)
int32_t L_19 = V_3;
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_20 = __this->____voxels_17;
NullCheck(L_20);
V_4 = (bool)((((int32_t)L_19) < ((int32_t)((int32_t)(((RuntimeArray*)L_20)->max_length))))? 1 : 0);
bool L_21 = V_4;
if (L_21)
{
goto IL_0043;
}
}
{
// Physics.SyncTransforms();
Physics_SyncTransforms_mEA78292E299EA0E2B0E79D59149E21144881AD9B(NULL);
// Physics.autoSyncTransforms = true;
Physics_set_autoSyncTransforms_m26A4F72F3709F704C3CE729EBADA992C22D7E1EF((bool)1, NULL);
// UpdateDrag(submergedAmount);
float L_22 = V_0;
BuoyantObject_UpdateDrag_m708E7204D58F03C5BEB9ECB1B96CA781E186E85C(__this, L_22, NULL);
// break;
goto IL_0103;
}
IL_00b9:
{
// BuoyancyForce(Vector3.zero, _velocity[0], Heights[0].y + waterLevelOffset, ref submergedAmount, ref _debugInfo[0]);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_23;
L_23 = Vector3_get_zero_m9D7F7B580B5A276411267E96AA3425736D9BDC83_inline(NULL);
float3U5BU5D_t94C1DF28FA7E0FA017D0C77B720D9FF3519E0D45* L_24 = __this->____velocity_21;
NullCheck(L_24);
int32_t L_25 = 0;
float3_t4AB5D88249ADB24F69FFD0793E8ED25E1CC3745E L_26 = (L_24)->GetAt(static_cast<il2cpp_array_size_t>(L_25));
float3U5BU5D_t94C1DF28FA7E0FA017D0C77B720D9FF3519E0D45* L_27 = __this->___Heights_19;
NullCheck(L_27);
float L_28 = ((L_27)->GetAddressAt(static_cast<il2cpp_array_size_t>(0)))->___y_1;
float L_29 = __this->___waterLevelOffset_10;
DebugDrawingU5BU5D_t04C7DD1A501E3860BAC818512BC651716CD4C4FC* L_30 = __this->____debugInfo_24;
NullCheck(L_30);
BuoyantObject_BuoyancyForce_m16B170C47368E54880EE7B532215870D4F88D391(__this, L_23, L_26, ((float)il2cpp_codegen_add(L_28, L_29)), (&V_0), ((L_30)->GetAddressAt(static_cast<il2cpp_array_size_t>(0))), NULL);
// break;
goto IL_0103;
}
IL_00f9:
{
// break;
goto IL_0103;
}
IL_00fb:
{
// break;
goto IL_0103;
}
IL_00fd:
{
// throw new ArgumentOutOfRangeException();
ArgumentOutOfRangeException_tEA2822DAF62B10EEED00E0E3A341D4BAF78CF85F* L_31 = (ArgumentOutOfRangeException_tEA2822DAF62B10EEED00E0E3A341D4BAF78CF85F*)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&ArgumentOutOfRangeException_tEA2822DAF62B10EEED00E0E3A341D4BAF78CF85F_il2cpp_TypeInfo_var)));
NullCheck(L_31);
ArgumentOutOfRangeException__ctor_mB596C51BFA864B65C2CED275458FAE90F7CD29C9(L_31, NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_31, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&BuoyantObject_FixedUpdate_mD32BD3CABF91FAAA65098276645C458A673B02A5_RuntimeMethod_var)));
}
IL_0103:
{
// }
return;
}
}
// System.Void WaterSystem.BuoyantObject::LateUpdate()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void BuoyantObject_LateUpdate_m601DEF4656B79B28D9BA9BC945B2997B5ADAA14C (BuoyantObject_t8611DAACF74D9E88F389659A4E68C8DBF6226F50* __this, const RuntimeMethod* method)
{
{
// private void LateUpdate() { LocalToWorldConversion(); }
BuoyantObject_LocalToWorldConversion_mA6F6B73C01885966EDC877696BF9E96F63DB33EA(__this, NULL);
// private void LateUpdate() { LocalToWorldConversion(); }
return;
}
}
// System.Void WaterSystem.BuoyantObject::OnDestroy()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void BuoyantObject_OnDestroy_m0DB74E48DC12E1B48B82D726C29EA0B867C5983A (BuoyantObject_t8611DAACF74D9E88F389659A4E68C8DBF6226F50* __this, const RuntimeMethod* method)
{
{
// CleanUp();
BuoyantObject_CleanUp_m39BE677D50DF90A9E8F421754E723DE5B7F8C2CD(__this, NULL);
// }
return;
}
}
// System.Void WaterSystem.BuoyantObject::CleanUp()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void BuoyantObject_CleanUp_m39BE677D50DF90A9E8F421754E723DE5B7F8C2CD (BuoyantObject_t8611DAACF74D9E88F389659A4E68C8DBF6226F50* __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&LocalToWorldJob_tDFBD6859E10A384CFA9407CA1D07CF9ACBB1D3EE_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&NativeArray_1_Dispose_mE40D457AF008BEE531917D94D3A83296CCF8906C_RuntimeMethod_var);
s_Il2CppMethodInitialized = true;
}
bool V_0 = false;
int32_t G_B3_0 = 0;
{
// if (_buoyancyType == BuoyancyType.Physical || _buoyancyType == BuoyancyType.PhysicalVoxel)
int32_t L_0 = __this->____buoyancyType_4;
if ((((int32_t)L_0) == ((int32_t)2)))
{
goto IL_0015;
}
}
{
int32_t L_1 = __this->____buoyancyType_4;
G_B3_0 = ((((int32_t)L_1) == ((int32_t)3))? 1 : 0);
goto IL_0016;
}
IL_0015:
{
G_B3_0 = 1;
}
IL_0016:
{
V_0 = (bool)G_B3_0;
bool L_2 = V_0;
if (!L_2)
{
goto IL_002a;
}
}
{
// LocalToWorldJob.Cleanup(_guid);
int32_t L_3 = __this->____guid_15;
il2cpp_codegen_runtime_class_init_inline(LocalToWorldJob_tDFBD6859E10A384CFA9407CA1D07CF9ACBB1D3EE_il2cpp_TypeInfo_var);
LocalToWorldJob_Cleanup_mFD8F36D6545E81F65DFEE068494010B5382B7A39(L_3, NULL);
goto IL_0038;
}
IL_002a:
{
// _samplePoints.Dispose();
NativeArray_1_tEDE9DAD2CAE5954286BC0EF394A57ED0AC69FEE6* L_4 = (&__this->____samplePoints_18);
NativeArray_1_Dispose_mE40D457AF008BEE531917D94D3A83296CCF8906C(L_4, NativeArray_1_Dispose_mE40D457AF008BEE531917D94D3A83296CCF8906C_RuntimeMethod_var);
}
IL_0038:
{
// }
return;
}
}
// System.Void WaterSystem.BuoyantObject::LocalToWorldConversion()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void BuoyantObject_LocalToWorldConversion_mA6F6B73C01885966EDC877696BF9E96F63DB33EA (BuoyantObject_t8611DAACF74D9E88F389659A4E68C8DBF6226F50* __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&LocalToWorldJob_tDFBD6859E10A384CFA9407CA1D07CF9ACBB1D3EE_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 V_0;
memset((&V_0), 0, sizeof(V_0));
bool V_1 = false;
int32_t G_B3_0 = 0;
{
// if (_buoyancyType != BuoyancyType.Physical && _buoyancyType != BuoyancyType.PhysicalVoxel) return;
int32_t L_0 = __this->____buoyancyType_4;
if ((((int32_t)L_0) == ((int32_t)2)))
{
goto IL_0018;
}
}
{
int32_t L_1 = __this->____buoyancyType_4;
G_B3_0 = ((((int32_t)((((int32_t)L_1) == ((int32_t)3))? 1 : 0)) == ((int32_t)0))? 1 : 0);
goto IL_0019;
}
IL_0018:
{
G_B3_0 = 0;
}
IL_0019:
{
V_1 = (bool)G_B3_0;
bool L_2 = V_1;
if (!L_2)
{
goto IL_001f;
}
}
{
// if (_buoyancyType != BuoyancyType.Physical && _buoyancyType != BuoyancyType.PhysicalVoxel) return;
goto IL_0038;
}
IL_001f:
{
// var transformMatrix = transform.localToWorldMatrix;
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_3;
L_3 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(__this, NULL);
NullCheck(L_3);
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 L_4;
L_4 = Transform_get_localToWorldMatrix_m5D35188766856338DD21DE756F42277C21719E6D(L_3, NULL);
V_0 = L_4;
// LocalToWorldJob.ScheduleJob(_guid, transformMatrix);
int32_t L_5 = __this->____guid_15;
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 L_6 = V_0;
il2cpp_codegen_runtime_class_init_inline(LocalToWorldJob_tDFBD6859E10A384CFA9407CA1D07CF9ACBB1D3EE_il2cpp_TypeInfo_var);
LocalToWorldJob_ScheduleJob_mA4B8BF201C13FC77CA56D1865316A17EE62FD08E(L_5, L_6, NULL);
}
IL_0038:
{
// }
return;
}
}
// System.Void WaterSystem.BuoyantObject::BuoyancyForce(UnityEngine.Vector3,Unity.Mathematics.float3,System.Single,System.Single&,WaterSystem.BuoyantObject/DebugDrawing&)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void BuoyantObject_BuoyancyForce_m16B170C47368E54880EE7B532215870D4F88D391 (BuoyantObject_t8611DAACF74D9E88F389659A4E68C8DBF6226F50* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___position0, float3_t4AB5D88249ADB24F69FFD0793E8ED25E1CC3745E ___velocity1, float ___waterHeight2, float* ___submergedAmount3, DebugDrawing_tFCBD1BABEC150B3A913A22E422BF3B9BC8810B0B* ___debug4, const RuntimeMethod* method)
{
float V_0 = 0.0f;
float3_t4AB5D88249ADB24F69FFD0793E8ED25E1CC3745E V_1;
memset((&V_1), 0, sizeof(V_1));
float3_t4AB5D88249ADB24F69FFD0793E8ED25E1CC3745E V_2;
memset((&V_2), 0, sizeof(V_2));
bool V_3 = false;
{
// debug.Position = position;
DebugDrawing_tFCBD1BABEC150B3A913A22E422BF3B9BC8810B0B* L_0 = ___debug4;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_1 = ___position0;
L_0->___Position_1 = L_1;
// debug.WaterHeight = waterHeight;
DebugDrawing_tFCBD1BABEC150B3A913A22E422BF3B9BC8810B0B* L_2 = ___debug4;
float L_3 = ___waterHeight2;
L_2->___WaterHeight_2 = L_3;
// debug.Force = Vector3.zero;
DebugDrawing_tFCBD1BABEC150B3A913A22E422BF3B9BC8810B0B* L_4 = ___debug4;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_5;
L_5 = Vector3_get_zero_m9D7F7B580B5A276411267E96AA3425736D9BDC83_inline(NULL);
L_4->___Force_0 = L_5;
// if (!(position.y - voxelResolution < waterHeight)) return;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6 = ___position0;
float L_7 = L_6.___y_3;
float L_8 = __this->___voxelResolution_7;
float L_9 = ___waterHeight2;
V_3 = (bool)((((int32_t)((((float)((float)il2cpp_codegen_subtract(L_7, L_8))) < ((float)L_9))? 1 : 0)) == ((int32_t)0))? 1 : 0);
bool L_10 = V_3;
if (!L_10)
{
goto IL_0039;
}
}
{
// if (!(position.y - voxelResolution < waterHeight)) return;
goto IL_00bf;
}
IL_0039:
{
// var k = math.clamp(waterHeight - (position.y - voxelResolution), 0f, 1f);
float L_11 = ___waterHeight2;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_12 = ___position0;
float L_13 = L_12.___y_3;
float L_14 = __this->___voxelResolution_7;
float L_15;
L_15 = math_clamp_m315140813E8E273E89E552C714D70F64340FDC7F_inline(((float)il2cpp_codegen_subtract(L_11, ((float)il2cpp_codegen_subtract(L_13, L_14)))), (0.0f), (1.0f), NULL);
V_0 = L_15;
// submergedAmount += k / _voxels.Length;
float* L_16 = ___submergedAmount3;
float* L_17 = ___submergedAmount3;
float L_18 = *((float*)L_17);
float L_19 = V_0;
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_20 = __this->____voxels_17;
NullCheck(L_20);
*((float*)L_16) = (float)((float)il2cpp_codegen_add(L_18, ((float)(L_19/((float)((int32_t)(((RuntimeArray*)L_20)->max_length)))))));
// var localDampingForce = Dampner * _rb.mass * -velocity;
Rigidbody_t268697F5A994213ED97393309870968BC1C7393C* L_21 = __this->____rb_23;
NullCheck(L_21);
float L_22;
L_22 = Rigidbody_get_mass_m09DDDDC437499B83B3BD0D77C134BFDC3E667054(L_21, NULL);
float3_t4AB5D88249ADB24F69FFD0793E8ED25E1CC3745E L_23 = ___velocity1;
float3_t4AB5D88249ADB24F69FFD0793E8ED25E1CC3745E L_24;
L_24 = float3_op_UnaryNegation_mCB9369EA335DF643481BB8D707751A8F1F41E5B0_inline(L_23, NULL);
float3_t4AB5D88249ADB24F69FFD0793E8ED25E1CC3745E L_25;
L_25 = float3_op_Multiply_mB08DA9B217A0DA39BABCE64FFE69BEA67D37D04F_inline(((float)il2cpp_codegen_multiply((0.00499999989f), L_22)), L_24, NULL);
V_1 = L_25;
// var force = localDampingForce + math.sqrt(k) * _localArchimedesForce;
float3_t4AB5D88249ADB24F69FFD0793E8ED25E1CC3745E L_26 = V_1;
float L_27 = V_0;
float L_28;
L_28 = math_sqrt_mD0D6FA27E6D4959A0D4A823FFD3A9DA396542875_inline(L_27, NULL);
float3_t4AB5D88249ADB24F69FFD0793E8ED25E1CC3745E L_29 = __this->____localArchimedesForce_16;
float3_t4AB5D88249ADB24F69FFD0793E8ED25E1CC3745E L_30;
L_30 = float3_op_Multiply_mB08DA9B217A0DA39BABCE64FFE69BEA67D37D04F_inline(L_28, L_29, NULL);
float3_t4AB5D88249ADB24F69FFD0793E8ED25E1CC3745E L_31;
L_31 = float3_op_Addition_mE85BAC4F29F637BB88069193D325FE5C6067B3BB_inline(L_26, L_30, NULL);
V_2 = L_31;
// _rb.AddForceAtPosition(force, position);
Rigidbody_t268697F5A994213ED97393309870968BC1C7393C* L_32 = __this->____rb_23;
float3_t4AB5D88249ADB24F69FFD0793E8ED25E1CC3745E L_33 = V_2;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_34;
L_34 = float3_op_Implicit_mEFBD5C49B7BC786CEEA7076D3A53D421BF88E2CB(L_33, NULL);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_35 = ___position0;
NullCheck(L_32);
Rigidbody_AddForceAtPosition_mA4226D0A30E0B55CB0CAD2A956EA16C546505965(L_32, L_34, L_35, NULL);
// debug.Force = force; // For drawing force Gizmos
DebugDrawing_tFCBD1BABEC150B3A913A22E422BF3B9BC8810B0B* L_36 = ___debug4;
float3_t4AB5D88249ADB24F69FFD0793E8ED25E1CC3745E L_37 = V_2;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_38;
L_38 = float3_op_Implicit_mEFBD5C49B7BC786CEEA7076D3A53D421BF88E2CB(L_37, NULL);
L_36->___Force_0 = L_38;
}
IL_00bf:
{
// }
return;
}
}
// System.Void WaterSystem.BuoyantObject::UpdateDrag(System.Single)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void BuoyantObject_UpdateDrag_m708E7204D58F03C5BEB9ECB1B96CA781E186E85C (BuoyantObject_t8611DAACF74D9E88F389659A4E68C8DBF6226F50* __this, float ___submergedAmount0, const RuntimeMethod* method)
{
{
// PercentSubmerged = math.lerp(PercentSubmerged, submergedAmount, 0.25f);
float L_0 = __this->___PercentSubmerged_25;
float L_1 = ___submergedAmount0;
float L_2;
L_2 = math_lerp_m50998C71E29B4924FB852B622185E96E05C4A3C6_inline(L_0, L_1, (0.25f), NULL);
__this->___PercentSubmerged_25 = L_2;
// _rb.drag = _baseDrag + _baseDrag * (PercentSubmerged * 10f);
Rigidbody_t268697F5A994213ED97393309870968BC1C7393C* L_3 = __this->____rb_23;
float L_4 = __this->____baseDrag_13;
float L_5 = __this->____baseDrag_13;
float L_6 = __this->___PercentSubmerged_25;
NullCheck(L_3);
Rigidbody_set_drag_m9E9F375A26A8F3D1AABCEB015E41696F39088EE0(L_3, ((float)il2cpp_codegen_add(L_4, ((float)il2cpp_codegen_multiply(L_5, ((float)il2cpp_codegen_multiply(L_6, (10.0f))))))), NULL);
// _rb.angularDrag = _baseAngularDrag + PercentSubmerged * 0.5f;
Rigidbody_t268697F5A994213ED97393309870968BC1C7393C* L_7 = __this->____rb_23;
float L_8 = __this->____baseAngularDrag_14;
float L_9 = __this->___PercentSubmerged_25;
NullCheck(L_7);
Rigidbody_set_angularDrag_m4193B04EEFCA831DB99E29E98F778957557F130C(L_7, ((float)il2cpp_codegen_add(L_8, ((float)il2cpp_codegen_multiply(L_9, (0.5f))))), NULL);
// }
return;
}
}
// System.Void WaterSystem.BuoyantObject::GetVelocityPoints()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void BuoyantObject_GetVelocityPoints_m678D3690A15166A98016D9996D06033530A40B94 (BuoyantObject_t8611DAACF74D9E88F389659A4E68C8DBF6226F50* __this, const RuntimeMethod* method)
{
int32_t V_0 = 0;
bool V_1 = false;
{
// for (var i = 0; i < _voxels.Length; i++) { _velocity[i] = _rb.GetPointVelocity(_samplePoints[i]); }
V_0 = 0;
goto IL_0038;
}
IL_0005:
{
// for (var i = 0; i < _voxels.Length; i++) { _velocity[i] = _rb.GetPointVelocity(_samplePoints[i]); }
float3U5BU5D_t94C1DF28FA7E0FA017D0C77B720D9FF3519E0D45* L_0 = __this->____velocity_21;
int32_t L_1 = V_0;
Rigidbody_t268697F5A994213ED97393309870968BC1C7393C* L_2 = __this->____rb_23;
NativeArray_1_tEDE9DAD2CAE5954286BC0EF394A57ED0AC69FEE6* L_3 = (&__this->____samplePoints_18);
int32_t L_4 = V_0;
float3_t4AB5D88249ADB24F69FFD0793E8ED25E1CC3745E L_5;
L_5 = IL2CPP_NATIVEARRAY_GET_ITEM(float3_t4AB5D88249ADB24F69FFD0793E8ED25E1CC3745E, (L_3)->___m_Buffer_0, L_4);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6;
L_6 = float3_op_Implicit_mEFBD5C49B7BC786CEEA7076D3A53D421BF88E2CB(L_5, NULL);
NullCheck(L_2);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_7;
L_7 = Rigidbody_GetPointVelocity_m94324B9CDC28751DB27594ADE76FEAB5EC4EB1BD(L_2, L_6, NULL);
float3_t4AB5D88249ADB24F69FFD0793E8ED25E1CC3745E L_8;
L_8 = float3_op_Implicit_mEFC9D4DC1F88125A32EAD98DDD519DDB1F146292(L_7, NULL);
NullCheck(L_0);
(L_0)->SetAt(static_cast<il2cpp_array_size_t>(L_1), (float3_t4AB5D88249ADB24F69FFD0793E8ED25E1CC3745E)L_8);
// for (var i = 0; i < _voxels.Length; i++) { _velocity[i] = _rb.GetPointVelocity(_samplePoints[i]); }
int32_t L_9 = V_0;
V_0 = ((int32_t)il2cpp_codegen_add(L_9, 1));
}
IL_0038:
{
// for (var i = 0; i < _voxels.Length; i++) { _velocity[i] = _rb.GetPointVelocity(_samplePoints[i]); }
int32_t L_10 = V_0;
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_11 = __this->____voxels_17;
NullCheck(L_11);
V_1 = (bool)((((int32_t)L_10) < ((int32_t)((int32_t)(((RuntimeArray*)L_11)->max_length))))? 1 : 0);
bool L_12 = V_1;
if (L_12)
{
goto IL_0005;
}
}
{
// }
return;
}
}
// System.Void WaterSystem.BuoyantObject::SliceIntoVoxels()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void BuoyantObject_SliceIntoVoxels_m9A8BEBE32D1EC571105A4AE03619C64C16BD62AF (BuoyantObject_t8611DAACF74D9E88F389659A4E68C8DBF6226F50* __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&GameObject_GetComponent_TisRigidbody_t268697F5A994213ED97393309870968BC1C7393C_m2D7F86C77ECF9B82AAC077B511F1004280571B90_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_ToArray_mF7A66D08104196EBAE0E29F0DD9BA140656EA5F3_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1__ctor_mC54E2BCBE43279A96FC082F5CDE2D76388BD8F9C_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* V_0 = NULL;
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 V_1;
memset((&V_1), 0, sizeof(V_1));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_2;
memset((&V_2), 0, sizeof(V_2));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_3;
memset((&V_3), 0, sizeof(V_3));
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* V_4 = NULL;
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 V_5;
memset((&V_5), 0, sizeof(V_5));
float V_6 = 0.0f;
float V_7 = 0.0f;
float V_8 = 0.0f;
float V_9 = 0.0f;
float V_10 = 0.0f;
float V_11 = 0.0f;
float V_12 = 0.0f;
float V_13 = 0.0f;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_14;
memset((&V_14), 0, sizeof(V_14));
bool V_15 = false;
ColliderU5BU5D_t94A9D70F63D095AFF2A9B4613012A5F7F3141787* V_16 = NULL;
int32_t V_17 = 0;
Collider_t1CC3163924FCD6C4CC2E816373A929C1E3D55E76* V_18 = NULL;
bool V_19 = false;
bool V_20 = false;
bool V_21 = false;
bool V_22 = false;
bool V_23 = false;
{
// var t = transform;
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_0;
L_0 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(__this, NULL);
V_0 = L_0;
// var rot = t.rotation;
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_1 = V_0;
NullCheck(L_1);
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_2;
L_2 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_1, NULL);
V_1 = L_2;
// var pos = t.position;
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_3 = V_0;
NullCheck(L_3);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4;
L_4 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_3, NULL);
V_2 = L_4;
// var size = t.localScale;
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_5 = V_0;
NullCheck(L_5);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6;
L_6 = Transform_get_localScale_m804A002A53A645CDFCD15BB0F37209162720363F(L_5, NULL);
V_3 = L_6;
// t.SetPositionAndRotation(Vector3.zero, Quaternion.identity);
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_7 = V_0;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_8;
L_8 = Vector3_get_zero_m9D7F7B580B5A276411267E96AA3425736D9BDC83_inline(NULL);
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_9;
L_9 = Quaternion_get_identity_mB9CAEEB21BC81352CBF32DB9664BFC06FA7EA27B_inline(NULL);
NullCheck(L_7);
Transform_SetPositionAndRotation_m418859BF59086EEAA084FFD6F258A43FAB408F5A(L_7, L_8, L_9, NULL);
// t.localScale = Vector3.one;
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_10 = V_0;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_11;
L_11 = Vector3_get_one_mE6A2D5C6578E94268024613B596BF09F990B1260_inline(NULL);
NullCheck(L_10);
Transform_set_localScale_mBA79E811BAF6C47B80FF76414C12B47B3CD03633(L_10, L_11, NULL);
// _voxels = null;
__this->____voxels_17 = (Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C*)NULL;
Il2CppCodeGenWriteBarrier((void**)(&__this->____voxels_17), (void*)(Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C*)NULL);
// var points = new List<Vector3>();
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_12 = (List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B*)il2cpp_codegen_object_new(List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B_il2cpp_TypeInfo_var);
NullCheck(L_12);
List_1__ctor_mC54E2BCBE43279A96FC082F5CDE2D76388BD8F9C(L_12, List_1__ctor_mC54E2BCBE43279A96FC082F5CDE2D76388BD8F9C_RuntimeMethod_var);
V_4 = L_12;
// var rawBounds = VoxelBounds();
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 L_13;
L_13 = BuoyantObject_VoxelBounds_m21857334478E13FF814AE62345676F92C8B6C01D(__this, NULL);
V_5 = L_13;
// _voxelBounds = rawBounds;
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 L_14 = V_5;
__this->____voxelBounds_8 = L_14;
// _voxelBounds.size = RoundVector(rawBounds.size, voxelResolution);
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3* L_15 = (&__this->____voxelBounds_8);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_16;
L_16 = Bounds_get_size_m0699A53A55A78B3201D7270D6F338DFA91B6FAD4((&V_5), NULL);
float L_17 = __this->___voxelResolution_7;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_18;
L_18 = BuoyantObject_RoundVector_mAD72478FA75D3A53A8A045ABF4533F3C8F6874E0(L_16, L_17, NULL);
Bounds_set_size_m950CFB68CDD1BF409E770509A38B958E1AE68128(L_15, L_18, NULL);
// for (var ix = -_voxelBounds.extents.x; ix < _voxelBounds.extents.x; ix += voxelResolution)
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3* L_19 = (&__this->____voxelBounds_8);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_20;
L_20 = Bounds_get_extents_mFE6DC407FCE2341BE2C750CB554055D211281D25(L_19, NULL);
float L_21 = L_20.___x_2;
V_8 = ((-L_21));
goto IL_01be;
}
IL_008e:
{
// for (var iy = -_voxelBounds.extents.y; iy < _voxelBounds.extents.y; iy += voxelResolution)
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3* L_22 = (&__this->____voxelBounds_8);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_23;
L_23 = Bounds_get_extents_mFE6DC407FCE2341BE2C750CB554055D211281D25(L_22, NULL);
float L_24 = L_23.___y_3;
V_9 = ((-L_24));
goto IL_0195;
}
IL_00a7:
{
// for (var iz = -_voxelBounds.extents.z; iz < _voxelBounds.extents.z; iz += voxelResolution)
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3* L_25 = (&__this->____voxelBounds_8);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_26;
L_26 = Bounds_get_extents_mFE6DC407FCE2341BE2C750CB554055D211281D25(L_25, NULL);
float L_27 = L_26.___z_4;
V_10 = ((-L_27));
goto IL_016c;
}
IL_00c0:
{
// var x = (voxelResolution * 0.5f) + ix;
float L_28 = __this->___voxelResolution_7;
float L_29 = V_8;
V_11 = ((float)il2cpp_codegen_add(((float)il2cpp_codegen_multiply(L_28, (0.5f))), L_29));
// var y = (voxelResolution * 0.5f) + iy;
float L_30 = __this->___voxelResolution_7;
float L_31 = V_9;
V_12 = ((float)il2cpp_codegen_add(((float)il2cpp_codegen_multiply(L_30, (0.5f))), L_31));
// var z = (voxelResolution * 0.5f) + iz;
float L_32 = __this->___voxelResolution_7;
float L_33 = V_10;
V_13 = ((float)il2cpp_codegen_add(((float)il2cpp_codegen_multiply(L_32, (0.5f))), L_33));
// var p = new Vector3(x, y, z) + _voxelBounds.center;
float L_34 = V_11;
float L_35 = V_12;
float L_36 = V_13;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_37;
memset((&L_37), 0, sizeof(L_37));
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_37), L_34, L_35, L_36, /*hidden argument*/NULL);
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3* L_38 = (&__this->____voxelBounds_8);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_39;
L_39 = Bounds_get_center_m5B05F81CB835EB6DD8628FDA24B638F477984DC3(L_38, NULL);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_40;
L_40 = Vector3_op_Addition_m087D6F0EC60843D455F9F83D25FE42B2433AAD1D_inline(L_37, L_39, NULL);
V_14 = L_40;
// var inside = false;
V_15 = (bool)0;
// foreach (var t1 in colliders)
ColliderU5BU5D_t94A9D70F63D095AFF2A9B4613012A5F7F3141787* L_41 = __this->___colliders_22;
V_16 = L_41;
V_17 = 0;
goto IL_0146;
}
IL_0122:
{
// foreach (var t1 in colliders)
ColliderU5BU5D_t94A9D70F63D095AFF2A9B4613012A5F7F3141787* L_42 = V_16;
int32_t L_43 = V_17;
NullCheck(L_42);
int32_t L_44 = L_43;
Collider_t1CC3163924FCD6C4CC2E816373A929C1E3D55E76* L_45 = (L_42)->GetAt(static_cast<il2cpp_array_size_t>(L_44));
V_18 = L_45;
// if (PointIsInsideCollider(t1, p))
Collider_t1CC3163924FCD6C4CC2E816373A929C1E3D55E76* L_46 = V_18;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_47 = V_14;
bool L_48;
L_48 = BuoyantObject_PointIsInsideCollider_m43F9B5FC757C71619171F90786FFFD6B92AD16F7(__this, L_46, L_47, NULL);
V_19 = L_48;
bool L_49 = V_19;
if (!L_49)
{
goto IL_013f;
}
}
{
// inside = true;
V_15 = (bool)1;
}
IL_013f:
{
int32_t L_50 = V_17;
V_17 = ((int32_t)il2cpp_codegen_add(L_50, 1));
}
IL_0146:
{
// foreach (var t1 in colliders)
int32_t L_51 = V_17;
ColliderU5BU5D_t94A9D70F63D095AFF2A9B4613012A5F7F3141787* L_52 = V_16;
NullCheck(L_52);
if ((((int32_t)L_51) < ((int32_t)((int32_t)(((RuntimeArray*)L_52)->max_length)))))
{
goto IL_0122;
}
}
{
// if(inside)
bool L_53 = V_15;
V_20 = L_53;
bool L_54 = V_20;
if (!L_54)
{
goto IL_0160;
}
}
{
// points.Add(p);
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_55 = V_4;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_56 = V_14;
NullCheck(L_55);
List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_inline(L_55, L_56, List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_RuntimeMethod_var);
}
IL_0160:
{
// for (var iz = -_voxelBounds.extents.z; iz < _voxelBounds.extents.z; iz += voxelResolution)
float L_57 = V_10;
float L_58 = __this->___voxelResolution_7;
V_10 = ((float)il2cpp_codegen_add(L_57, L_58));
}
IL_016c:
{
// for (var iz = -_voxelBounds.extents.z; iz < _voxelBounds.extents.z; iz += voxelResolution)
float L_59 = V_10;
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3* L_60 = (&__this->____voxelBounds_8);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_61;
L_61 = Bounds_get_extents_mFE6DC407FCE2341BE2C750CB554055D211281D25(L_60, NULL);
float L_62 = L_61.___z_4;
V_21 = (bool)((((float)L_59) < ((float)L_62))? 1 : 0);
bool L_63 = V_21;
if (L_63)
{
goto IL_00c0;
}
}
{
// for (var iy = -_voxelBounds.extents.y; iy < _voxelBounds.extents.y; iy += voxelResolution)
float L_64 = V_9;
float L_65 = __this->___voxelResolution_7;
V_9 = ((float)il2cpp_codegen_add(L_64, L_65));
}
IL_0195:
{
// for (var iy = -_voxelBounds.extents.y; iy < _voxelBounds.extents.y; iy += voxelResolution)
float L_66 = V_9;
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3* L_67 = (&__this->____voxelBounds_8);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_68;
L_68 = Bounds_get_extents_mFE6DC407FCE2341BE2C750CB554055D211281D25(L_67, NULL);
float L_69 = L_68.___y_3;
V_22 = (bool)((((float)L_66) < ((float)L_69))? 1 : 0);
bool L_70 = V_22;
if (L_70)
{
goto IL_00a7;
}
}
{
// for (var ix = -_voxelBounds.extents.x; ix < _voxelBounds.extents.x; ix += voxelResolution)
float L_71 = V_8;
float L_72 = __this->___voxelResolution_7;
V_8 = ((float)il2cpp_codegen_add(L_71, L_72));
}
IL_01be:
{
// for (var ix = -_voxelBounds.extents.x; ix < _voxelBounds.extents.x; ix += voxelResolution)
float L_73 = V_8;
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3* L_74 = (&__this->____voxelBounds_8);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_75;
L_75 = Bounds_get_extents_mFE6DC407FCE2341BE2C750CB554055D211281D25(L_74, NULL);
float L_76 = L_75.___x_2;
V_23 = (bool)((((float)L_73) < ((float)L_76))? 1 : 0);
bool L_77 = V_23;
if (L_77)
{
goto IL_008e;
}
}
{
// _voxels = points.ToArray();
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_78 = V_4;
NullCheck(L_78);
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_79;
L_79 = List_1_ToArray_mF7A66D08104196EBAE0E29F0DD9BA140656EA5F3(L_78, List_1_ToArray_mF7A66D08104196EBAE0E29F0DD9BA140656EA5F3_RuntimeMethod_var);
__this->____voxels_17 = L_79;
Il2CppCodeGenWriteBarrier((void**)(&__this->____voxels_17), (void*)L_79);
// t.SetPositionAndRotation(pos, rot);
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_80 = V_0;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_81 = V_2;
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_82 = V_1;
NullCheck(L_80);
Transform_SetPositionAndRotation_m418859BF59086EEAA084FFD6F258A43FAB408F5A(L_80, L_81, L_82, NULL);
// t.localScale = size;
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_83 = V_0;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_84 = V_3;
NullCheck(L_83);
Transform_set_localScale_mBA79E811BAF6C47B80FF76414C12B47B3CD03633(L_83, L_84, NULL);
// var voxelVolume = Mathf.Pow(voxelResolution, 3f) * _voxels.Length;
float L_85 = __this->___voxelResolution_7;
float L_86;
L_86 = powf(L_85, (3.0f));
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_87 = __this->____voxels_17;
NullCheck(L_87);
V_6 = ((float)il2cpp_codegen_multiply(L_86, ((float)((int32_t)(((RuntimeArray*)L_87)->max_length)))));
// var rawVolume = rawBounds.size.x * rawBounds.size.y * rawBounds.size.z;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_88;
L_88 = Bounds_get_size_m0699A53A55A78B3201D7270D6F338DFA91B6FAD4((&V_5), NULL);
float L_89 = L_88.___x_2;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_90;
L_90 = Bounds_get_size_m0699A53A55A78B3201D7270D6F338DFA91B6FAD4((&V_5), NULL);
float L_91 = L_90.___y_3;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_92;
L_92 = Bounds_get_size_m0699A53A55A78B3201D7270D6F338DFA91B6FAD4((&V_5), NULL);
float L_93 = L_92.___z_4;
V_7 = ((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_multiply(L_89, L_91)), L_93));
// volume = Mathf.Min(rawVolume, voxelVolume);
float L_94 = V_7;
float L_95 = V_6;
float L_96;
L_96 = Mathf_Min_m4F2A9C5128DC3F9E84865EE7ADA8DB5DA6B8B507_inline(L_94, L_95, NULL);
__this->___volume_6 = L_96;
// density = gameObject.GetComponent<Rigidbody>().mass / volume;
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* L_97;
L_97 = Component_get_gameObject_m57AEFBB14DB39EC476F740BA000E170355DE691B(__this, NULL);
NullCheck(L_97);
Rigidbody_t268697F5A994213ED97393309870968BC1C7393C* L_98;
L_98 = GameObject_GetComponent_TisRigidbody_t268697F5A994213ED97393309870968BC1C7393C_m2D7F86C77ECF9B82AAC077B511F1004280571B90(L_97, GameObject_GetComponent_TisRigidbody_t268697F5A994213ED97393309870968BC1C7393C_m2D7F86C77ECF9B82AAC077B511F1004280571B90_RuntimeMethod_var);
NullCheck(L_98);
float L_99;
L_99 = Rigidbody_get_mass_m09DDDDC437499B83B3BD0D77C134BFDC3E667054(L_98, NULL);
float L_100 = __this->___volume_6;
__this->___density_5 = ((float)(L_99/L_100));
// }
return;
}
}
// UnityEngine.Bounds WaterSystem.BuoyantObject::VoxelBounds()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 BuoyantObject_VoxelBounds_m21857334478E13FF814AE62345676F92C8B6C01D (BuoyantObject_t8611DAACF74D9E88F389659A4E68C8DBF6226F50* __this, const RuntimeMethod* method)
{
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 V_0;
memset((&V_0), 0, sizeof(V_0));
ColliderU5BU5D_t94A9D70F63D095AFF2A9B4613012A5F7F3141787* V_1 = NULL;
int32_t V_2 = 0;
Collider_t1CC3163924FCD6C4CC2E816373A929C1E3D55E76* V_3 = NULL;
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 V_4;
memset((&V_4), 0, sizeof(V_4));
{
// var bounds = new Bounds();
il2cpp_codegen_initobj((&V_0), sizeof(Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3));
// foreach (var nextCollider in colliders)
ColliderU5BU5D_t94A9D70F63D095AFF2A9B4613012A5F7F3141787* L_0 = __this->___colliders_22;
V_1 = L_0;
V_2 = 0;
goto IL_002d;
}
IL_0015:
{
// foreach (var nextCollider in colliders)
ColliderU5BU5D_t94A9D70F63D095AFF2A9B4613012A5F7F3141787* L_1 = V_1;
int32_t L_2 = V_2;
NullCheck(L_1);
int32_t L_3 = L_2;
Collider_t1CC3163924FCD6C4CC2E816373A929C1E3D55E76* L_4 = (L_1)->GetAt(static_cast<il2cpp_array_size_t>(L_3));
V_3 = L_4;
// bounds.Encapsulate(nextCollider.bounds);
Collider_t1CC3163924FCD6C4CC2E816373A929C1E3D55E76* L_5 = V_3;
NullCheck(L_5);
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 L_6;
L_6 = Collider_get_bounds_mCC32F749590E9A85C7930E5355661367F78E4CB4(L_5, NULL);
Bounds_Encapsulate_m7C70C382B9380A8C962074C78E189B53CE8F7A22((&V_0), L_6, NULL);
int32_t L_7 = V_2;
V_2 = ((int32_t)il2cpp_codegen_add(L_7, 1));
}
IL_002d:
{
// foreach (var nextCollider in colliders)
int32_t L_8 = V_2;
ColliderU5BU5D_t94A9D70F63D095AFF2A9B4613012A5F7F3141787* L_9 = V_1;
NullCheck(L_9);
if ((((int32_t)L_8) < ((int32_t)((int32_t)(((RuntimeArray*)L_9)->max_length)))))
{
goto IL_0015;
}
}
{
// return bounds;
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 L_10 = V_0;
V_4 = L_10;
goto IL_0038;
}
IL_0038:
{
// }
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 L_11 = V_4;
return L_11;
}
}
// UnityEngine.Vector3 WaterSystem.BuoyantObject::RoundVector(UnityEngine.Vector3,System.Single)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 BuoyantObject_RoundVector_mAD72478FA75D3A53A8A045ABF4533F3C8F6874E0 (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___vec0, float ___rounding1, const RuntimeMethod* method)
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
memset((&V_0), 0, sizeof(V_0));
{
// return new Vector3(Mathf.Ceil(vec.x / rounding) * rounding, Mathf.Ceil(vec.y / rounding) * rounding, Mathf.Ceil(vec.z / rounding) * rounding);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ___vec0;
float L_1 = L_0.___x_2;
float L_2 = ___rounding1;
float L_3;
L_3 = ceilf(((float)(L_1/L_2)));
float L_4 = ___rounding1;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_5 = ___vec0;
float L_6 = L_5.___y_3;
float L_7 = ___rounding1;
float L_8;
L_8 = ceilf(((float)(L_6/L_7)));
float L_9 = ___rounding1;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_10 = ___vec0;
float L_11 = L_10.___z_4;
float L_12 = ___rounding1;
float L_13;
L_13 = ceilf(((float)(L_11/L_12)));
float L_14 = ___rounding1;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_15;
memset((&L_15), 0, sizeof(L_15));
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_15), ((float)il2cpp_codegen_multiply(L_3, L_4)), ((float)il2cpp_codegen_multiply(L_8, L_9)), ((float)il2cpp_codegen_multiply(L_13, L_14)), /*hidden argument*/NULL);
V_0 = L_15;
goto IL_0036;
}
IL_0036:
{
// }
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_16 = V_0;
return L_16;
}
}
// System.Boolean WaterSystem.BuoyantObject::PointIsInsideCollider(UnityEngine.Collider,UnityEngine.Vector3)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool BuoyantObject_PointIsInsideCollider_m43F9B5FC757C71619171F90786FFFD6B92AD16F7 (BuoyantObject_t8611DAACF74D9E88F389659A4E68C8DBF6226F50* __this, Collider_t1CC3163924FCD6C4CC2E816373A929C1E3D55E76* ___c0, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___p1, const RuntimeMethod* method)
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
memset((&V_0), 0, sizeof(V_0));
bool V_1 = false;
{
// var cp = Physics.ClosestPoint(p, c, Vector3.zero, Quaternion.identity);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ___p1;
Collider_t1CC3163924FCD6C4CC2E816373A929C1E3D55E76* L_1 = ___c0;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2;
L_2 = Vector3_get_zero_m9D7F7B580B5A276411267E96AA3425736D9BDC83_inline(NULL);
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_3;
L_3 = Quaternion_get_identity_mB9CAEEB21BC81352CBF32DB9664BFC06FA7EA27B_inline(NULL);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4;
L_4 = Physics_ClosestPoint_m8B6784F2E69530BAA273A8D56A42B8BC6F58FD30(L_0, L_1, L_2, L_3, NULL);
V_0 = L_4;
// return Vector3.Distance(cp, p) < 0.01f;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_5 = V_0;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6 = ___p1;
float L_7;
L_7 = Vector3_Distance_m99C722723EDD875852EF854AD7B7C4F8AC4F84AB_inline(L_5, L_6, NULL);
V_1 = (bool)((((float)L_7) < ((float)(0.00999999978f)))? 1 : 0);
goto IL_0024;
}
IL_0024:
{
// }
bool L_8 = V_1;
return L_8;
}
}
// System.Void WaterSystem.BuoyantObject::SetupPhysical()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void BuoyantObject_SetupPhysical_m2F7BCD8952A7BDB62B0E23C7D01C427FFB30524F (BuoyantObject_t8611DAACF74D9E88F389659A4E68C8DBF6226F50* __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Component_TryGetComponent_TisRigidbody_t268697F5A994213ED97393309870968BC1C7393C_m2C2A32AA4FD62D8B9BF5E40B7E2F3EF738C532A6_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&GameObject_AddComponent_TisRigidbody_t268697F5A994213ED97393309870968BC1C7393C_m03A761629A3F71B0248F1B26EF612F592B757093_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&LocalToWorldJob_tDFBD6859E10A384CFA9407CA1D07CF9ACBB1D3EE_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral448F659F880BA3E286B8000E49B72F1B7C9B297E);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral537701DB7CF0D006C98AD540067953064FC47AEE);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&float3U5BU5D_t94C1DF28FA7E0FA017D0C77B720D9FF3519E0D45_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
float V_0 = 0.0f;
bool V_1 = false;
{
// if (!TryGetComponent(out _rb))
Rigidbody_t268697F5A994213ED97393309870968BC1C7393C** L_0 = (&__this->____rb_23);
bool L_1;
L_1 = Component_TryGetComponent_TisRigidbody_t268697F5A994213ED97393309870968BC1C7393C_m2C2A32AA4FD62D8B9BF5E40B7E2F3EF738C532A6(__this, L_0, Component_TryGetComponent_TisRigidbody_t268697F5A994213ED97393309870968BC1C7393C_m2C2A32AA4FD62D8B9BF5E40B7E2F3EF738C532A6_RuntimeMethod_var);
V_1 = (bool)((((int32_t)L_1) == ((int32_t)0))? 1 : 0);
bool L_2 = V_1;
if (!L_2)
{
goto IL_0042;
}
}
{
// _rb = gameObject.AddComponent<Rigidbody>();
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* L_3;
L_3 = Component_get_gameObject_m57AEFBB14DB39EC476F740BA000E170355DE691B(__this, NULL);
NullCheck(L_3);
Rigidbody_t268697F5A994213ED97393309870968BC1C7393C* L_4;
L_4 = GameObject_AddComponent_TisRigidbody_t268697F5A994213ED97393309870968BC1C7393C_m03A761629A3F71B0248F1B26EF612F592B757093(L_3, GameObject_AddComponent_TisRigidbody_t268697F5A994213ED97393309870968BC1C7393C_m03A761629A3F71B0248F1B26EF612F592B757093_RuntimeMethod_var);
__this->____rb_23 = L_4;
Il2CppCodeGenWriteBarrier((void**)(&__this->____rb_23), (void*)L_4);
// Debug.LogError($"Buoyancy:Object \"{name}\" had no Rigidbody. Rigidbody has been added.");
String_t* L_5;
L_5 = Object_get_name_mAC2F6B897CF1303BA4249B4CB55271AFACBB6392(__this, NULL);
String_t* L_6;
L_6 = String_Concat_m9B13B47FCB3DF61144D9647DDA05F527377251B0(_stringLiteral537701DB7CF0D006C98AD540067953064FC47AEE, L_5, _stringLiteral448F659F880BA3E286B8000E49B72F1B7C9B297E, NULL);
il2cpp_codegen_runtime_class_init_inline(Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var);
Debug_LogError_m059825802BB6AF7EA9693FEBEEB0D85F59A3E38E(L_6, NULL);
}
IL_0042:
{
// _rb.centerOfMass = centerOfMass + _voxelBounds.center;
Rigidbody_t268697F5A994213ED97393309870968BC1C7393C* L_7 = __this->____rb_23;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_8 = __this->___centerOfMass_9;
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3* L_9 = (&__this->____voxelBounds_8);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_10;
L_10 = Bounds_get_center_m5B05F81CB835EB6DD8628FDA24B638F477984DC3(L_9, NULL);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_11;
L_11 = Vector3_op_Addition_m087D6F0EC60843D455F9F83D25FE42B2433AAD1D_inline(L_8, L_10, NULL);
NullCheck(L_7);
Rigidbody_set_centerOfMass_m9D4A68D102498C7DBCD91278FF5EE7EE0BF2B188(L_7, L_11, NULL);
// _baseDrag = _rb.drag;
Rigidbody_t268697F5A994213ED97393309870968BC1C7393C* L_12 = __this->____rb_23;
NullCheck(L_12);
float L_13;
L_13 = Rigidbody_get_drag_m03B87FE60D5ABB7B937993112982C75080929D54(L_12, NULL);
__this->____baseDrag_13 = L_13;
// _baseAngularDrag = _rb.angularDrag;
Rigidbody_t268697F5A994213ED97393309870968BC1C7393C* L_14 = __this->____rb_23;
NullCheck(L_14);
float L_15;
L_15 = Rigidbody_get_angularDrag_m457FD99D051229084E77422FA669454E1B58AB4D(L_14, NULL);
__this->____baseAngularDrag_14 = L_15;
// _velocity = new float3[_voxels.Length];
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_16 = __this->____voxels_17;
NullCheck(L_16);
float3U5BU5D_t94C1DF28FA7E0FA017D0C77B720D9FF3519E0D45* L_17 = (float3U5BU5D_t94C1DF28FA7E0FA017D0C77B720D9FF3519E0D45*)(float3U5BU5D_t94C1DF28FA7E0FA017D0C77B720D9FF3519E0D45*)SZArrayNew(float3U5BU5D_t94C1DF28FA7E0FA017D0C77B720D9FF3519E0D45_il2cpp_TypeInfo_var, (uint32_t)((int32_t)(((RuntimeArray*)L_16)->max_length)));
__this->____velocity_21 = L_17;
Il2CppCodeGenWriteBarrier((void**)(&__this->____velocity_21), (void*)L_17);
// var archimedesForceMagnitude = WaterDensity * Mathf.Abs(Physics.gravity.y) * volume;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_18;
L_18 = Physics_get_gravity_m3A4C8594035C638686900919118B176B9F0A6F81(NULL);
float L_19 = L_18.___y_3;
float L_20;
L_20 = fabsf(L_19);
float L_21 = __this->___volume_6;
V_0 = ((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_multiply((1000.0f), L_20)), L_21));
// _localArchimedesForce = new float3(0, archimedesForceMagnitude, 0) / _voxels.Length;
float L_22 = V_0;
float3_t4AB5D88249ADB24F69FFD0793E8ED25E1CC3745E L_23;
memset((&L_23), 0, sizeof(L_23));
float3__ctor_mC61002CD0EC13D7C37D846D021A78C028FB80DB9_inline((&L_23), (0.0f), L_22, (0.0f), /*hidden argument*/NULL);
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_24 = __this->____voxels_17;
NullCheck(L_24);
float3_t4AB5D88249ADB24F69FFD0793E8ED25E1CC3745E L_25;
L_25 = float3_op_Division_m337596E152F22C0A19CD1189C6E38BC5EAB9514F_inline(L_23, ((float)((int32_t)(((RuntimeArray*)L_24)->max_length))), NULL);
__this->____localArchimedesForce_16 = L_25;
// LocalToWorldJob.SetupJob(_guid, _voxels, ref _samplePoints);
int32_t L_26 = __this->____guid_15;
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_27 = __this->____voxels_17;
NativeArray_1_tEDE9DAD2CAE5954286BC0EF394A57ED0AC69FEE6* L_28 = (&__this->____samplePoints_18);
il2cpp_codegen_runtime_class_init_inline(LocalToWorldJob_tDFBD6859E10A384CFA9407CA1D07CF9ACBB1D3EE_il2cpp_TypeInfo_var);
LocalToWorldJob_SetupJob_m93EF72B82EA2CA3859926AEC943A9845A6BDC929(L_26, L_27, L_28, NULL);
// }
return;
}
}
// System.Void WaterSystem.BuoyantObject::OnDrawGizmosSelected()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void BuoyantObject_OnDrawGizmosSelected_m86CEE76E3055635F54DC9E380D4099BD551693C2 (BuoyantObject_t8611DAACF74D9E88F389659A4E68C8DBF6226F50* __this, const RuntimeMethod* method)
{
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* V_0 = NULL;
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 V_1;
memset((&V_1), 0, sizeof(V_1));
bool V_2 = false;
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* V_3 = NULL;
int32_t V_4 = 0;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_5;
memset((&V_5), 0, sizeof(V_5));
bool V_6 = false;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_7;
memset((&V_7), 0, sizeof(V_7));
float V_8 = 0.0f;
float V_9 = 0.0f;
bool V_10 = false;
float V_11 = 0.0f;
bool V_12 = false;
bool V_13 = false;
DebugDrawingU5BU5D_t04C7DD1A501E3860BAC818512BC651716CD4C4FC* V_14 = NULL;
int32_t V_15 = 0;
DebugDrawing_tFCBD1BABEC150B3A913A22E422BF3B9BC8810B0B V_16;
memset((&V_16), 0, sizeof(V_16));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_17;
memset((&V_17), 0, sizeof(V_17));
bool V_18 = false;
int32_t G_B19_0 = 0;
{
// var t = transform;
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_0;
L_0 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(__this, NULL);
V_0 = L_0;
// var matrix = Matrix4x4.TRS(t.position, t.rotation, t.lossyScale);
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_1 = V_0;
NullCheck(L_1);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2;
L_2 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_1, NULL);
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_3 = V_0;
NullCheck(L_3);
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_4;
L_4 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_3, NULL);
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_5 = V_0;
NullCheck(L_5);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6;
L_6 = Transform_get_lossyScale_mFF740DA4BE1489C6882CD2F3A37B7321176E5D07(L_5, NULL);
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 L_7;
L_7 = Matrix4x4_TRS_mFEBA6926DB0044B96EF0CE98F30FEE7596820680(L_2, L_4, L_6, NULL);
V_1 = L_7;
// if (_voxels != null)
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_8 = __this->____voxels_17;
V_2 = (bool)((!(((RuntimeObject*)(Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C*)L_8) <= ((RuntimeObject*)(RuntimeObject*)NULL)))? 1 : 0);
bool L_9 = V_2;
if (!L_9)
{
goto IL_007c;
}
}
{
// Gizmos.color = Color.yellow;
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_10;
L_10 = Color_get_yellow_m1EF7276EF58050DFBA8921E2383F0249C08D346F_inline(NULL);
Gizmos_set_color_mFD4A7935FF025F5922374A8DD797BA0558BF1AD2(L_10, NULL);
// foreach (var p in _voxels)
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_11 = __this->____voxels_17;
V_3 = L_11;
V_4 = 0;
goto IL_0074;
}
IL_0046:
{
// foreach (var p in _voxels)
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_12 = V_3;
int32_t L_13 = V_4;
NullCheck(L_12);
int32_t L_14 = L_13;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_15 = (L_12)->GetAt(static_cast<il2cpp_array_size_t>(L_14));
V_5 = L_15;
// Gizmos.DrawCube(p, new Vector3(gizmoSize, gizmoSize, gizmoSize));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_16 = V_5;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_17;
memset((&L_17), 0, sizeof(L_17));
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_17), (0.0500000007f), (0.0500000007f), (0.0500000007f), /*hidden argument*/NULL);
Gizmos_DrawCube_mE7D2162786517A14E8A740C7887CD08A3105B192(L_16, L_17, NULL);
int32_t L_18 = V_4;
V_4 = ((int32_t)il2cpp_codegen_add(L_18, 1));
}
IL_0074:
{
// foreach (var p in _voxels)
int32_t L_19 = V_4;
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_20 = V_3;
NullCheck(L_20);
if ((((int32_t)L_19) < ((int32_t)((int32_t)(((RuntimeArray*)L_20)->max_length)))))
{
goto IL_0046;
}
}
{
}
IL_007c:
{
// Gizmos.matrix = matrix;
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 L_21 = V_1;
Gizmos_set_matrix_m916F9A7A8ACC51F304BB5BB4536854A045EF844B(L_21, NULL);
// if (voxelResolution >= 0.1f)
float L_22 = __this->___voxelResolution_7;
V_6 = (bool)((((int32_t)((!(((float)L_22) >= ((float)(0.100000001f))))? 1 : 0)) == ((int32_t)0))? 1 : 0);
bool L_23 = V_6;
if (!L_23)
{
goto IL_01ed;
}
}
{
// Gizmos.DrawWireCube(_voxelBounds.center, _voxelBounds.size);
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3* L_24 = (&__this->____voxelBounds_8);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_25;
L_25 = Bounds_get_center_m5B05F81CB835EB6DD8628FDA24B638F477984DC3(L_24, NULL);
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3* L_26 = (&__this->____voxelBounds_8);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_27;
L_27 = Bounds_get_size_m0699A53A55A78B3201D7270D6F338DFA91B6FAD4(L_26, NULL);
Gizmos_DrawWireCube_m31971565E5002365FE94256FFE1DC5B070FDBBA7(L_25, L_27, NULL);
// Vector3 center = _voxelBounds.center;
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3* L_28 = (&__this->____voxelBounds_8);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_29;
L_29 = Bounds_get_center_m5B05F81CB835EB6DD8628FDA24B638F477984DC3(L_28, NULL);
V_7 = L_29;
// float y = center.y - _voxelBounds.extents.y;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_30 = V_7;
float L_31 = L_30.___y_3;
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3* L_32 = (&__this->____voxelBounds_8);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_33;
L_33 = Bounds_get_extents_mFE6DC407FCE2341BE2C750CB554055D211281D25(L_32, NULL);
float L_34 = L_33.___y_3;
V_8 = ((float)il2cpp_codegen_subtract(L_31, L_34));
// for (float x = -_voxelBounds.extents.x; x < _voxelBounds.extents.x; x += voxelResolution)
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3* L_35 = (&__this->____voxelBounds_8);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_36;
L_36 = Bounds_get_extents_mFE6DC407FCE2341BE2C750CB554055D211281D25(L_35, NULL);
float L_37 = L_36.___x_2;
V_9 = ((-L_37));
goto IL_014b;
}
IL_00f5:
{
// Gizmos.DrawLine(new Vector3(x, y, -_voxelBounds.extents.z + center.z), new Vector3(x, y, _voxelBounds.extents.z + center.z));
float L_38 = V_9;
float L_39 = V_8;
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3* L_40 = (&__this->____voxelBounds_8);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_41;
L_41 = Bounds_get_extents_mFE6DC407FCE2341BE2C750CB554055D211281D25(L_40, NULL);
float L_42 = L_41.___z_4;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_43 = V_7;
float L_44 = L_43.___z_4;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_45;
memset((&L_45), 0, sizeof(L_45));
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_45), L_38, L_39, ((float)il2cpp_codegen_add(((-L_42)), L_44)), /*hidden argument*/NULL);
float L_46 = V_9;
float L_47 = V_8;
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3* L_48 = (&__this->____voxelBounds_8);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_49;
L_49 = Bounds_get_extents_mFE6DC407FCE2341BE2C750CB554055D211281D25(L_48, NULL);
float L_50 = L_49.___z_4;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_51 = V_7;
float L_52 = L_51.___z_4;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_53;
memset((&L_53), 0, sizeof(L_53));
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_53), L_46, L_47, ((float)il2cpp_codegen_add(L_50, L_52)), /*hidden argument*/NULL);
Gizmos_DrawLine_m09F46DC2EA3C2200E465435A29960E8BCD84DD9C(L_45, L_53, NULL);
// for (float x = -_voxelBounds.extents.x; x < _voxelBounds.extents.x; x += voxelResolution)
float L_54 = V_9;
float L_55 = __this->___voxelResolution_7;
V_9 = ((float)il2cpp_codegen_add(L_54, L_55));
}
IL_014b:
{
// for (float x = -_voxelBounds.extents.x; x < _voxelBounds.extents.x; x += voxelResolution)
float L_56 = V_9;
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3* L_57 = (&__this->____voxelBounds_8);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_58;
L_58 = Bounds_get_extents_mFE6DC407FCE2341BE2C750CB554055D211281D25(L_57, NULL);
float L_59 = L_58.___x_2;
V_10 = (bool)((((float)L_56) < ((float)L_59))? 1 : 0);
bool L_60 = V_10;
if (L_60)
{
goto IL_00f5;
}
}
{
// for (float z = -_voxelBounds.extents.z; z < _voxelBounds.extents.z; z += voxelResolution)
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3* L_61 = (&__this->____voxelBounds_8);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_62;
L_62 = Bounds_get_extents_mFE6DC407FCE2341BE2C750CB554055D211281D25(L_61, NULL);
float L_63 = L_62.___z_4;
V_11 = ((-L_63));
goto IL_01d0;
}
IL_017a:
{
// Gizmos.DrawLine(new Vector3(-_voxelBounds.extents.x, y, z + center.z), new Vector3(_voxelBounds.extents.x, y, z + center.z));
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3* L_64 = (&__this->____voxelBounds_8);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_65;
L_65 = Bounds_get_extents_mFE6DC407FCE2341BE2C750CB554055D211281D25(L_64, NULL);
float L_66 = L_65.___x_2;
float L_67 = V_8;
float L_68 = V_11;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_69 = V_7;
float L_70 = L_69.___z_4;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_71;
memset((&L_71), 0, sizeof(L_71));
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_71), ((-L_66)), L_67, ((float)il2cpp_codegen_add(L_68, L_70)), /*hidden argument*/NULL);
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3* L_72 = (&__this->____voxelBounds_8);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_73;
L_73 = Bounds_get_extents_mFE6DC407FCE2341BE2C750CB554055D211281D25(L_72, NULL);
float L_74 = L_73.___x_2;
float L_75 = V_8;
float L_76 = V_11;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_77 = V_7;
float L_78 = L_77.___z_4;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_79;
memset((&L_79), 0, sizeof(L_79));
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_79), L_74, L_75, ((float)il2cpp_codegen_add(L_76, L_78)), /*hidden argument*/NULL);
Gizmos_DrawLine_m09F46DC2EA3C2200E465435A29960E8BCD84DD9C(L_71, L_79, NULL);
// for (float z = -_voxelBounds.extents.z; z < _voxelBounds.extents.z; z += voxelResolution)
float L_80 = V_11;
float L_81 = __this->___voxelResolution_7;
V_11 = ((float)il2cpp_codegen_add(L_80, L_81));
}
IL_01d0:
{
// for (float z = -_voxelBounds.extents.z; z < _voxelBounds.extents.z; z += voxelResolution)
float L_82 = V_11;
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3* L_83 = (&__this->____voxelBounds_8);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_84;
L_84 = Bounds_get_extents_mFE6DC407FCE2341BE2C750CB554055D211281D25(L_83, NULL);
float L_85 = L_84.___z_4;
V_12 = (bool)((((float)L_82) < ((float)L_85))? 1 : 0);
bool L_86 = V_12;
if (L_86)
{
goto IL_017a;
}
}
{
goto IL_01f9;
}
IL_01ed:
{
// _voxelBounds = VoxelBounds();
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 L_87;
L_87 = BuoyantObject_VoxelBounds_m21857334478E13FF814AE62345676F92C8B6C01D(__this, NULL);
__this->____voxelBounds_8 = L_87;
}
IL_01f9:
{
// Gizmos.color = Color.red;
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_88;
L_88 = Color_get_red_m27D04C1E5FE794AD933B7B9364F3D34B9EA25109_inline(NULL);
Gizmos_set_color_mFD4A7935FF025F5922374A8DD797BA0558BF1AD2(L_88, NULL);
// Gizmos.DrawSphere(_voxelBounds.center + centerOfMass, 0.2f);
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3* L_89 = (&__this->____voxelBounds_8);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_90;
L_90 = Bounds_get_center_m5B05F81CB835EB6DD8628FDA24B638F477984DC3(L_89, NULL);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_91 = __this->___centerOfMass_9;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_92;
L_92 = Vector3_op_Addition_m087D6F0EC60843D455F9F83D25FE42B2433AAD1D_inline(L_90, L_91, NULL);
Gizmos_DrawSphere_m80D4373C59949363664E571DCE7E9C54337B4942(L_92, (0.200000003f), NULL);
// Gizmos.matrix = Matrix4x4.identity;Gizmos.matrix = Matrix4x4.identity;
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 L_93;
L_93 = Matrix4x4_get_identity_m94A09872C449C26863FF10D0FDF87842D91BECD6_inline(NULL);
Gizmos_set_matrix_m916F9A7A8ACC51F304BB5BB4536854A045EF844B(L_93, NULL);
// Gizmos.matrix = Matrix4x4.identity;Gizmos.matrix = Matrix4x4.identity;
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 L_94;
L_94 = Matrix4x4_get_identity_m94A09872C449C26863FF10D0FDF87842D91BECD6_inline(NULL);
Gizmos_set_matrix_m916F9A7A8ACC51F304BB5BB4536854A045EF844B(L_94, NULL);
// if (_debugInfo != null)
DebugDrawingU5BU5D_t04C7DD1A501E3860BAC818512BC651716CD4C4FC* L_95 = __this->____debugInfo_24;
V_13 = (bool)((!(((RuntimeObject*)(DebugDrawingU5BU5D_t04C7DD1A501E3860BAC818512BC651716CD4C4FC*)L_95) <= ((RuntimeObject*)(RuntimeObject*)NULL)))? 1 : 0);
bool L_96 = V_13;
if (!L_96)
{
goto IL_0329;
}
}
{
// foreach (DebugDrawing debug in _debugInfo)
DebugDrawingU5BU5D_t04C7DD1A501E3860BAC818512BC651716CD4C4FC* L_97 = __this->____debugInfo_24;
V_14 = L_97;
V_15 = 0;
goto IL_031d;
}
IL_025f:
{
// foreach (DebugDrawing debug in _debugInfo)
DebugDrawingU5BU5D_t04C7DD1A501E3860BAC818512BC651716CD4C4FC* L_98 = V_14;
int32_t L_99 = V_15;
NullCheck(L_98);
int32_t L_100 = L_99;
DebugDrawing_tFCBD1BABEC150B3A913A22E422BF3B9BC8810B0B L_101 = (L_98)->GetAt(static_cast<il2cpp_array_size_t>(L_100));
V_16 = L_101;
// Gizmos.color = Color.cyan;
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_102;
L_102 = Color_get_cyan_m1257FED4776F2A33BD7250357D024B3FA3E592EB_inline(NULL);
Gizmos_set_color_mFD4A7935FF025F5922374A8DD797BA0558BF1AD2(L_102, NULL);
// Gizmos.DrawCube(debug.Position, new Vector3(gizmoSize, gizmoSize, gizmoSize)); // drawCenter
DebugDrawing_tFCBD1BABEC150B3A913A22E422BF3B9BC8810B0B L_103 = V_16;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_104 = L_103.___Position_1;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_105;
memset((&L_105), 0, sizeof(L_105));
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_105), (0.0500000007f), (0.0500000007f), (0.0500000007f), /*hidden argument*/NULL);
Gizmos_DrawCube_mE7D2162786517A14E8A740C7887CD08A3105B192(L_104, L_105, NULL);
// var water = debug.Position;
DebugDrawing_tFCBD1BABEC150B3A913A22E422BF3B9BC8810B0B L_106 = V_16;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_107 = L_106.___Position_1;
V_17 = L_107;
// water.y = debug.WaterHeight;
DebugDrawing_tFCBD1BABEC150B3A913A22E422BF3B9BC8810B0B L_108 = V_16;
float L_109 = L_108.___WaterHeight_2;
(&V_17)->___y_3 = L_109;
// Gizmos.DrawLine(debug.Position, water); // draw the water line
DebugDrawing_tFCBD1BABEC150B3A913A22E422BF3B9BC8810B0B L_110 = V_16;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_111 = L_110.___Position_1;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_112 = V_17;
Gizmos_DrawLine_m09F46DC2EA3C2200E465435A29960E8BCD84DD9C(L_111, L_112, NULL);
// Gizmos.DrawSphere(water, gizmoSize * 4f);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_113 = V_17;
Gizmos_DrawSphere_m80D4373C59949363664E571DCE7E9C54337B4942(L_113, (0.200000003f), NULL);
// if(_buoyancyType == BuoyancyType.Physical || _buoyancyType == BuoyancyType.PhysicalVoxel)
int32_t L_114 = __this->____buoyancyType_4;
if ((((int32_t)L_114) == ((int32_t)2)))
{
goto IL_02de;
}
}
{
int32_t L_115 = __this->____buoyancyType_4;
G_B19_0 = ((((int32_t)L_115) == ((int32_t)3))? 1 : 0);
goto IL_02df;
}
IL_02de:
{
G_B19_0 = 1;
}
IL_02df:
{
V_18 = (bool)G_B19_0;
bool L_116 = V_18;
if (!L_116)
{
goto IL_0316;
}
}
{
// Gizmos.color = Color.red;
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_117;
L_117 = Color_get_red_m27D04C1E5FE794AD933B7B9364F3D34B9EA25109_inline(NULL);
Gizmos_set_color_mFD4A7935FF025F5922374A8DD797BA0558BF1AD2(L_117, NULL);
// Gizmos.DrawRay(debug.Position, debug.Force / _rb.mass); // draw force
DebugDrawing_tFCBD1BABEC150B3A913A22E422BF3B9BC8810B0B L_118 = V_16;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_119 = L_118.___Position_1;
DebugDrawing_tFCBD1BABEC150B3A913A22E422BF3B9BC8810B0B L_120 = V_16;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_121 = L_120.___Force_0;
Rigidbody_t268697F5A994213ED97393309870968BC1C7393C* L_122 = __this->____rb_23;
NullCheck(L_122);
float L_123;
L_123 = Rigidbody_get_mass_m09DDDDC437499B83B3BD0D77C134BFDC3E667054(L_122, NULL);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_124;
L_124 = Vector3_op_Division_mD7200D6D432BAFC4135C5B17A0B0A812203B0270_inline(L_121, L_123, NULL);
Gizmos_DrawRay_m0FB8AC474F4025A0775879DC8640C8816E14A454(L_119, L_124, NULL);
}
IL_0316:
{
int32_t L_125 = V_15;
V_15 = ((int32_t)il2cpp_codegen_add(L_125, 1));
}
IL_031d:
{
// foreach (DebugDrawing debug in _debugInfo)
int32_t L_126 = V_15;
DebugDrawingU5BU5D_t04C7DD1A501E3860BAC818512BC651716CD4C4FC* L_127 = V_14;
NullCheck(L_127);
if ((((int32_t)L_126) < ((int32_t)((int32_t)(((RuntimeArray*)L_127)->max_length)))))
{
goto IL_025f;
}
}
{
}
IL_0329:
{
// }
return;
}
}
// System.Void WaterSystem.BuoyantObject::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void BuoyantObject__ctor_m3B6659BB2BF54C5AFC302EE6D7032874D78945E8 (BuoyantObject_t8611DAACF74D9E88F389659A4E68C8DBF6226F50* __this, const RuntimeMethod* method)
{
{
// public float voxelResolution = 0.51f; // voxel resolution, represents the half size of a voxel when creating the voxel representation
__this->___voxelResolution_7 = (0.50999999f);
// public Vector3 centerOfMass = Vector3.zero; // Center Of Mass offset
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0;
L_0 = Vector3_get_zero_m9D7F7B580B5A276411267E96AA3425736D9BDC83_inline(NULL);
__this->___centerOfMass_9 = L_0;
// public float waterLevelOffset = 0f;
__this->___waterLevelOffset_10 = (0.0f);
MonoBehaviour__ctor_m592DB0105CA0BC97AA1C5F4AD27B12D68A3B7C1E(__this, NULL);
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void WaterSystem.WaterResources::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void WaterResources__ctor_m6BBAD3593905848715605BFD581F724C7E9681FD (WaterResources_t314516FE58A01D31093FF9936D7DA8F2D455EAAE* __this, const RuntimeMethod* method)
{
{
ScriptableObject__ctor_mD037FDB0B487295EA47F79A4DB1BF1846C9087FF(__this, NULL);
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void WaterSystem.GerstnerWavesJobs::Init()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GerstnerWavesJobs_Init_mF41341E469543965D58C5294B18E01209CAB068D (const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&GerstnerWavesJobs_t93D7738515E9961C2592A8DC0BE0BAF4F3EDEFAB_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&NativeArray_1__ctor_m8B4A7EF5892BD03213483192C61C6EB313610B69_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&NativeArray_1__ctor_m965B9BE6DD806F31A767FF7CB33BEA509B7C90D7_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Water_t8D0105147A62029CB3B0497FE968F18E33C3D319_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral2727B60D5787A1602C7404E530A54DD02B3561BE);
s_Il2CppMethodInitialized = true;
}
bool V_0 = false;
int32_t V_1 = 0;
bool V_2 = false;
{
// if(Debug.isDebugBuild)
il2cpp_codegen_runtime_class_init_inline(Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var);
bool L_0;
L_0 = Debug_get_isDebugBuild_mD757482E7E84FD089E874DD0778A5200D12C14E0(NULL);
V_0 = L_0;
bool L_1 = V_0;
if (!L_1)
{
goto IL_0015;
}
}
{
// Debug.Log("Initializing Gerstner Waves Jobs");
il2cpp_codegen_runtime_class_init_inline(Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var);
Debug_Log_m86567BCF22BBE7809747817453CACA0E41E68219(_stringLiteral2727B60D5787A1602C7404E530A54DD02B3561BE, NULL);
}
IL_0015:
{
// _waveCount = Water.Instance._waves.Length;
il2cpp_codegen_runtime_class_init_inline(Water_t8D0105147A62029CB3B0497FE968F18E33C3D319_il2cpp_TypeInfo_var);
Water_t8D0105147A62029CB3B0497FE968F18E33C3D319* L_2;
L_2 = Water_get_Instance_m2DF3BB630189C690C2FB235596FE106B67C861C9(NULL);
NullCheck(L_2);
WaveU5BU5D_t464305B39C1E1AA8D0E58528BC0562C10AB70BC5* L_3 = L_2->____waves_12;
NullCheck(L_3);
il2cpp_codegen_runtime_class_init_inline(GerstnerWavesJobs_t93D7738515E9961C2592A8DC0BE0BAF4F3EDEFAB_il2cpp_TypeInfo_var);
((GerstnerWavesJobs_t93D7738515E9961C2592A8DC0BE0BAF4F3EDEFAB_StaticFields*)il2cpp_codegen_static_fields_for(GerstnerWavesJobs_t93D7738515E9961C2592A8DC0BE0BAF4F3EDEFAB_il2cpp_TypeInfo_var))->____waveCount_3 = ((int32_t)(((RuntimeArray*)L_3)->max_length));
// _waveData = new NativeArray<Wave>(_waveCount, Allocator.Persistent);
int32_t L_4 = ((GerstnerWavesJobs_t93D7738515E9961C2592A8DC0BE0BAF4F3EDEFAB_StaticFields*)il2cpp_codegen_static_fields_for(GerstnerWavesJobs_t93D7738515E9961C2592A8DC0BE0BAF4F3EDEFAB_il2cpp_TypeInfo_var))->____waveCount_3;
NativeArray_1_t0464FD7138EE934F1A59B5BC60EDAF11CA8501A0 L_5;
memset((&L_5), 0, sizeof(L_5));
NativeArray_1__ctor_m8B4A7EF5892BD03213483192C61C6EB313610B69((&L_5), L_4, 4, 1, /*hidden argument*/NativeArray_1__ctor_m8B4A7EF5892BD03213483192C61C6EB313610B69_RuntimeMethod_var);
((GerstnerWavesJobs_t93D7738515E9961C2592A8DC0BE0BAF4F3EDEFAB_StaticFields*)il2cpp_codegen_static_fields_for(GerstnerWavesJobs_t93D7738515E9961C2592A8DC0BE0BAF4F3EDEFAB_il2cpp_TypeInfo_var))->____waveData_4 = L_5;
// for (var i = 0; i < _waveData.Length; i++)
V_1 = 0;
goto IL_005d;
}
IL_003b:
{
// _waveData[i] = Water.Instance._waves[i];
il2cpp_codegen_runtime_class_init_inline(GerstnerWavesJobs_t93D7738515E9961C2592A8DC0BE0BAF4F3EDEFAB_il2cpp_TypeInfo_var);
int32_t L_6 = V_1;
il2cpp_codegen_runtime_class_init_inline(Water_t8D0105147A62029CB3B0497FE968F18E33C3D319_il2cpp_TypeInfo_var);
Water_t8D0105147A62029CB3B0497FE968F18E33C3D319* L_7;
L_7 = Water_get_Instance_m2DF3BB630189C690C2FB235596FE106B67C861C9(NULL);
NullCheck(L_7);
WaveU5BU5D_t464305B39C1E1AA8D0E58528BC0562C10AB70BC5* L_8 = L_7->____waves_12;
int32_t L_9 = V_1;
NullCheck(L_8);
int32_t L_10 = L_9;
Wave_t98FB676A74FA3481325B501BF6AFA3A4B02D64CB L_11 = (L_8)->GetAt(static_cast<il2cpp_array_size_t>(L_10));
IL2CPP_NATIVEARRAY_SET_ITEM(Wave_t98FB676A74FA3481325B501BF6AFA3A4B02D64CB, ((&((GerstnerWavesJobs_t93D7738515E9961C2592A8DC0BE0BAF4F3EDEFAB_StaticFields*)il2cpp_codegen_static_fields_for(GerstnerWavesJobs_t93D7738515E9961C2592A8DC0BE0BAF4F3EDEFAB_il2cpp_TypeInfo_var))->____waveData_4))->___m_Buffer_0, L_6, (L_11));
// for (var i = 0; i < _waveData.Length; i++)
int32_t L_12 = V_1;
V_1 = ((int32_t)il2cpp_codegen_add(L_12, 1));
}
IL_005d:
{
// for (var i = 0; i < _waveData.Length; i++)
int32_t L_13 = V_1;
il2cpp_codegen_runtime_class_init_inline(GerstnerWavesJobs_t93D7738515E9961C2592A8DC0BE0BAF4F3EDEFAB_il2cpp_TypeInfo_var);
int32_t L_14;
L_14 = IL2CPP_NATIVEARRAY_GET_LENGTH(((&((GerstnerWavesJobs_t93D7738515E9961C2592A8DC0BE0BAF4F3EDEFAB_StaticFields*)il2cpp_codegen_static_fields_for(GerstnerWavesJobs_t93D7738515E9961C2592A8DC0BE0BAF4F3EDEFAB_il2cpp_TypeInfo_var))->____waveData_4))->___m_Length_1);
V_2 = (bool)((((int32_t)L_13) < ((int32_t)L_14))? 1 : 0);
bool L_15 = V_2;
if (L_15)
{
goto IL_003b;
}
}
{
// _positions = new NativeArray<float3>(4096, Allocator.Persistent);
NativeArray_1_tEDE9DAD2CAE5954286BC0EF394A57ED0AC69FEE6 L_16;
memset((&L_16), 0, sizeof(L_16));
NativeArray_1__ctor_m965B9BE6DD806F31A767FF7CB33BEA509B7C90D7((&L_16), ((int32_t)4096), 4, 1, /*hidden argument*/NativeArray_1__ctor_m965B9BE6DD806F31A767FF7CB33BEA509B7C90D7_RuntimeMethod_var);
il2cpp_codegen_runtime_class_init_inline(GerstnerWavesJobs_t93D7738515E9961C2592A8DC0BE0BAF4F3EDEFAB_il2cpp_TypeInfo_var);
((GerstnerWavesJobs_t93D7738515E9961C2592A8DC0BE0BAF4F3EDEFAB_StaticFields*)il2cpp_codegen_static_fields_for(GerstnerWavesJobs_t93D7738515E9961C2592A8DC0BE0BAF4F3EDEFAB_il2cpp_TypeInfo_var))->____positions_5 = L_16;
// _wavePos = new NativeArray<float3>(4096, Allocator.Persistent);
NativeArray_1_tEDE9DAD2CAE5954286BC0EF394A57ED0AC69FEE6 L_17;
memset((&L_17), 0, sizeof(L_17));
NativeArray_1__ctor_m965B9BE6DD806F31A767FF7CB33BEA509B7C90D7((&L_17), ((int32_t)4096), 4, 1, /*hidden argument*/NativeArray_1__ctor_m965B9BE6DD806F31A767FF7CB33BEA509B7C90D7_RuntimeMethod_var);
((GerstnerWavesJobs_t93D7738515E9961C2592A8DC0BE0BAF4F3EDEFAB_StaticFields*)il2cpp_codegen_static_fields_for(GerstnerWavesJobs_t93D7738515E9961C2592A8DC0BE0BAF4F3EDEFAB_il2cpp_TypeInfo_var))->____wavePos_7 = L_17;
// _waveNormal = new NativeArray<float3>(4096, Allocator.Persistent);
NativeArray_1_tEDE9DAD2CAE5954286BC0EF394A57ED0AC69FEE6 L_18;
memset((&L_18), 0, sizeof(L_18));
NativeArray_1__ctor_m965B9BE6DD806F31A767FF7CB33BEA509B7C90D7((&L_18), ((int32_t)4096), 4, 1, /*hidden argument*/NativeArray_1__ctor_m965B9BE6DD806F31A767FF7CB33BEA509B7C90D7_RuntimeMethod_var);
((GerstnerWavesJobs_t93D7738515E9961C2592A8DC0BE0BAF4F3EDEFAB_StaticFields*)il2cpp_codegen_static_fields_for(GerstnerWavesJobs_t93D7738515E9961C2592A8DC0BE0BAF4F3EDEFAB_il2cpp_TypeInfo_var))->____waveNormal_8 = L_18;
// Initialized = true;
((GerstnerWavesJobs_t93D7738515E9961C2592A8DC0BE0BAF4F3EDEFAB_StaticFields*)il2cpp_codegen_static_fields_for(GerstnerWavesJobs_t93D7738515E9961C2592A8DC0BE0BAF4F3EDEFAB_il2cpp_TypeInfo_var))->___Initialized_0 = (bool)1;
// }
return;
}
}
// System.Void WaterSystem.GerstnerWavesJobs::Cleanup()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GerstnerWavesJobs_Cleanup_mD3134E49CB7E3D77D22C0DB89B9116317DBCC3C1 (const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&GerstnerWavesJobs_t93D7738515E9961C2592A8DC0BE0BAF4F3EDEFAB_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&NativeArray_1_Dispose_m9A6BAC0BDCFDE0C7B38623ECD0414D548AE7E602_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&NativeArray_1_Dispose_mE40D457AF008BEE531917D94D3A83296CCF8906C_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralD82920F06B0F1837F99EA875D2A033D4C4B862B7);
s_Il2CppMethodInitialized = true;
}
bool V_0 = false;
{
// if(Debug.isDebugBuild)
il2cpp_codegen_runtime_class_init_inline(Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var);
bool L_0;
L_0 = Debug_get_isDebugBuild_mD757482E7E84FD089E874DD0778A5200D12C14E0(NULL);
V_0 = L_0;
bool L_1 = V_0;
if (!L_1)
{
goto IL_0015;
}
}
{
// Debug.Log("Cleaning up Gerstner Wave Jobs");
il2cpp_codegen_runtime_class_init_inline(Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var);
Debug_Log_m86567BCF22BBE7809747817453CACA0E41E68219(_stringLiteralD82920F06B0F1837F99EA875D2A033D4C4B862B7, NULL);
}
IL_0015:
{
// _waterHeightHandle.Complete();
il2cpp_codegen_runtime_class_init_inline(GerstnerWavesJobs_t93D7738515E9961C2592A8DC0BE0BAF4F3EDEFAB_il2cpp_TypeInfo_var);
JobHandle_Complete_mDCED35A125AAB37EDDAB2E31C805B4904B614A4A((&((GerstnerWavesJobs_t93D7738515E9961C2592A8DC0BE0BAF4F3EDEFAB_StaticFields*)il2cpp_codegen_static_fields_for(GerstnerWavesJobs_t93D7738515E9961C2592A8DC0BE0BAF4F3EDEFAB_il2cpp_TypeInfo_var))->____waterHeightHandle_9), NULL);
// _waveData.Dispose();
NativeArray_1_Dispose_m9A6BAC0BDCFDE0C7B38623ECD0414D548AE7E602((&((GerstnerWavesJobs_t93D7738515E9961C2592A8DC0BE0BAF4F3EDEFAB_StaticFields*)il2cpp_codegen_static_fields_for(GerstnerWavesJobs_t93D7738515E9961C2592A8DC0BE0BAF4F3EDEFAB_il2cpp_TypeInfo_var))->____waveData_4), NativeArray_1_Dispose_m9A6BAC0BDCFDE0C7B38623ECD0414D548AE7E602_RuntimeMethod_var);
// _positions.Dispose();
NativeArray_1_Dispose_mE40D457AF008BEE531917D94D3A83296CCF8906C((&((GerstnerWavesJobs_t93D7738515E9961C2592A8DC0BE0BAF4F3EDEFAB_StaticFields*)il2cpp_codegen_static_fields_for(GerstnerWavesJobs_t93D7738515E9961C2592A8DC0BE0BAF4F3EDEFAB_il2cpp_TypeInfo_var))->____positions_5), NativeArray_1_Dispose_mE40D457AF008BEE531917D94D3A83296CCF8906C_RuntimeMethod_var);
// _wavePos.Dispose();
NativeArray_1_Dispose_mE40D457AF008BEE531917D94D3A83296CCF8906C((&((GerstnerWavesJobs_t93D7738515E9961C2592A8DC0BE0BAF4F3EDEFAB_StaticFields*)il2cpp_codegen_static_fields_for(GerstnerWavesJobs_t93D7738515E9961C2592A8DC0BE0BAF4F3EDEFAB_il2cpp_TypeInfo_var))->____wavePos_7), NativeArray_1_Dispose_mE40D457AF008BEE531917D94D3A83296CCF8906C_RuntimeMethod_var);
// _waveNormal.Dispose();
NativeArray_1_Dispose_mE40D457AF008BEE531917D94D3A83296CCF8906C((&((GerstnerWavesJobs_t93D7738515E9961C2592A8DC0BE0BAF4F3EDEFAB_StaticFields*)il2cpp_codegen_static_fields_for(GerstnerWavesJobs_t93D7738515E9961C2592A8DC0BE0BAF4F3EDEFAB_il2cpp_TypeInfo_var))->____waveNormal_8), NativeArray_1_Dispose_mE40D457AF008BEE531917D94D3A83296CCF8906C_RuntimeMethod_var);
// }
return;
}
}
// System.Void WaterSystem.GerstnerWavesJobs::UpdateSamplePoints(Unity.Collections.NativeArray`1<Unity.Mathematics.float3>&,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GerstnerWavesJobs_UpdateSamplePoints_m1D70408FF0F940AB3C4BA155E45D66405CB344EE (NativeArray_1_tEDE9DAD2CAE5954286BC0EF394A57ED0AC69FEE6* ___samplePoints0, int32_t ___guid1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Dictionary_2_Add_m602750457826C95F8FF4A37BAF672E984668DABB_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Dictionary_2_TryGetValue_mD5BCA9DF77BD0662C45BF30F3C510A844171B678_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&GerstnerWavesJobs_t93D7738515E9961C2592A8DC0BE0BAF4F3EDEFAB_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
int2_tF4AC25F87943DC0B2BB3456B0B919B3B42A9432A V_0;
memset((&V_0), 0, sizeof(V_0));
bool V_1 = false;
int32_t V_2 = 0;
bool V_3 = false;
bool V_4 = false;
{
// CompleteJobs();
il2cpp_codegen_runtime_class_init_inline(GerstnerWavesJobs_t93D7738515E9961C2592A8DC0BE0BAF4F3EDEFAB_il2cpp_TypeInfo_var);
GerstnerWavesJobs_CompleteJobs_m54EE93BDA1F655850FD662B243703B0D79FE11F9(NULL);
// if (Registry.TryGetValue(guid, out var offsets))
Dictionary_2_t34976844C1A11EC7C4C065C9F12F6223D78D4583* L_0 = ((GerstnerWavesJobs_t93D7738515E9961C2592A8DC0BE0BAF4F3EDEFAB_StaticFields*)il2cpp_codegen_static_fields_for(GerstnerWavesJobs_t93D7738515E9961C2592A8DC0BE0BAF4F3EDEFAB_il2cpp_TypeInfo_var))->___Registry_10;
int32_t L_1 = ___guid1;
NullCheck(L_0);
bool L_2;
L_2 = Dictionary_2_TryGetValue_mD5BCA9DF77BD0662C45BF30F3C510A844171B678(L_0, L_1, (&V_0), Dictionary_2_TryGetValue_mD5BCA9DF77BD0662C45BF30F3C510A844171B678_RuntimeMethod_var);
V_1 = L_2;
bool L_3 = V_1;
if (!L_3)
{
goto IL_0050;
}
}
{
// for (var i = offsets.x; i < offsets.y; i++) _positions[i] = samplePoints[i - offsets.x];
int2_tF4AC25F87943DC0B2BB3456B0B919B3B42A9432A L_4 = V_0;
int32_t L_5 = L_4.___x_0;
V_2 = L_5;
goto IL_0040;
}
IL_0022:
{
// for (var i = offsets.x; i < offsets.y; i++) _positions[i] = samplePoints[i - offsets.x];
il2cpp_codegen_runtime_class_init_inline(GerstnerWavesJobs_t93D7738515E9961C2592A8DC0BE0BAF4F3EDEFAB_il2cpp_TypeInfo_var);
int32_t L_6 = V_2;
NativeArray_1_tEDE9DAD2CAE5954286BC0EF394A57ED0AC69FEE6* L_7 = ___samplePoints0;
int32_t L_8 = V_2;
int2_tF4AC25F87943DC0B2BB3456B0B919B3B42A9432A L_9 = V_0;
int32_t L_10 = L_9.___x_0;
float3_t4AB5D88249ADB24F69FFD0793E8ED25E1CC3745E L_11;
L_11 = IL2CPP_NATIVEARRAY_GET_ITEM(float3_t4AB5D88249ADB24F69FFD0793E8ED25E1CC3745E, (L_7)->___m_Buffer_0, ((int32_t)il2cpp_codegen_subtract(L_8, L_10)));
IL2CPP_NATIVEARRAY_SET_ITEM(float3_t4AB5D88249ADB24F69FFD0793E8ED25E1CC3745E, ((&((GerstnerWavesJobs_t93D7738515E9961C2592A8DC0BE0BAF4F3EDEFAB_StaticFields*)il2cpp_codegen_static_fields_for(GerstnerWavesJobs_t93D7738515E9961C2592A8DC0BE0BAF4F3EDEFAB_il2cpp_TypeInfo_var))->____positions_5))->___m_Buffer_0, L_6, (L_11));
// for (var i = offsets.x; i < offsets.y; i++) _positions[i] = samplePoints[i - offsets.x];
int32_t L_12 = V_2;
V_2 = ((int32_t)il2cpp_codegen_add(L_12, 1));
}
IL_0040:
{
// for (var i = offsets.x; i < offsets.y; i++) _positions[i] = samplePoints[i - offsets.x];
int32_t L_13 = V_2;
int2_tF4AC25F87943DC0B2BB3456B0B919B3B42A9432A L_14 = V_0;
int32_t L_15 = L_14.___y_1;
V_3 = (bool)((((int32_t)L_13) < ((int32_t)L_15))? 1 : 0);
bool L_16 = V_3;
if (L_16)
{
goto IL_0022;
}
}
{
goto IL_00ab;
}
IL_0050:
{
// if (_positionCount + samplePoints.Length >= _positions.Length) return;
il2cpp_codegen_runtime_class_init_inline(GerstnerWavesJobs_t93D7738515E9961C2592A8DC0BE0BAF4F3EDEFAB_il2cpp_TypeInfo_var);
int32_t L_17 = ((GerstnerWavesJobs_t93D7738515E9961C2592A8DC0BE0BAF4F3EDEFAB_StaticFields*)il2cpp_codegen_static_fields_for(GerstnerWavesJobs_t93D7738515E9961C2592A8DC0BE0BAF4F3EDEFAB_il2cpp_TypeInfo_var))->____positionCount_6;
NativeArray_1_tEDE9DAD2CAE5954286BC0EF394A57ED0AC69FEE6* L_18 = ___samplePoints0;
int32_t L_19;
L_19 = IL2CPP_NATIVEARRAY_GET_LENGTH((L_18)->___m_Length_1);
int32_t L_20;
L_20 = IL2CPP_NATIVEARRAY_GET_LENGTH(((&((GerstnerWavesJobs_t93D7738515E9961C2592A8DC0BE0BAF4F3EDEFAB_StaticFields*)il2cpp_codegen_static_fields_for(GerstnerWavesJobs_t93D7738515E9961C2592A8DC0BE0BAF4F3EDEFAB_il2cpp_TypeInfo_var))->____positions_5))->___m_Length_1);
V_4 = (bool)((((int32_t)((((int32_t)((int32_t)il2cpp_codegen_add(L_17, L_19))) < ((int32_t)L_20))? 1 : 0)) == ((int32_t)0))? 1 : 0);
bool L_21 = V_4;
if (!L_21)
{
goto IL_0074;
}
}
{
// if (_positionCount + samplePoints.Length >= _positions.Length) return;
goto IL_00ab;
}
IL_0074:
{
// offsets = new int2(_positionCount, _positionCount + samplePoints.Length);
il2cpp_codegen_runtime_class_init_inline(GerstnerWavesJobs_t93D7738515E9961C2592A8DC0BE0BAF4F3EDEFAB_il2cpp_TypeInfo_var);
int32_t L_22 = ((GerstnerWavesJobs_t93D7738515E9961C2592A8DC0BE0BAF4F3EDEFAB_StaticFields*)il2cpp_codegen_static_fields_for(GerstnerWavesJobs_t93D7738515E9961C2592A8DC0BE0BAF4F3EDEFAB_il2cpp_TypeInfo_var))->____positionCount_6;
int32_t L_23 = ((GerstnerWavesJobs_t93D7738515E9961C2592A8DC0BE0BAF4F3EDEFAB_StaticFields*)il2cpp_codegen_static_fields_for(GerstnerWavesJobs_t93D7738515E9961C2592A8DC0BE0BAF4F3EDEFAB_il2cpp_TypeInfo_var))->____positionCount_6;
NativeArray_1_tEDE9DAD2CAE5954286BC0EF394A57ED0AC69FEE6* L_24 = ___samplePoints0;
int32_t L_25;
L_25 = IL2CPP_NATIVEARRAY_GET_LENGTH((L_24)->___m_Length_1);
int2__ctor_m452D21510717D0961119C89A72BBB8D84DCD49F4_inline((&V_0), L_22, ((int32_t)il2cpp_codegen_add(L_23, L_25)), NULL);
// Registry.Add(guid, offsets);
Dictionary_2_t34976844C1A11EC7C4C065C9F12F6223D78D4583* L_26 = ((GerstnerWavesJobs_t93D7738515E9961C2592A8DC0BE0BAF4F3EDEFAB_StaticFields*)il2cpp_codegen_static_fields_for(GerstnerWavesJobs_t93D7738515E9961C2592A8DC0BE0BAF4F3EDEFAB_il2cpp_TypeInfo_var))->___Registry_10;
int32_t L_27 = ___guid1;
int2_tF4AC25F87943DC0B2BB3456B0B919B3B42A9432A L_28 = V_0;
NullCheck(L_26);
Dictionary_2_Add_m602750457826C95F8FF4A37BAF672E984668DABB(L_26, L_27, L_28, Dictionary_2_Add_m602750457826C95F8FF4A37BAF672E984668DABB_RuntimeMethod_var);
// _positionCount += samplePoints.Length;
int32_t L_29 = ((GerstnerWavesJobs_t93D7738515E9961C2592A8DC0BE0BAF4F3EDEFAB_StaticFields*)il2cpp_codegen_static_fields_for(GerstnerWavesJobs_t93D7738515E9961C2592A8DC0BE0BAF4F3EDEFAB_il2cpp_TypeInfo_var))->____positionCount_6;
NativeArray_1_tEDE9DAD2CAE5954286BC0EF394A57ED0AC69FEE6* L_30 = ___samplePoints0;
int32_t L_31;
L_31 = IL2CPP_NATIVEARRAY_GET_LENGTH((L_30)->___m_Length_1);
((GerstnerWavesJobs_t93D7738515E9961C2592A8DC0BE0BAF4F3EDEFAB_StaticFields*)il2cpp_codegen_static_fields_for(GerstnerWavesJobs_t93D7738515E9961C2592A8DC0BE0BAF4F3EDEFAB_il2cpp_TypeInfo_var))->____positionCount_6 = ((int32_t)il2cpp_codegen_add(L_29, L_31));
}
IL_00ab:
{
// }
return;
}
}
// System.Void WaterSystem.GerstnerWavesJobs::GetData(System.Int32,Unity.Mathematics.float3[]&,Unity.Mathematics.float3[]&)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GerstnerWavesJobs_GetData_m866FF69D0789F96353DCB9F2D428728E96C2FFB9 (int32_t ___guid0, float3U5BU5D_t94C1DF28FA7E0FA017D0C77B720D9FF3519E0D45** ___outPos1, float3U5BU5D_t94C1DF28FA7E0FA017D0C77B720D9FF3519E0D45** ___outNorm2, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Dictionary_2_TryGetValue_mD5BCA9DF77BD0662C45BF30F3C510A844171B678_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&GerstnerWavesJobs_t93D7738515E9961C2592A8DC0BE0BAF4F3EDEFAB_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&NativeSliceExtensions_Slice_Tisfloat3_t4AB5D88249ADB24F69FFD0793E8ED25E1CC3745E_m1FE3A9967B5FABE61BBAACF369993509D8A29F88_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&NativeSlice_1_CopyTo_mDD438DD80E2CD08F209E27E27F84EDC75A7EBEAD_RuntimeMethod_var);
s_Il2CppMethodInitialized = true;
}
int2_tF4AC25F87943DC0B2BB3456B0B919B3B42A9432A V_0;
memset((&V_0), 0, sizeof(V_0));
bool V_1 = false;
NativeSlice_1_t1FC9E9FE0BB166305C1E3C50A7E9D588E1D92502 V_2;
memset((&V_2), 0, sizeof(V_2));
bool V_3 = false;
{
// if (!Registry.TryGetValue(guid, out var offsets)) return;
il2cpp_codegen_runtime_class_init_inline(GerstnerWavesJobs_t93D7738515E9961C2592A8DC0BE0BAF4F3EDEFAB_il2cpp_TypeInfo_var);
Dictionary_2_t34976844C1A11EC7C4C065C9F12F6223D78D4583* L_0 = ((GerstnerWavesJobs_t93D7738515E9961C2592A8DC0BE0BAF4F3EDEFAB_StaticFields*)il2cpp_codegen_static_fields_for(GerstnerWavesJobs_t93D7738515E9961C2592A8DC0BE0BAF4F3EDEFAB_il2cpp_TypeInfo_var))->___Registry_10;
int32_t L_1 = ___guid0;
NullCheck(L_0);
bool L_2;
L_2 = Dictionary_2_TryGetValue_mD5BCA9DF77BD0662C45BF30F3C510A844171B678(L_0, L_1, (&V_0), Dictionary_2_TryGetValue_mD5BCA9DF77BD0662C45BF30F3C510A844171B678_RuntimeMethod_var);
V_1 = (bool)((((int32_t)L_2) == ((int32_t)0))? 1 : 0);
bool L_3 = V_1;
if (!L_3)
{
goto IL_0017;
}
}
{
// if (!Registry.TryGetValue(guid, out var offsets)) return;
goto IL_0070;
}
IL_0017:
{
// _wavePos.Slice(offsets.x, offsets.y - offsets.x).CopyTo(outPos);
il2cpp_codegen_runtime_class_init_inline(GerstnerWavesJobs_t93D7738515E9961C2592A8DC0BE0BAF4F3EDEFAB_il2cpp_TypeInfo_var);
NativeArray_1_tEDE9DAD2CAE5954286BC0EF394A57ED0AC69FEE6 L_4 = ((GerstnerWavesJobs_t93D7738515E9961C2592A8DC0BE0BAF4F3EDEFAB_StaticFields*)il2cpp_codegen_static_fields_for(GerstnerWavesJobs_t93D7738515E9961C2592A8DC0BE0BAF4F3EDEFAB_il2cpp_TypeInfo_var))->____wavePos_7;
int2_tF4AC25F87943DC0B2BB3456B0B919B3B42A9432A L_5 = V_0;
int32_t L_6 = L_5.___x_0;
int2_tF4AC25F87943DC0B2BB3456B0B919B3B42A9432A L_7 = V_0;
int32_t L_8 = L_7.___y_1;
int2_tF4AC25F87943DC0B2BB3456B0B919B3B42A9432A L_9 = V_0;
int32_t L_10 = L_9.___x_0;
NativeSlice_1_t1FC9E9FE0BB166305C1E3C50A7E9D588E1D92502 L_11;
L_11 = NativeSliceExtensions_Slice_Tisfloat3_t4AB5D88249ADB24F69FFD0793E8ED25E1CC3745E_m1FE3A9967B5FABE61BBAACF369993509D8A29F88(L_4, L_6, ((int32_t)il2cpp_codegen_subtract(L_8, L_10)), NativeSliceExtensions_Slice_Tisfloat3_t4AB5D88249ADB24F69FFD0793E8ED25E1CC3745E_m1FE3A9967B5FABE61BBAACF369993509D8A29F88_RuntimeMethod_var);
V_2 = L_11;
float3U5BU5D_t94C1DF28FA7E0FA017D0C77B720D9FF3519E0D45** L_12 = ___outPos1;
float3U5BU5D_t94C1DF28FA7E0FA017D0C77B720D9FF3519E0D45* L_13 = *((float3U5BU5D_t94C1DF28FA7E0FA017D0C77B720D9FF3519E0D45**)L_12);
NativeSlice_1_CopyTo_mDD438DD80E2CD08F209E27E27F84EDC75A7EBEAD((&V_2), L_13, NativeSlice_1_CopyTo_mDD438DD80E2CD08F209E27E27F84EDC75A7EBEAD_RuntimeMethod_var);
// if(outNorm != null)
float3U5BU5D_t94C1DF28FA7E0FA017D0C77B720D9FF3519E0D45** L_14 = ___outNorm2;
float3U5BU5D_t94C1DF28FA7E0FA017D0C77B720D9FF3519E0D45* L_15 = *((float3U5BU5D_t94C1DF28FA7E0FA017D0C77B720D9FF3519E0D45**)L_14);
V_3 = (bool)((!(((RuntimeObject*)(float3U5BU5D_t94C1DF28FA7E0FA017D0C77B720D9FF3519E0D45*)L_15) <= ((RuntimeObject*)(RuntimeObject*)NULL)))? 1 : 0);
bool L_16 = V_3;
if (!L_16)
{
goto IL_0070;
}
}
{
// _waveNormal.Slice(offsets.x, offsets.y - offsets.x).CopyTo(outNorm);
il2cpp_codegen_runtime_class_init_inline(GerstnerWavesJobs_t93D7738515E9961C2592A8DC0BE0BAF4F3EDEFAB_il2cpp_TypeInfo_var);
NativeArray_1_tEDE9DAD2CAE5954286BC0EF394A57ED0AC69FEE6 L_17 = ((GerstnerWavesJobs_t93D7738515E9961C2592A8DC0BE0BAF4F3EDEFAB_StaticFields*)il2cpp_codegen_static_fields_for(GerstnerWavesJobs_t93D7738515E9961C2592A8DC0BE0BAF4F3EDEFAB_il2cpp_TypeInfo_var))->____waveNormal_8;
int2_tF4AC25F87943DC0B2BB3456B0B919B3B42A9432A L_18 = V_0;
int32_t L_19 = L_18.___x_0;
int2_tF4AC25F87943DC0B2BB3456B0B919B3B42A9432A L_20 = V_0;
int32_t L_21 = L_20.___y_1;
int2_tF4AC25F87943DC0B2BB3456B0B919B3B42A9432A L_22 = V_0;
int32_t L_23 = L_22.___x_0;
NativeSlice_1_t1FC9E9FE0BB166305C1E3C50A7E9D588E1D92502 L_24;
L_24 = NativeSliceExtensions_Slice_Tisfloat3_t4AB5D88249ADB24F69FFD0793E8ED25E1CC3745E_m1FE3A9967B5FABE61BBAACF369993509D8A29F88(L_17, L_19, ((int32_t)il2cpp_codegen_subtract(L_21, L_23)), NativeSliceExtensions_Slice_Tisfloat3_t4AB5D88249ADB24F69FFD0793E8ED25E1CC3745E_m1FE3A9967B5FABE61BBAACF369993509D8A29F88_RuntimeMethod_var);
V_2 = L_24;
float3U5BU5D_t94C1DF28FA7E0FA017D0C77B720D9FF3519E0D45** L_25 = ___outNorm2;
float3U5BU5D_t94C1DF28FA7E0FA017D0C77B720D9FF3519E0D45* L_26 = *((float3U5BU5D_t94C1DF28FA7E0FA017D0C77B720D9FF3519E0D45**)L_25);
NativeSlice_1_CopyTo_mDD438DD80E2CD08F209E27E27F84EDC75A7EBEAD((&V_2), L_26, NativeSlice_1_CopyTo_mDD438DD80E2CD08F209E27E27F84EDC75A7EBEAD_RuntimeMethod_var);
}
IL_0070:
{
// }
return;
}
}
// System.Void WaterSystem.GerstnerWavesJobs::UpdateHeights()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GerstnerWavesJobs_UpdateHeights_m7ED1CCD8B1DB5279C7DAF13EBCAC70A62DE631C4 (const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&GerstnerWavesJobs_t93D7738515E9961C2592A8DC0BE0BAF4F3EDEFAB_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IJobParallelForExtensions_Schedule_TisHeightJob_t3CC067C0FFCCB359C83849C23293DD240CBC94EC_m02D8F0BBFC9AC99994EC7E733D0F73C905F14DDF_RuntimeMethod_var);
s_Il2CppMethodInitialized = true;
}
float V_0 = 0.0f;
HeightJob_t3CC067C0FFCCB359C83849C23293DD240CBC94EC V_1;
memset((&V_1), 0, sizeof(V_1));
bool V_2 = false;
HeightJob_t3CC067C0FFCCB359C83849C23293DD240CBC94EC V_3;
memset((&V_3), 0, sizeof(V_3));
JobHandle_t5DF5F99902FED3C801A81C05205CEA6CE039EF08 V_4;
memset((&V_4), 0, sizeof(V_4));
{
// if (_processing) return;
il2cpp_codegen_runtime_class_init_inline(GerstnerWavesJobs_t93D7738515E9961C2592A8DC0BE0BAF4F3EDEFAB_il2cpp_TypeInfo_var);
bool L_0 = ((GerstnerWavesJobs_t93D7738515E9961C2592A8DC0BE0BAF4F3EDEFAB_StaticFields*)il2cpp_codegen_static_fields_for(GerstnerWavesJobs_t93D7738515E9961C2592A8DC0BE0BAF4F3EDEFAB_il2cpp_TypeInfo_var))->____processing_2;
V_2 = L_0;
bool L_1 = V_2;
if (!L_1)
{
goto IL_000f;
}
}
{
// if (_processing) return;
goto IL_009c;
}
IL_000f:
{
// _processing = true;
il2cpp_codegen_runtime_class_init_inline(GerstnerWavesJobs_t93D7738515E9961C2592A8DC0BE0BAF4F3EDEFAB_il2cpp_TypeInfo_var);
((GerstnerWavesJobs_t93D7738515E9961C2592A8DC0BE0BAF4F3EDEFAB_StaticFields*)il2cpp_codegen_static_fields_for(GerstnerWavesJobs_t93D7738515E9961C2592A8DC0BE0BAF4F3EDEFAB_il2cpp_TypeInfo_var))->____processing_2 = (bool)1;
// var t = Time.time;
float L_2;
L_2 = Time_get_time_m0BEE9AACD0723FE414465B77C9C64D12263675F3(NULL);
V_0 = L_2;
// var waterHeight = new HeightJob()
// {
// WaveData = _waveData,
// Position = _positions,
// OffsetLength = new int2(0, _positions.Length),
// Time = t,
// OutPosition = _wavePos,
// OutNormal = _waveNormal
// };
il2cpp_codegen_initobj((&V_3), sizeof(HeightJob_t3CC067C0FFCCB359C83849C23293DD240CBC94EC));
NativeArray_1_t0464FD7138EE934F1A59B5BC60EDAF11CA8501A0 L_3 = ((GerstnerWavesJobs_t93D7738515E9961C2592A8DC0BE0BAF4F3EDEFAB_StaticFields*)il2cpp_codegen_static_fields_for(GerstnerWavesJobs_t93D7738515E9961C2592A8DC0BE0BAF4F3EDEFAB_il2cpp_TypeInfo_var))->____waveData_4;
(&V_3)->___WaveData_0 = L_3;
NativeArray_1_tEDE9DAD2CAE5954286BC0EF394A57ED0AC69FEE6 L_4 = ((GerstnerWavesJobs_t93D7738515E9961C2592A8DC0BE0BAF4F3EDEFAB_StaticFields*)il2cpp_codegen_static_fields_for(GerstnerWavesJobs_t93D7738515E9961C2592A8DC0BE0BAF4F3EDEFAB_il2cpp_TypeInfo_var))->____positions_5;
(&V_3)->___Position_1 = L_4;
int32_t L_5;
L_5 = IL2CPP_NATIVEARRAY_GET_LENGTH(((&((GerstnerWavesJobs_t93D7738515E9961C2592A8DC0BE0BAF4F3EDEFAB_StaticFields*)il2cpp_codegen_static_fields_for(GerstnerWavesJobs_t93D7738515E9961C2592A8DC0BE0BAF4F3EDEFAB_il2cpp_TypeInfo_var))->____positions_5))->___m_Length_1);
int2_tF4AC25F87943DC0B2BB3456B0B919B3B42A9432A L_6;
memset((&L_6), 0, sizeof(L_6));
int2__ctor_m452D21510717D0961119C89A72BBB8D84DCD49F4_inline((&L_6), 0, L_5, /*hidden argument*/NULL);
(&V_3)->___OffsetLength_5 = L_6;
float L_7 = V_0;
(&V_3)->___Time_4 = L_7;
NativeArray_1_tEDE9DAD2CAE5954286BC0EF394A57ED0AC69FEE6 L_8 = ((GerstnerWavesJobs_t93D7738515E9961C2592A8DC0BE0BAF4F3EDEFAB_StaticFields*)il2cpp_codegen_static_fields_for(GerstnerWavesJobs_t93D7738515E9961C2592A8DC0BE0BAF4F3EDEFAB_il2cpp_TypeInfo_var))->____wavePos_7;
(&V_3)->___OutPosition_2 = L_8;
NativeArray_1_tEDE9DAD2CAE5954286BC0EF394A57ED0AC69FEE6 L_9 = ((GerstnerWavesJobs_t93D7738515E9961C2592A8DC0BE0BAF4F3EDEFAB_StaticFields*)il2cpp_codegen_static_fields_for(GerstnerWavesJobs_t93D7738515E9961C2592A8DC0BE0BAF4F3EDEFAB_il2cpp_TypeInfo_var))->____waveNormal_8;
(&V_3)->___OutNormal_3 = L_9;
HeightJob_t3CC067C0FFCCB359C83849C23293DD240CBC94EC L_10 = V_3;
V_1 = L_10;
// _waterHeightHandle = waterHeight.Schedule(_positionCount, 32);
HeightJob_t3CC067C0FFCCB359C83849C23293DD240CBC94EC L_11 = V_1;
int32_t L_12 = ((GerstnerWavesJobs_t93D7738515E9961C2592A8DC0BE0BAF4F3EDEFAB_StaticFields*)il2cpp_codegen_static_fields_for(GerstnerWavesJobs_t93D7738515E9961C2592A8DC0BE0BAF4F3EDEFAB_il2cpp_TypeInfo_var))->____positionCount_6;
il2cpp_codegen_initobj((&V_4), sizeof(JobHandle_t5DF5F99902FED3C801A81C05205CEA6CE039EF08));
JobHandle_t5DF5F99902FED3C801A81C05205CEA6CE039EF08 L_13 = V_4;
JobHandle_t5DF5F99902FED3C801A81C05205CEA6CE039EF08 L_14;
L_14 = IJobParallelForExtensions_Schedule_TisHeightJob_t3CC067C0FFCCB359C83849C23293DD240CBC94EC_m02D8F0BBFC9AC99994EC7E733D0F73C905F14DDF(L_11, L_12, ((int32_t)32), L_13, IJobParallelForExtensions_Schedule_TisHeightJob_t3CC067C0FFCCB359C83849C23293DD240CBC94EC_m02D8F0BBFC9AC99994EC7E733D0F73C905F14DDF_RuntimeMethod_var);
((GerstnerWavesJobs_t93D7738515E9961C2592A8DC0BE0BAF4F3EDEFAB_StaticFields*)il2cpp_codegen_static_fields_for(GerstnerWavesJobs_t93D7738515E9961C2592A8DC0BE0BAF4F3EDEFAB_il2cpp_TypeInfo_var))->____waterHeightHandle_9 = L_14;
// JobHandle.ScheduleBatchedJobs();
JobHandle_ScheduleBatchedJobs_mD80F0AB54AEA1D1A107F4B7B84EE5288FD895A93(NULL);
// _firstFrame = false;
((GerstnerWavesJobs_t93D7738515E9961C2592A8DC0BE0BAF4F3EDEFAB_StaticFields*)il2cpp_codegen_static_fields_for(GerstnerWavesJobs_t93D7738515E9961C2592A8DC0BE0BAF4F3EDEFAB_il2cpp_TypeInfo_var))->____firstFrame_1 = (bool)0;
}
IL_009c:
{
// }
return;
}
}
// System.Void WaterSystem.GerstnerWavesJobs::CompleteJobs()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GerstnerWavesJobs_CompleteJobs_m54EE93BDA1F655850FD662B243703B0D79FE11F9 (const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&GerstnerWavesJobs_t93D7738515E9961C2592A8DC0BE0BAF4F3EDEFAB_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
bool V_0 = false;
int32_t G_B3_0 = 0;
{
// if (_firstFrame || !_processing) return;
il2cpp_codegen_runtime_class_init_inline(GerstnerWavesJobs_t93D7738515E9961C2592A8DC0BE0BAF4F3EDEFAB_il2cpp_TypeInfo_var);
bool L_0 = ((GerstnerWavesJobs_t93D7738515E9961C2592A8DC0BE0BAF4F3EDEFAB_StaticFields*)il2cpp_codegen_static_fields_for(GerstnerWavesJobs_t93D7738515E9961C2592A8DC0BE0BAF4F3EDEFAB_il2cpp_TypeInfo_var))->____firstFrame_1;
if (L_0)
{
goto IL_0012;
}
}
{
il2cpp_codegen_runtime_class_init_inline(GerstnerWavesJobs_t93D7738515E9961C2592A8DC0BE0BAF4F3EDEFAB_il2cpp_TypeInfo_var);
bool L_1 = ((GerstnerWavesJobs_t93D7738515E9961C2592A8DC0BE0BAF4F3EDEFAB_StaticFields*)il2cpp_codegen_static_fields_for(GerstnerWavesJobs_t93D7738515E9961C2592A8DC0BE0BAF4F3EDEFAB_il2cpp_TypeInfo_var))->____processing_2;
G_B3_0 = ((((int32_t)L_1) == ((int32_t)0))? 1 : 0);
goto IL_0013;
}
IL_0012:
{
G_B3_0 = 1;
}
IL_0013:
{
V_0 = (bool)G_B3_0;
bool L_2 = V_0;
if (!L_2)
{
goto IL_0019;
}
}
{
// if (_firstFrame || !_processing) return;
goto IL_002a;
}
IL_0019:
{
// _waterHeightHandle.Complete();
il2cpp_codegen_runtime_class_init_inline(GerstnerWavesJobs_t93D7738515E9961C2592A8DC0BE0BAF4F3EDEFAB_il2cpp_TypeInfo_var);
JobHandle_Complete_mDCED35A125AAB37EDDAB2E31C805B4904B614A4A((&((GerstnerWavesJobs_t93D7738515E9961C2592A8DC0BE0BAF4F3EDEFAB_StaticFields*)il2cpp_codegen_static_fields_for(GerstnerWavesJobs_t93D7738515E9961C2592A8DC0BE0BAF4F3EDEFAB_il2cpp_TypeInfo_var))->____waterHeightHandle_9), NULL);
// _processing = false;
((GerstnerWavesJobs_t93D7738515E9961C2592A8DC0BE0BAF4F3EDEFAB_StaticFields*)il2cpp_codegen_static_fields_for(GerstnerWavesJobs_t93D7738515E9961C2592A8DC0BE0BAF4F3EDEFAB_il2cpp_TypeInfo_var))->____processing_2 = (bool)0;
}
IL_002a:
{
// }
return;
}
}
// System.Void WaterSystem.GerstnerWavesJobs::.cctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GerstnerWavesJobs__cctor_m6CCB20DD64E01D6AD4FE7628B3C801C8636305F8 (const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Dictionary_2__ctor_mFA7FF7707E39BC40A09AE60A60E2DD8507CF5CFC_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Dictionary_2_t34976844C1A11EC7C4C065C9F12F6223D78D4583_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&GerstnerWavesJobs_t93D7738515E9961C2592A8DC0BE0BAF4F3EDEFAB_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
{
// private static bool _firstFrame = true;
((GerstnerWavesJobs_t93D7738515E9961C2592A8DC0BE0BAF4F3EDEFAB_StaticFields*)il2cpp_codegen_static_fields_for(GerstnerWavesJobs_t93D7738515E9961C2592A8DC0BE0BAF4F3EDEFAB_il2cpp_TypeInfo_var))->____firstFrame_1 = (bool)1;
// static readonly Dictionary<int, int2> Registry = new Dictionary<int, int2>();
Dictionary_2_t34976844C1A11EC7C4C065C9F12F6223D78D4583* L_0 = (Dictionary_2_t34976844C1A11EC7C4C065C9F12F6223D78D4583*)il2cpp_codegen_object_new(Dictionary_2_t34976844C1A11EC7C4C065C9F12F6223D78D4583_il2cpp_TypeInfo_var);
NullCheck(L_0);
Dictionary_2__ctor_mFA7FF7707E39BC40A09AE60A60E2DD8507CF5CFC(L_0, Dictionary_2__ctor_mFA7FF7707E39BC40A09AE60A60E2DD8507CF5CFC_RuntimeMethod_var);
((GerstnerWavesJobs_t93D7738515E9961C2592A8DC0BE0BAF4F3EDEFAB_StaticFields*)il2cpp_codegen_static_fields_for(GerstnerWavesJobs_t93D7738515E9961C2592A8DC0BE0BAF4F3EDEFAB_il2cpp_TypeInfo_var))->___Registry_10 = L_0;
Il2CppCodeGenWriteBarrier((void**)(&((GerstnerWavesJobs_t93D7738515E9961C2592A8DC0BE0BAF4F3EDEFAB_StaticFields*)il2cpp_codegen_static_fields_for(GerstnerWavesJobs_t93D7738515E9961C2592A8DC0BE0BAF4F3EDEFAB_il2cpp_TypeInfo_var))->___Registry_10), (void*)L_0);
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void WaterSystem.GerstnerWavesJobs/HeightJob::Execute(System.Int32)
IL2CPP_EXTERN_C IL2CPP_NO_INLINE IL2CPP_METHOD_ATTR void HeightJob_Execute_m03B3444AFBD999287F407A187BB4C29F7E8BA595 (HeightJob_t3CC067C0FFCCB359C83849C23293DD240CBC94EC* IL2CPP_PARAMETER_RESTRICT __this, int32_t ___i0, const RuntimeMethod* method)
{
float V_0 = 0.0f;
float3_t4AB5D88249ADB24F69FFD0793E8ED25E1CC3745E V_1;
memset((&V_1), 0, sizeof(V_1));
float3_t4AB5D88249ADB24F69FFD0793E8ED25E1CC3745E V_2;
memset((&V_2), 0, sizeof(V_2));
bool V_3 = false;
int32_t V_4 = 0;
float2_t24AA5C0F612B0672315EDAFEC9D9E7F1C4A5B0BA V_5;
memset((&V_5), 0, sizeof(V_5));
float V_6 = 0.0f;
float V_7 = 0.0f;
float V_8 = 0.0f;
float2_t24AA5C0F612B0672315EDAFEC9D9E7F1C4A5B0BA V_9;
memset((&V_9), 0, sizeof(V_9));
float V_10 = 0.0f;
float V_11 = 0.0f;
float V_12 = 0.0f;
float2_t24AA5C0F612B0672315EDAFEC9D9E7F1C4A5B0BA V_13;
memset((&V_13), 0, sizeof(V_13));
float2_t24AA5C0F612B0672315EDAFEC9D9E7F1C4A5B0BA V_14;
memset((&V_14), 0, sizeof(V_14));
float2_t24AA5C0F612B0672315EDAFEC9D9E7F1C4A5B0BA V_15;
memset((&V_15), 0, sizeof(V_15));
float V_16 = 0.0f;
float V_17 = 0.0f;
float V_18 = 0.0f;
float V_19 = 0.0f;
float V_20 = 0.0f;
float3_t4AB5D88249ADB24F69FFD0793E8ED25E1CC3745E V_21;
memset((&V_21), 0, sizeof(V_21));
float3_t4AB5D88249ADB24F69FFD0793E8ED25E1CC3745E V_22;
memset((&V_22), 0, sizeof(V_22));
bool V_23 = false;
int32_t G_B3_0 = 0;
{
// if (i < OffsetLength.x || i >= OffsetLength.y - OffsetLength.x) return;
int32_t L_0 = ___i0;
int2_tF4AC25F87943DC0B2BB3456B0B919B3B42A9432A* L_1 = (&__this->___OffsetLength_5);
int32_t L_2 = L_1->___x_0;
if ((((int32_t)L_0) < ((int32_t)L_2)))
{
goto IL_002e;
}
}
{
int32_t L_3 = ___i0;
int2_tF4AC25F87943DC0B2BB3456B0B919B3B42A9432A* L_4 = (&__this->___OffsetLength_5);
int32_t L_5 = L_4->___y_1;
int2_tF4AC25F87943DC0B2BB3456B0B919B3B42A9432A* L_6 = (&__this->___OffsetLength_5);
int32_t L_7 = L_6->___x_0;
G_B3_0 = ((((int32_t)((((int32_t)L_3) < ((int32_t)((int32_t)il2cpp_codegen_subtract(L_5, L_7))))? 1 : 0)) == ((int32_t)0))? 1 : 0);
goto IL_002f;
}
IL_002e:
{
G_B3_0 = 1;
}
IL_002f:
{
V_3 = (bool)G_B3_0;
bool L_8 = V_3;
if (!L_8)
{
goto IL_0038;
}
}
{
// if (i < OffsetLength.x || i >= OffsetLength.y - OffsetLength.x) return;
goto IL_02ce;
}
IL_0038:
{
// var waveCountMulti = 1f / WaveData.Length;
NativeArray_1_t0464FD7138EE934F1A59B5BC60EDAF11CA8501A0* L_9 = (&__this->___WaveData_0);
int32_t L_10;
L_10 = IL2CPP_NATIVEARRAY_GET_LENGTH((L_9)->___m_Length_1);
V_0 = ((float)((1.0f)/((float)L_10)));
// var wavePos = new float3(0f, 0f, 0f);
float3__ctor_mC61002CD0EC13D7C37D846D021A78C028FB80DB9_inline((&V_1), (0.0f), (0.0f), (0.0f), NULL);
// var waveNorm = new float3(0f, 0f, 0f);
float3__ctor_mC61002CD0EC13D7C37D846D021A78C028FB80DB9_inline((&V_2), (0.0f), (0.0f), (0.0f), NULL);
// for (var wave = 0; wave < WaveData.Length; wave++) // for each wave
V_4 = 0;
goto IL_028f;
}
IL_007f:
{
// var pos = Position[i].xz;
NativeArray_1_tEDE9DAD2CAE5954286BC0EF394A57ED0AC69FEE6* L_11 = (&__this->___Position_1);
int32_t L_12 = ___i0;
float3_t4AB5D88249ADB24F69FFD0793E8ED25E1CC3745E L_13;
L_13 = IL2CPP_NATIVEARRAY_GET_ITEM(float3_t4AB5D88249ADB24F69FFD0793E8ED25E1CC3745E, (L_11)->___m_Buffer_0, L_12);
V_22 = L_13;
float2_t24AA5C0F612B0672315EDAFEC9D9E7F1C4A5B0BA L_14;
L_14 = float3_get_xz_m687D2F3B82CB637649325B969C1406D86133EB30_inline((&V_22), NULL);
V_5 = L_14;
// var amplitude = WaveData[wave].amplitude;
NativeArray_1_t0464FD7138EE934F1A59B5BC60EDAF11CA8501A0* L_15 = (&__this->___WaveData_0);
int32_t L_16 = V_4;
Wave_t98FB676A74FA3481325B501BF6AFA3A4B02D64CB L_17;
L_17 = IL2CPP_NATIVEARRAY_GET_ITEM(Wave_t98FB676A74FA3481325B501BF6AFA3A4B02D64CB, (L_15)->___m_Buffer_0, L_16);
float L_18 = L_17.___amplitude_0;
V_6 = L_18;
// var direction = WaveData[wave].direction;
NativeArray_1_t0464FD7138EE934F1A59B5BC60EDAF11CA8501A0* L_19 = (&__this->___WaveData_0);
int32_t L_20 = V_4;
Wave_t98FB676A74FA3481325B501BF6AFA3A4B02D64CB L_21;
L_21 = IL2CPP_NATIVEARRAY_GET_ITEM(Wave_t98FB676A74FA3481325B501BF6AFA3A4B02D64CB, (L_19)->___m_Buffer_0, L_20);
float L_22 = L_21.___direction_1;
V_7 = L_22;
// var wavelength = WaveData[wave].wavelength;
NativeArray_1_t0464FD7138EE934F1A59B5BC60EDAF11CA8501A0* L_23 = (&__this->___WaveData_0);
int32_t L_24 = V_4;
Wave_t98FB676A74FA3481325B501BF6AFA3A4B02D64CB L_25;
L_25 = IL2CPP_NATIVEARRAY_GET_ITEM(Wave_t98FB676A74FA3481325B501BF6AFA3A4B02D64CB, (L_23)->___m_Buffer_0, L_24);
float L_26 = L_25.___wavelength_2;
V_8 = L_26;
// var omniPos = WaveData[wave].origin;
NativeArray_1_t0464FD7138EE934F1A59B5BC60EDAF11CA8501A0* L_27 = (&__this->___WaveData_0);
int32_t L_28 = V_4;
Wave_t98FB676A74FA3481325B501BF6AFA3A4B02D64CB L_29;
L_29 = IL2CPP_NATIVEARRAY_GET_ITEM(Wave_t98FB676A74FA3481325B501BF6AFA3A4B02D64CB, (L_27)->___m_Buffer_0, L_28);
float2_t24AA5C0F612B0672315EDAFEC9D9E7F1C4A5B0BA L_30 = L_29.___origin_3;
V_9 = L_30;
// var w = 6.28318f / wavelength; // 2pi over wavelength(hardcoded)
float L_31 = V_8;
V_10 = ((float)((6.28318024f)/L_31));
// var wSpeed = math.sqrt(9.8f * w); // frequency of the wave based off wavelength
float L_32 = V_10;
float L_33;
L_33 = math_sqrt_mD0D6FA27E6D4959A0D4A823FFD3A9DA396542875_inline(((float)il2cpp_codegen_multiply((9.80000019f), L_32)), NULL);
V_11 = L_33;
// var qi = peak / (amplitude * w * WaveData.Length);
float L_34 = V_6;
float L_35 = V_10;
NativeArray_1_t0464FD7138EE934F1A59B5BC60EDAF11CA8501A0* L_36 = (&__this->___WaveData_0);
int32_t L_37;
L_37 = IL2CPP_NATIVEARRAY_GET_LENGTH((L_36)->___m_Length_1);
V_12 = ((float)((0.800000012f)/((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_multiply(L_34, L_35)), ((float)L_37)))));
// var windDir = new float2(0f, 0f);
float2__ctor_m3D598E2C2D173DE852F3AB157502968261383C97_inline((&V_13), (0.0f), (0.0f), NULL);
// direction = math.radians(direction); // convert the incoming degrees to radians
float L_38 = V_7;
float L_39;
L_39 = math_radians_m08B356E042815F191F6280057EA0EC8D7D90CA3F_inline(L_38, NULL);
V_7 = L_39;
// var windDirInput = new float2(math.sin(direction), math.cos(direction)) * (1 - WaveData[wave].onmiDir); // calculate wind direction - TODO - currently radians
float L_40 = V_7;
float L_41;
L_41 = math_sin_m09BCE312DBA664A5CE3EDE6D10F874859F6885F0_inline(L_40, NULL);
float L_42 = V_7;
float L_43;
L_43 = math_cos_mA9002EFEE2A017D04CB6231763FA2CB64A2BE3F1_inline(L_42, NULL);
float2_t24AA5C0F612B0672315EDAFEC9D9E7F1C4A5B0BA L_44;
memset((&L_44), 0, sizeof(L_44));
float2__ctor_m3D598E2C2D173DE852F3AB157502968261383C97_inline((&L_44), L_41, L_43, /*hidden argument*/NULL);
NativeArray_1_t0464FD7138EE934F1A59B5BC60EDAF11CA8501A0* L_45 = (&__this->___WaveData_0);
int32_t L_46 = V_4;
Wave_t98FB676A74FA3481325B501BF6AFA3A4B02D64CB L_47;
L_47 = IL2CPP_NATIVEARRAY_GET_ITEM(Wave_t98FB676A74FA3481325B501BF6AFA3A4B02D64CB, (L_45)->___m_Buffer_0, L_46);
float L_48 = L_47.___onmiDir_4;
float2_t24AA5C0F612B0672315EDAFEC9D9E7F1C4A5B0BA L_49;
L_49 = float2_op_Multiply_mA808DD1761BC02DFF27012799AC8BBE6CAA4833B_inline(L_44, ((float)il2cpp_codegen_subtract((1.0f), L_48)), NULL);
V_14 = L_49;
// var windOmniInput = (pos - omniPos) * WaveData[wave].onmiDir;
float2_t24AA5C0F612B0672315EDAFEC9D9E7F1C4A5B0BA L_50 = V_5;
float2_t24AA5C0F612B0672315EDAFEC9D9E7F1C4A5B0BA L_51 = V_9;
float2_t24AA5C0F612B0672315EDAFEC9D9E7F1C4A5B0BA L_52;
L_52 = float2_op_Subtraction_mBC3DDD89B54F91541030E441B07B00D8D7172FF7_inline(L_50, L_51, NULL);
NativeArray_1_t0464FD7138EE934F1A59B5BC60EDAF11CA8501A0* L_53 = (&__this->___WaveData_0);
int32_t L_54 = V_4;
Wave_t98FB676A74FA3481325B501BF6AFA3A4B02D64CB L_55;
L_55 = IL2CPP_NATIVEARRAY_GET_ITEM(Wave_t98FB676A74FA3481325B501BF6AFA3A4B02D64CB, (L_53)->___m_Buffer_0, L_54);
float L_56 = L_55.___onmiDir_4;
float2_t24AA5C0F612B0672315EDAFEC9D9E7F1C4A5B0BA L_57;
L_57 = float2_op_Multiply_mA808DD1761BC02DFF27012799AC8BBE6CAA4833B_inline(L_52, L_56, NULL);
V_15 = L_57;
// windDir += windDirInput;
float2_t24AA5C0F612B0672315EDAFEC9D9E7F1C4A5B0BA L_58 = V_13;
float2_t24AA5C0F612B0672315EDAFEC9D9E7F1C4A5B0BA L_59 = V_14;
float2_t24AA5C0F612B0672315EDAFEC9D9E7F1C4A5B0BA L_60;
L_60 = float2_op_Addition_m503678CD90BFA0E4047291761C002E0CB849B845_inline(L_58, L_59, NULL);
V_13 = L_60;
// windDir += windOmniInput;
float2_t24AA5C0F612B0672315EDAFEC9D9E7F1C4A5B0BA L_61 = V_13;
float2_t24AA5C0F612B0672315EDAFEC9D9E7F1C4A5B0BA L_62 = V_15;
float2_t24AA5C0F612B0672315EDAFEC9D9E7F1C4A5B0BA L_63;
L_63 = float2_op_Addition_m503678CD90BFA0E4047291761C002E0CB849B845_inline(L_61, L_62, NULL);
V_13 = L_63;
// windDir = math.normalize(windDir);
float2_t24AA5C0F612B0672315EDAFEC9D9E7F1C4A5B0BA L_64 = V_13;
float2_t24AA5C0F612B0672315EDAFEC9D9E7F1C4A5B0BA L_65;
L_65 = math_normalize_mD2C1AF2A74CFB0EC69962A879E4138A5DE18A0F0_inline(L_64, NULL);
V_13 = L_65;
// var dir = math.dot(windDir, pos - (omniPos * WaveData[wave].onmiDir));
float2_t24AA5C0F612B0672315EDAFEC9D9E7F1C4A5B0BA L_66 = V_13;
float2_t24AA5C0F612B0672315EDAFEC9D9E7F1C4A5B0BA L_67 = V_5;
float2_t24AA5C0F612B0672315EDAFEC9D9E7F1C4A5B0BA L_68 = V_9;
NativeArray_1_t0464FD7138EE934F1A59B5BC60EDAF11CA8501A0* L_69 = (&__this->___WaveData_0);
int32_t L_70 = V_4;
Wave_t98FB676A74FA3481325B501BF6AFA3A4B02D64CB L_71;
L_71 = IL2CPP_NATIVEARRAY_GET_ITEM(Wave_t98FB676A74FA3481325B501BF6AFA3A4B02D64CB, (L_69)->___m_Buffer_0, L_70);
float L_72 = L_71.___onmiDir_4;
float2_t24AA5C0F612B0672315EDAFEC9D9E7F1C4A5B0BA L_73;
L_73 = float2_op_Multiply_mA808DD1761BC02DFF27012799AC8BBE6CAA4833B_inline(L_68, L_72, NULL);
float2_t24AA5C0F612B0672315EDAFEC9D9E7F1C4A5B0BA L_74;
L_74 = float2_op_Subtraction_mBC3DDD89B54F91541030E441B07B00D8D7172FF7_inline(L_67, L_73, NULL);
float L_75;
L_75 = math_dot_mB5F64A20288F500F84BB056EF63B37146FBBA96C_inline(L_66, L_74, NULL);
V_16 = L_75;
// var calc = dir * w + -Time * wSpeed; // the wave calculation
float L_76 = V_16;
float L_77 = V_10;
float L_78 = __this->___Time_4;
float L_79 = V_11;
V_17 = ((float)il2cpp_codegen_add(((float)il2cpp_codegen_multiply(L_76, L_77)), ((float)il2cpp_codegen_multiply(((-L_78)), L_79))));
// var cosCalc = math.cos(calc); // cosine version(used for horizontal undulation)
float L_80 = V_17;
float L_81;
L_81 = math_cos_mA9002EFEE2A017D04CB6231763FA2CB64A2BE3F1_inline(L_80, NULL);
V_18 = L_81;
// var sinCalc = math.sin(calc); // sin version(used for vertical undulation)
float L_82 = V_17;
float L_83;
L_83 = math_sin_m09BCE312DBA664A5CE3EDE6D10F874859F6885F0_inline(L_82, NULL);
V_19 = L_83;
// wavePos.x += qi * amplitude * windDir.x * cosCalc;
float* L_84 = (&(&V_1)->___x_0);
float* L_85 = L_84;
float L_86 = *((float*)L_85);
float L_87 = V_12;
float L_88 = V_6;
float2_t24AA5C0F612B0672315EDAFEC9D9E7F1C4A5B0BA L_89 = V_13;
float L_90 = L_89.___x_0;
float L_91 = V_18;
*((float*)L_85) = (float)((float)il2cpp_codegen_add(L_86, ((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_multiply(L_87, L_88)), L_90)), L_91))));
// wavePos.z += qi * amplitude * windDir.y * cosCalc;
float* L_92 = (&(&V_1)->___z_2);
float* L_93 = L_92;
float L_94 = *((float*)L_93);
float L_95 = V_12;
float L_96 = V_6;
float2_t24AA5C0F612B0672315EDAFEC9D9E7F1C4A5B0BA L_97 = V_13;
float L_98 = L_97.___y_1;
float L_99 = V_18;
*((float*)L_93) = (float)((float)il2cpp_codegen_add(L_94, ((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_multiply(L_95, L_96)), L_98)), L_99))));
// wavePos.y += sinCalc * amplitude * waveCountMulti; // the height is divided by the number of waves
float* L_100 = (&(&V_1)->___y_1);
float* L_101 = L_100;
float L_102 = *((float*)L_101);
float L_103 = V_19;
float L_104 = V_6;
float L_105 = V_0;
*((float*)L_101) = (float)((float)il2cpp_codegen_add(L_102, ((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_multiply(L_103, L_104)), L_105))));
// var wa = w * amplitude;
float L_106 = V_10;
float L_107 = V_6;
V_20 = ((float)il2cpp_codegen_multiply(L_106, L_107));
// var norm = new float3(-(windDir.xy * wa * cosCalc),
// 1 - (qi * wa * sinCalc));
float2_t24AA5C0F612B0672315EDAFEC9D9E7F1C4A5B0BA L_108;
L_108 = float2_get_xy_mAB96D1C1ABAC5AC6B2B6059669D94D246EA623FF_inline((&V_13), NULL);
float L_109 = V_20;
float2_t24AA5C0F612B0672315EDAFEC9D9E7F1C4A5B0BA L_110;
L_110 = float2_op_Multiply_mA808DD1761BC02DFF27012799AC8BBE6CAA4833B_inline(L_108, L_109, NULL);
float L_111 = V_18;
float2_t24AA5C0F612B0672315EDAFEC9D9E7F1C4A5B0BA L_112;
L_112 = float2_op_Multiply_mA808DD1761BC02DFF27012799AC8BBE6CAA4833B_inline(L_110, L_111, NULL);
float2_t24AA5C0F612B0672315EDAFEC9D9E7F1C4A5B0BA L_113;
L_113 = float2_op_UnaryNegation_m32D405A200CB4473779212462A3A1511FF8FE9F3_inline(L_112, NULL);
float L_114 = V_12;
float L_115 = V_20;
float L_116 = V_19;
float3__ctor_m294ACD85A4CE5F3F9C41D30933CA52AC64660830_inline((&V_21), L_113, ((float)il2cpp_codegen_subtract((1.0f), ((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_multiply(L_114, L_115)), L_116)))), NULL);
// waveNorm += (norm * waveCountMulti) * amplitude;
float3_t4AB5D88249ADB24F69FFD0793E8ED25E1CC3745E L_117 = V_2;
float3_t4AB5D88249ADB24F69FFD0793E8ED25E1CC3745E L_118 = V_21;
float L_119 = V_0;
float3_t4AB5D88249ADB24F69FFD0793E8ED25E1CC3745E L_120;
L_120 = float3_op_Multiply_mD1D9969B1E1417BD268661848625F97CD44DA80D_inline(L_118, L_119, NULL);
float L_121 = V_6;
float3_t4AB5D88249ADB24F69FFD0793E8ED25E1CC3745E L_122;
L_122 = float3_op_Multiply_mD1D9969B1E1417BD268661848625F97CD44DA80D_inline(L_120, L_121, NULL);
float3_t4AB5D88249ADB24F69FFD0793E8ED25E1CC3745E L_123;
L_123 = float3_op_Addition_mE85BAC4F29F637BB88069193D325FE5C6067B3BB_inline(L_117, L_122, NULL);
V_2 = L_123;
// for (var wave = 0; wave < WaveData.Length; wave++) // for each wave
int32_t L_124 = V_4;
V_4 = ((int32_t)il2cpp_codegen_add(L_124, 1));
}
IL_028f:
{
// for (var wave = 0; wave < WaveData.Length; wave++) // for each wave
int32_t L_125 = V_4;
NativeArray_1_t0464FD7138EE934F1A59B5BC60EDAF11CA8501A0* L_126 = (&__this->___WaveData_0);
int32_t L_127;
L_127 = IL2CPP_NATIVEARRAY_GET_LENGTH((L_126)->___m_Length_1);
V_23 = (bool)((((int32_t)L_125) < ((int32_t)L_127))? 1 : 0);
bool L_128 = V_23;
if (L_128)
{
goto IL_007f;
}
}
{
// OutPosition[i] = wavePos;
NativeArray_1_tEDE9DAD2CAE5954286BC0EF394A57ED0AC69FEE6* L_129 = (&__this->___OutPosition_2);
int32_t L_130 = ___i0;
float3_t4AB5D88249ADB24F69FFD0793E8ED25E1CC3745E L_131 = V_1;
IL2CPP_NATIVEARRAY_SET_ITEM(float3_t4AB5D88249ADB24F69FFD0793E8ED25E1CC3745E, (L_129)->___m_Buffer_0, L_130, (L_131));
// OutNormal[i] = math.normalize(waveNorm.xzy);
NativeArray_1_tEDE9DAD2CAE5954286BC0EF394A57ED0AC69FEE6* L_132 = (&__this->___OutNormal_3);
int32_t L_133 = ___i0;
float3_t4AB5D88249ADB24F69FFD0793E8ED25E1CC3745E L_134;
L_134 = float3_get_xzy_m6F67365A6925C25BFDD557F2EBD87C76E7BDDB77_inline((&V_2), NULL);
float3_t4AB5D88249ADB24F69FFD0793E8ED25E1CC3745E L_135;
L_135 = math_normalize_m826725DC58F0CE455E3DEB3BD4808C13CBC81E25_inline(L_134, NULL);
IL2CPP_NATIVEARRAY_SET_ITEM(float3_t4AB5D88249ADB24F69FFD0793E8ED25E1CC3745E, (L_132)->___m_Buffer_0, L_133, (L_135));
}
IL_02ce:
{
// }
return;
}
}
IL2CPP_EXTERN_C void HeightJob_Execute_m03B3444AFBD999287F407A187BB4C29F7E8BA595_AdjustorThunk (RuntimeObject* IL2CPP_PARAMETER_RESTRICT __this, int32_t ___i0, const RuntimeMethod* method)
{
HeightJob_t3CC067C0FFCCB359C83849C23293DD240CBC94EC* _thisAdjusted;
int32_t _offset = 1;
_thisAdjusted = reinterpret_cast<HeightJob_t3CC067C0FFCCB359C83849C23293DD240CBC94EC*>(__this + _offset);
HeightJob_Execute_m03B3444AFBD999287F407A187BB4C29F7E8BA595(_thisAdjusted, ___i0, method);
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void WaterSystem.MainCameraAlign::OnEnable()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MainCameraAlign_OnEnable_m4E0D3A25BBAB0966B1071AEF4733ED085A0AE441 (MainCameraAlign_t11B7356BD1B1AD52E277FC0BAE1A4BAD92903D12* __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Action_2_t8E07914D7090FF200FE84404EEEFAF3CE183C9F3_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&MainCameraAlign_UpdatePosition_m7DE56261584736BC565D0EA4836ED5F6416F1EE5_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&RenderPipelineManager_t44E0175AAADDD5487593AEF2B009B1B154957CDB_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
{
// RenderPipelineManager.beginCameraRendering += UpdatePosition;
Action_2_t8E07914D7090FF200FE84404EEEFAF3CE183C9F3* L_0 = (Action_2_t8E07914D7090FF200FE84404EEEFAF3CE183C9F3*)il2cpp_codegen_object_new(Action_2_t8E07914D7090FF200FE84404EEEFAF3CE183C9F3_il2cpp_TypeInfo_var);
NullCheck(L_0);
Action_2__ctor_mBEB5B9B513FE305CE98CA8065CC6E6CC0E5A4D51(L_0, __this, (intptr_t)((void*)MainCameraAlign_UpdatePosition_m7DE56261584736BC565D0EA4836ED5F6416F1EE5_RuntimeMethod_var), NULL);
il2cpp_codegen_runtime_class_init_inline(RenderPipelineManager_t44E0175AAADDD5487593AEF2B009B1B154957CDB_il2cpp_TypeInfo_var);
RenderPipelineManager_add_beginCameraRendering_mF8416C1EB5B9FF130A7F638B842E283CAA83BC2B(L_0, NULL);
// }
return;
}
}
// System.Void WaterSystem.MainCameraAlign::OnDisable()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MainCameraAlign_OnDisable_m2110FCDE5C16EC06D875F3027D4F8FFEE207EC3A (MainCameraAlign_t11B7356BD1B1AD52E277FC0BAE1A4BAD92903D12* __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Action_2_t8E07914D7090FF200FE84404EEEFAF3CE183C9F3_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&MainCameraAlign_UpdatePosition_m7DE56261584736BC565D0EA4836ED5F6416F1EE5_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&RenderPipelineManager_t44E0175AAADDD5487593AEF2B009B1B154957CDB_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
{
// RenderPipelineManager.beginCameraRendering -= UpdatePosition;
Action_2_t8E07914D7090FF200FE84404EEEFAF3CE183C9F3* L_0 = (Action_2_t8E07914D7090FF200FE84404EEEFAF3CE183C9F3*)il2cpp_codegen_object_new(Action_2_t8E07914D7090FF200FE84404EEEFAF3CE183C9F3_il2cpp_TypeInfo_var);
NullCheck(L_0);
Action_2__ctor_mBEB5B9B513FE305CE98CA8065CC6E6CC0E5A4D51(L_0, __this, (intptr_t)((void*)MainCameraAlign_UpdatePosition_m7DE56261584736BC565D0EA4836ED5F6416F1EE5_RuntimeMethod_var), NULL);
il2cpp_codegen_runtime_class_init_inline(RenderPipelineManager_t44E0175AAADDD5487593AEF2B009B1B154957CDB_il2cpp_TypeInfo_var);
RenderPipelineManager_remove_beginCameraRendering_m1612AF680F9518D63562A8AC8C521A326B1C6C71(L_0, NULL);
// }
return;
}
}
// System.Void WaterSystem.MainCameraAlign::UpdatePosition(UnityEngine.Rendering.ScriptableRenderContext,UnityEngine.Camera)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MainCameraAlign_UpdatePosition_m7DE56261584736BC565D0EA4836ED5F6416F1EE5 (MainCameraAlign_t11B7356BD1B1AD52E277FC0BAE1A4BAD92903D12* __this, ScriptableRenderContext_t5AB09B3602BEB456E0DC3D53926D3A3BDAF08E36 ___src0, Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184* ___cam1, const RuntimeMethod* method)
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
memset((&V_0), 0, sizeof(V_0));
bool V_1 = false;
{
// if (cam.cameraType == CameraType.Preview) return;
Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184* L_0 = ___cam1;
NullCheck(L_0);
int32_t L_1;
L_1 = Camera_get_cameraType_m85434C4C986D2EAC04FBFA44B284840AFC497851(L_0, NULL);
V_1 = (bool)((((int32_t)L_1) == ((int32_t)4))? 1 : 0);
bool L_2 = V_1;
if (!L_2)
{
goto IL_0010;
}
}
{
// if (cam.cameraType == CameraType.Preview) return;
goto IL_006c;
}
IL_0010:
{
// var newPos = cam.transform.TransformPoint(Vector3.forward * forwards);
Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184* L_3 = ___cam1;
NullCheck(L_3);
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_4;
L_4 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(L_3, NULL);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_5;
L_5 = Vector3_get_forward_mEBAB24D77FC02FC88ED880738C3B1D47C758B3EB_inline(NULL);
float L_6 = __this->___forwards_5;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_7;
L_7 = Vector3_op_Multiply_m516FE285F5342F922C6EB3FCB33197E9017FF484_inline(L_5, L_6, NULL);
NullCheck(L_4);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_8;
L_8 = Transform_TransformPoint_m05BFF013DB830D7BFE44A007703694AE1062EE44(L_4, L_7, NULL);
V_0 = L_8;
// newPos.y = yOffset;
float L_9 = __this->___yOffset_6;
(&V_0)->___y_3 = L_9;
// newPos.x = QuantizeValue(newPos.x);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_10 = V_0;
float L_11 = L_10.___x_2;
float L_12;
L_12 = MainCameraAlign_QuantizeValue_m81142189FE4FCA3AC5A7DC79FCD32D2C5761291A(__this, L_11, NULL);
(&V_0)->___x_2 = L_12;
// newPos.z = QuantizeValue(newPos.z);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_13 = V_0;
float L_14 = L_13.___z_4;
float L_15;
L_15 = MainCameraAlign_QuantizeValue_m81142189FE4FCA3AC5A7DC79FCD32D2C5761291A(__this, L_14, NULL);
(&V_0)->___z_4 = L_15;
// transform.position = newPos;
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_16;
L_16 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(__this, NULL);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_17 = V_0;
NullCheck(L_16);
Transform_set_position_mA1A817124BB41B685043DED2A9BA48CDF37C4156(L_16, L_17, NULL);
}
IL_006c:
{
// }
return;
}
}
// System.Single WaterSystem.MainCameraAlign::QuantizeValue(System.Single)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float MainCameraAlign_QuantizeValue_m81142189FE4FCA3AC5A7DC79FCD32D2C5761291A (MainCameraAlign_t11B7356BD1B1AD52E277FC0BAE1A4BAD92903D12* __this, float ___value0, const RuntimeMethod* method)
{
float V_0 = 0.0f;
{
// return quantizeValue * (int) (value / quantizeValue);
float L_0 = __this->___quantizeValue_4;
float L_1 = ___value0;
float L_2 = __this->___quantizeValue_4;
V_0 = ((float)il2cpp_codegen_multiply(L_0, ((float)il2cpp_codegen_cast_double_to_int<int32_t>(((float)(L_1/L_2))))));
goto IL_0015;
}
IL_0015:
{
// }
float L_3 = V_0;
return L_3;
}
}
// System.Void WaterSystem.MainCameraAlign::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MainCameraAlign__ctor_mCE7F3B1682F94F298569456D65E31B2D3A257460 (MainCameraAlign_t11B7356BD1B1AD52E277FC0BAE1A4BAD92903D12* __this, const RuntimeMethod* method)
{
{
// public float quantizeValue = 6.25f;
__this->___quantizeValue_4 = (6.25f);
// public float forwards = 10f;
__this->___forwards_5 = (10.0f);
// public float yOffset = -0.25f;
__this->___yOffset_6 = (-0.25f);
MonoBehaviour__ctor_m592DB0105CA0BC97AA1C5F4AD27B12D68A3B7C1E(__this, NULL);
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void WaterSystem.WaterSystemFeature::Create()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void WaterSystemFeature_Create_m006CF63F4C6F0599AAB82034151615BEE9055860 (WaterSystemFeature_t89B0192FA750BC0CDBEEB20341FA467A2FE8D098* __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&CoreUtils_tEE57AB2B0DAE9561F4954B08800A8F957850B038_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&WaterCausticsPass_t922AB7DEF9518C198D2DF81EB7504248DB015F28_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&WaterFxPass_t7E07E3E2745F0FD3567D3CAB421FB44653884497_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&WaterSystemFeature_t89B0192FA750BC0CDBEEB20341FA467A2FE8D098_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral100C055D4F7FECF2C2953C6AA4B80FAEEE5D12AD);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral2FF39018CB6755E1793EC58826128E1FD23D0235);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral7CEE98C8501E60251A37A58E0C9359DD6651FA31);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralF0356357C617F5F1EC49E3B27E064376AC090E2F);
s_Il2CppMethodInitialized = true;
}
bool V_0 = false;
bool V_1 = false;
bool V_2 = false;
int32_t V_3 = 0;
int32_t V_4 = 0;
WaterSystemFeature_t89B0192FA750BC0CDBEEB20341FA467A2FE8D098* G_B2_0 = NULL;
WaterSystemFeature_t89B0192FA750BC0CDBEEB20341FA467A2FE8D098* G_B1_0 = NULL;
Shader_tADC867D36B7876EE22427FAA2CE485105F4EE692* G_B3_0 = NULL;
WaterSystemFeature_t89B0192FA750BC0CDBEEB20341FA467A2FE8D098* G_B3_1 = NULL;
{
// m_WaterFxPass = new WaterFxPass {renderPassEvent = RenderPassEvent.BeforeRenderingOpaques};
WaterFxPass_t7E07E3E2745F0FD3567D3CAB421FB44653884497* L_0 = (WaterFxPass_t7E07E3E2745F0FD3567D3CAB421FB44653884497*)il2cpp_codegen_object_new(WaterFxPass_t7E07E3E2745F0FD3567D3CAB421FB44653884497_il2cpp_TypeInfo_var);
NullCheck(L_0);
WaterFxPass__ctor_m349AF03E885E7980F3B593296186BB266264081F(L_0, NULL);
WaterFxPass_t7E07E3E2745F0FD3567D3CAB421FB44653884497* L_1 = L_0;
NullCheck(L_1);
ScriptableRenderPass_set_renderPassEvent_m63FA581FFDE1C69C2E1358BD0B8DB30275334960_inline(L_1, ((int32_t)250), NULL);
__this->___m_WaterFxPass_5 = L_1;
Il2CppCodeGenWriteBarrier((void**)(&__this->___m_WaterFxPass_5), (void*)L_1);
// m_CausticsPass = new WaterCausticsPass();
WaterCausticsPass_t922AB7DEF9518C198D2DF81EB7504248DB015F28* L_2 = (WaterCausticsPass_t922AB7DEF9518C198D2DF81EB7504248DB015F28*)il2cpp_codegen_object_new(WaterCausticsPass_t922AB7DEF9518C198D2DF81EB7504248DB015F28_il2cpp_TypeInfo_var);
NullCheck(L_2);
WaterCausticsPass__ctor_mAE75DFD47D6C201FD42C9E317A23D9603F1B9BA8(L_2, NULL);
__this->___m_CausticsPass_6 = L_2;
Il2CppCodeGenWriteBarrier((void**)(&__this->___m_CausticsPass_6), (void*)L_2);
// causticShader = causticShader ? causticShader : Shader.Find("Hidden/BoatAttack/Caustics");
Shader_tADC867D36B7876EE22427FAA2CE485105F4EE692* L_3 = __this->___causticShader_8;
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
bool L_4;
L_4 = Object_op_Implicit_m18E1885C296CC868AC918101523697CFE6413C79(L_3, NULL);
G_B1_0 = __this;
if (L_4)
{
G_B2_0 = __this;
goto IL_003d;
}
}
{
Shader_tADC867D36B7876EE22427FAA2CE485105F4EE692* L_5;
L_5 = Shader_Find_mFF2A8FC042B9CFAA9800679CA674D52859BF3A72(_stringLiteralF0356357C617F5F1EC49E3B27E064376AC090E2F, NULL);
G_B3_0 = L_5;
G_B3_1 = G_B1_0;
goto IL_0043;
}
IL_003d:
{
Shader_tADC867D36B7876EE22427FAA2CE485105F4EE692* L_6 = __this->___causticShader_8;
G_B3_0 = L_6;
G_B3_1 = G_B2_0;
}
IL_0043:
{
NullCheck(G_B3_1);
G_B3_1->___causticShader_8 = G_B3_0;
Il2CppCodeGenWriteBarrier((void**)(&G_B3_1->___causticShader_8), (void*)G_B3_0);
// if (causticShader == null) return;
Shader_tADC867D36B7876EE22427FAA2CE485105F4EE692* L_7 = __this->___causticShader_8;
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
bool L_8;
L_8 = Object_op_Equality_mD3DB0D72CE0250C84033DC2A90AEF9D59896E536(L_7, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
V_0 = L_8;
bool L_9 = V_0;
if (!L_9)
{
goto IL_005d;
}
}
{
// if (causticShader == null) return;
goto IL_01d1;
}
IL_005d:
{
// if (_causticMaterial)
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_10 = __this->____causticMaterial_10;
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
bool L_11;
L_11 = Object_op_Implicit_m18E1885C296CC868AC918101523697CFE6413C79(L_10, NULL);
V_1 = L_11;
bool L_12 = V_1;
if (!L_12)
{
goto IL_007a;
}
}
{
// DestroyImmediate(_causticMaterial);
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_13 = __this->____causticMaterial_10;
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
Object_DestroyImmediate_m8249CABCDF344BE3A67EE765122EBB415DC2BC57(L_13, NULL);
}
IL_007a:
{
// _causticMaterial = CoreUtils.CreateEngineMaterial(causticShader);
Shader_tADC867D36B7876EE22427FAA2CE485105F4EE692* L_14 = __this->___causticShader_8;
il2cpp_codegen_runtime_class_init_inline(CoreUtils_tEE57AB2B0DAE9561F4954B08800A8F957850B038_il2cpp_TypeInfo_var);
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_15;
L_15 = CoreUtils_CreateEngineMaterial_mAA09043C35B14C19847AD32F4864260DCE381791(L_14, NULL);
__this->____causticMaterial_10 = L_15;
Il2CppCodeGenWriteBarrier((void**)(&__this->____causticMaterial_10), (void*)L_15);
// _causticMaterial.SetFloat("_BlendDistance", settings.causticBlendDistance);
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_16 = __this->____causticMaterial_10;
WaterSystemSettings_tE1A03BEC806E79F355763506E93C356C0497BE8C* L_17 = __this->___settings_7;
NullCheck(L_17);
float L_18 = L_17->___causticBlendDistance_1;
NullCheck(L_16);
Material_SetFloat_m879CF81D740BAE6F23C9822400679F4D16365836(L_16, _stringLiteral2FF39018CB6755E1793EC58826128E1FD23D0235, L_18, NULL);
// if (causticTexture == null)
Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4* L_19 = __this->___causticTexture_9;
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
bool L_20;
L_20 = Object_op_Equality_mD3DB0D72CE0250C84033DC2A90AEF9D59896E536(L_19, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
V_2 = L_20;
bool L_21 = V_2;
if (!L_21)
{
goto IL_00c4;
}
}
{
// Debug.Log("Caustics Texture missing, attempting to load.");
il2cpp_codegen_runtime_class_init_inline(Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var);
Debug_Log_m86567BCF22BBE7809747817453CACA0E41E68219(_stringLiteral100C055D4F7FECF2C2953C6AA4B80FAEEE5D12AD, NULL);
}
IL_00c4:
{
// _causticMaterial.SetTexture(CausticTexture, causticTexture);
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_22 = __this->____causticMaterial_10;
il2cpp_codegen_runtime_class_init_inline(WaterSystemFeature_t89B0192FA750BC0CDBEEB20341FA467A2FE8D098_il2cpp_TypeInfo_var);
int32_t L_23 = ((WaterSystemFeature_t89B0192FA750BC0CDBEEB20341FA467A2FE8D098_StaticFields*)il2cpp_codegen_static_fields_for(WaterSystemFeature_t89B0192FA750BC0CDBEEB20341FA467A2FE8D098_il2cpp_TypeInfo_var))->___CausticTexture_14;
Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4* L_24 = __this->___causticTexture_9;
NullCheck(L_22);
Material_SetTexture_mA9F8461850AAB88F992E9C6FA6F24C2E050B83FD(L_22, L_23, L_24, NULL);
// switch (settings.debug)
WaterSystemSettings_tE1A03BEC806E79F355763506E93C356C0497BE8C* L_25 = __this->___settings_7;
NullCheck(L_25);
int32_t L_26 = L_25->___debug_2;
V_4 = L_26;
int32_t L_27 = V_4;
V_3 = L_27;
int32_t L_28 = V_3;
switch (L_28)
{
case 0:
{
goto IL_0154;
}
case 1:
{
goto IL_0152;
}
case 2:
{
goto IL_0102;
}
}
}
{
goto IL_01a4;
}
IL_0102:
{
// _causticMaterial.SetFloat(SrcBlend, 1f);
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_29 = __this->____causticMaterial_10;
il2cpp_codegen_runtime_class_init_inline(WaterSystemFeature_t89B0192FA750BC0CDBEEB20341FA467A2FE8D098_il2cpp_TypeInfo_var);
int32_t L_30 = ((WaterSystemFeature_t89B0192FA750BC0CDBEEB20341FA467A2FE8D098_StaticFields*)il2cpp_codegen_static_fields_for(WaterSystemFeature_t89B0192FA750BC0CDBEEB20341FA467A2FE8D098_il2cpp_TypeInfo_var))->___SrcBlend_11;
NullCheck(L_29);
Material_SetFloat_m3ECFD92072347A8620254F014865984FA68211A8(L_29, L_30, (1.0f), NULL);
// _causticMaterial.SetFloat(DstBlend, 0f);
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_31 = __this->____causticMaterial_10;
int32_t L_32 = ((WaterSystemFeature_t89B0192FA750BC0CDBEEB20341FA467A2FE8D098_StaticFields*)il2cpp_codegen_static_fields_for(WaterSystemFeature_t89B0192FA750BC0CDBEEB20341FA467A2FE8D098_il2cpp_TypeInfo_var))->___DstBlend_12;
NullCheck(L_31);
Material_SetFloat_m3ECFD92072347A8620254F014865984FA68211A8(L_31, L_32, (0.0f), NULL);
// _causticMaterial.EnableKeyword("_DEBUG");
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_33 = __this->____causticMaterial_10;
NullCheck(L_33);
Material_EnableKeyword_mE8523EF6CF694284DF976D47ADEDE9363A1174AC(L_33, _stringLiteral7CEE98C8501E60251A37A58E0C9359DD6651FA31, NULL);
// m_CausticsPass.renderPassEvent = RenderPassEvent.AfterRenderingPostProcessing;
WaterCausticsPass_t922AB7DEF9518C198D2DF81EB7504248DB015F28* L_34 = __this->___m_CausticsPass_6;
NullCheck(L_34);
ScriptableRenderPass_set_renderPassEvent_m63FA581FFDE1C69C2E1358BD0B8DB30275334960_inline(L_34, ((int32_t)600), NULL);
// break;
goto IL_01a4;
}
IL_0152:
{
// break;
goto IL_01a4;
}
IL_0154:
{
// _causticMaterial.SetFloat(SrcBlend, 2f);
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_35 = __this->____causticMaterial_10;
il2cpp_codegen_runtime_class_init_inline(WaterSystemFeature_t89B0192FA750BC0CDBEEB20341FA467A2FE8D098_il2cpp_TypeInfo_var);
int32_t L_36 = ((WaterSystemFeature_t89B0192FA750BC0CDBEEB20341FA467A2FE8D098_StaticFields*)il2cpp_codegen_static_fields_for(WaterSystemFeature_t89B0192FA750BC0CDBEEB20341FA467A2FE8D098_il2cpp_TypeInfo_var))->___SrcBlend_11;
NullCheck(L_35);
Material_SetFloat_m3ECFD92072347A8620254F014865984FA68211A8(L_35, L_36, (2.0f), NULL);
// _causticMaterial.SetFloat(DstBlend, 0f);
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_37 = __this->____causticMaterial_10;
int32_t L_38 = ((WaterSystemFeature_t89B0192FA750BC0CDBEEB20341FA467A2FE8D098_StaticFields*)il2cpp_codegen_static_fields_for(WaterSystemFeature_t89B0192FA750BC0CDBEEB20341FA467A2FE8D098_il2cpp_TypeInfo_var))->___DstBlend_12;
NullCheck(L_37);
Material_SetFloat_m3ECFD92072347A8620254F014865984FA68211A8(L_37, L_38, (0.0f), NULL);
// _causticMaterial.DisableKeyword("_DEBUG");
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_39 = __this->____causticMaterial_10;
NullCheck(L_39);
Material_DisableKeyword_mC123927EBF2F2A19220A4456C8EA19F2BA416E8C(L_39, _stringLiteral7CEE98C8501E60251A37A58E0C9359DD6651FA31, NULL);
// m_CausticsPass.renderPassEvent = RenderPassEvent.AfterRenderingSkybox + 1;
WaterCausticsPass_t922AB7DEF9518C198D2DF81EB7504248DB015F28* L_40 = __this->___m_CausticsPass_6;
NullCheck(L_40);
ScriptableRenderPass_set_renderPassEvent_m63FA581FFDE1C69C2E1358BD0B8DB30275334960_inline(L_40, ((int32_t)401), NULL);
// break;
goto IL_01a4;
}
IL_01a4:
{
// _causticMaterial.SetFloat(Size, settings.causticScale);
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_41 = __this->____causticMaterial_10;
il2cpp_codegen_runtime_class_init_inline(WaterSystemFeature_t89B0192FA750BC0CDBEEB20341FA467A2FE8D098_il2cpp_TypeInfo_var);
int32_t L_42 = ((WaterSystemFeature_t89B0192FA750BC0CDBEEB20341FA467A2FE8D098_StaticFields*)il2cpp_codegen_static_fields_for(WaterSystemFeature_t89B0192FA750BC0CDBEEB20341FA467A2FE8D098_il2cpp_TypeInfo_var))->___Size_13;
WaterSystemSettings_tE1A03BEC806E79F355763506E93C356C0497BE8C* L_43 = __this->___settings_7;
NullCheck(L_43);
float L_44 = L_43->___causticScale_0;
NullCheck(L_41);
Material_SetFloat_m3ECFD92072347A8620254F014865984FA68211A8(L_41, L_42, L_44, NULL);
// m_CausticsPass.WaterCausticMaterial = _causticMaterial;
WaterCausticsPass_t922AB7DEF9518C198D2DF81EB7504248DB015F28* L_45 = __this->___m_CausticsPass_6;
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_46 = __this->____causticMaterial_10;
NullCheck(L_45);
L_45->___WaterCausticMaterial_26 = L_46;
Il2CppCodeGenWriteBarrier((void**)(&L_45->___WaterCausticMaterial_26), (void*)L_46);
}
IL_01d1:
{
// }
return;
}
}
// System.Void WaterSystem.WaterSystemFeature::AddRenderPasses(UnityEngine.Rendering.Universal.ScriptableRenderer,UnityEngine.Rendering.Universal.RenderingData&)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void WaterSystemFeature_AddRenderPasses_m46D12540CBEE75670DF2AE21857788D42EFFAB9F (WaterSystemFeature_t89B0192FA750BC0CDBEEB20341FA467A2FE8D098* __this, ScriptableRenderer_tF15B95BB85F26BE4B4719901D909831B89DC8892* ___renderer0, RenderingData_tAAA01190551D6D5954314E3E1E85B58DD45EED71* ___renderingData1, const RuntimeMethod* method)
{
{
// renderer.EnqueuePass(m_WaterFxPass);
ScriptableRenderer_tF15B95BB85F26BE4B4719901D909831B89DC8892* L_0 = ___renderer0;
WaterFxPass_t7E07E3E2745F0FD3567D3CAB421FB44653884497* L_1 = __this->___m_WaterFxPass_5;
NullCheck(L_0);
ScriptableRenderer_EnqueuePass_m62AC5EFBA8DECFD514CAFC4EFDCFBF88C710954F(L_0, L_1, NULL);
// renderer.EnqueuePass(m_CausticsPass);
ScriptableRenderer_tF15B95BB85F26BE4B4719901D909831B89DC8892* L_2 = ___renderer0;
WaterCausticsPass_t922AB7DEF9518C198D2DF81EB7504248DB015F28* L_3 = __this->___m_CausticsPass_6;
NullCheck(L_2);
ScriptableRenderer_EnqueuePass_m62AC5EFBA8DECFD514CAFC4EFDCFBF88C710954F(L_2, L_3, NULL);
// }
return;
}
}
// UnityEngine.Mesh WaterSystem.WaterSystemFeature::GenerateCausticsMesh(System.Single)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* WaterSystemFeature_GenerateCausticsMesh_mD3D6E1A4DA232B9568330E8E5BACEDD6AB00CD1B (float ___size0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&U3CPrivateImplementationDetailsU3E_tDD48C6940DEABD944605758A54652DDAA1EBB209____752A6E22358C492163D1DE31BFAFB249C23A54C303CE495A18ABF04CF82E01B2_0_FieldInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* V_0 = NULL;
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* V_1 = NULL;
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* V_2 = NULL;
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* V_3 = NULL;
{
// var m = new Mesh();
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_0 = (Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4*)il2cpp_codegen_object_new(Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4_il2cpp_TypeInfo_var);
NullCheck(L_0);
Mesh__ctor_m5A9AECEDDAFFD84811ED8928012BDE97A9CEBD00(L_0, NULL);
V_0 = L_0;
// size *= 0.5f;
float L_1 = ___size0;
___size0 = ((float)il2cpp_codegen_multiply(L_1, (0.5f)));
// var verts = new[]
// {
// new Vector3(-size, 0f, -size),
// new Vector3(size, 0f, -size),
// new Vector3(-size, 0f, size),
// new Vector3(size, 0f, size)
// };
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_2 = (Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C*)(Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C*)SZArrayNew(Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C_il2cpp_TypeInfo_var, (uint32_t)4);
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_3 = L_2;
float L_4 = ___size0;
float L_5 = ___size0;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6;
memset((&L_6), 0, sizeof(L_6));
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_6), ((-L_4)), (0.0f), ((-L_5)), /*hidden argument*/NULL);
NullCheck(L_3);
(L_3)->SetAt(static_cast<il2cpp_array_size_t>(0), (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2)L_6);
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_7 = L_3;
float L_8 = ___size0;
float L_9 = ___size0;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_10;
memset((&L_10), 0, sizeof(L_10));
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_10), L_8, (0.0f), ((-L_9)), /*hidden argument*/NULL);
NullCheck(L_7);
(L_7)->SetAt(static_cast<il2cpp_array_size_t>(1), (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2)L_10);
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_11 = L_7;
float L_12 = ___size0;
float L_13 = ___size0;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_14;
memset((&L_14), 0, sizeof(L_14));
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_14), ((-L_12)), (0.0f), L_13, /*hidden argument*/NULL);
NullCheck(L_11);
(L_11)->SetAt(static_cast<il2cpp_array_size_t>(2), (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2)L_14);
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_15 = L_11;
float L_16 = ___size0;
float L_17 = ___size0;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_18;
memset((&L_18), 0, sizeof(L_18));
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_18), L_16, (0.0f), L_17, /*hidden argument*/NULL);
NullCheck(L_15);
(L_15)->SetAt(static_cast<il2cpp_array_size_t>(3), (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2)L_18);
V_1 = L_15;
// m.vertices = verts;
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_19 = V_0;
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_20 = V_1;
NullCheck(L_19);
Mesh_set_vertices_m5BB814D89E9ACA00DBF19F7D8E22CB73AC73FE5C(L_19, L_20, NULL);
// var tris = new[]
// {
// 0, 2, 1,
// 2, 3, 1
// };
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_21 = (Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C*)(Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C*)SZArrayNew(Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C_il2cpp_TypeInfo_var, (uint32_t)6);
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_22 = L_21;
RuntimeFieldHandle_t6E4C45B6D2EA12FC99185805A7E77527899B25C5 L_23 = { reinterpret_cast<intptr_t> (U3CPrivateImplementationDetailsU3E_tDD48C6940DEABD944605758A54652DDAA1EBB209____752A6E22358C492163D1DE31BFAFB249C23A54C303CE495A18ABF04CF82E01B2_0_FieldInfo_var) };
RuntimeHelpers_InitializeArray_mE10C3436BA703E4D9D41B3F8F365E4C34F9926EF((RuntimeArray*)L_22, L_23, NULL);
V_2 = L_22;
// m.triangles = tris;
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_24 = V_0;
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_25 = V_2;
NullCheck(L_24);
Mesh_set_triangles_m124405320579A8D92711BB5A124644963A26F60B(L_24, L_25, NULL);
// return m;
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_26 = V_0;
V_3 = L_26;
goto IL_008d;
}
IL_008d:
{
// }
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_27 = V_3;
return L_27;
}
}
// System.Void WaterSystem.WaterSystemFeature::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void WaterSystemFeature__ctor_mAD12A25BA10FC546DDD3729E5D6480E3C618D750 (WaterSystemFeature_t89B0192FA750BC0CDBEEB20341FA467A2FE8D098* __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&WaterSystemSettings_tE1A03BEC806E79F355763506E93C356C0497BE8C_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
{
// public WaterSystemSettings settings = new WaterSystemSettings();
WaterSystemSettings_tE1A03BEC806E79F355763506E93C356C0497BE8C* L_0 = (WaterSystemSettings_tE1A03BEC806E79F355763506E93C356C0497BE8C*)il2cpp_codegen_object_new(WaterSystemSettings_tE1A03BEC806E79F355763506E93C356C0497BE8C_il2cpp_TypeInfo_var);
NullCheck(L_0);
WaterSystemSettings__ctor_m3E7A518A4D9FC2969694DBE7246367CD23420AFA(L_0, NULL);
__this->___settings_7 = L_0;
Il2CppCodeGenWriteBarrier((void**)(&__this->___settings_7), (void*)L_0);
ScriptableRendererFeature__ctor_mA05EC9569A5DCF48CDD98E1FC5838857E2C4C001(__this, NULL);
return;
}
}
// System.Void WaterSystem.WaterSystemFeature::.cctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void WaterSystemFeature__cctor_m0B84B52863CEDD77BB1160D475CEE9430CB0E07B (const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&WaterSystemFeature_t89B0192FA750BC0CDBEEB20341FA467A2FE8D098_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral3708CDBCC9F390AB99D52FE7DEE4724401B69B9F);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral73B13DE9817379145386BC6ECC87E983FC8ED41A);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral9E697C3514FCD429A08318C830A7FBC7F581D117);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralA099400ED5DFE6C308BF23819BC8E5AB053ED464);
s_Il2CppMethodInitialized = true;
}
{
// private static readonly int SrcBlend = Shader.PropertyToID("_SrcBlend");
int32_t L_0;
L_0 = Shader_PropertyToID_mF5F7BA2EFF23D83482ECDE4C34227145D817B1EB(_stringLiteral3708CDBCC9F390AB99D52FE7DEE4724401B69B9F, NULL);
((WaterSystemFeature_t89B0192FA750BC0CDBEEB20341FA467A2FE8D098_StaticFields*)il2cpp_codegen_static_fields_for(WaterSystemFeature_t89B0192FA750BC0CDBEEB20341FA467A2FE8D098_il2cpp_TypeInfo_var))->___SrcBlend_11 = L_0;
// private static readonly int DstBlend = Shader.PropertyToID("_DstBlend");
int32_t L_1;
L_1 = Shader_PropertyToID_mF5F7BA2EFF23D83482ECDE4C34227145D817B1EB(_stringLiteral73B13DE9817379145386BC6ECC87E983FC8ED41A, NULL);
((WaterSystemFeature_t89B0192FA750BC0CDBEEB20341FA467A2FE8D098_StaticFields*)il2cpp_codegen_static_fields_for(WaterSystemFeature_t89B0192FA750BC0CDBEEB20341FA467A2FE8D098_il2cpp_TypeInfo_var))->___DstBlend_12 = L_1;
// private static readonly int Size = Shader.PropertyToID("_Size");
int32_t L_2;
L_2 = Shader_PropertyToID_mF5F7BA2EFF23D83482ECDE4C34227145D817B1EB(_stringLiteral9E697C3514FCD429A08318C830A7FBC7F581D117, NULL);
((WaterSystemFeature_t89B0192FA750BC0CDBEEB20341FA467A2FE8D098_StaticFields*)il2cpp_codegen_static_fields_for(WaterSystemFeature_t89B0192FA750BC0CDBEEB20341FA467A2FE8D098_il2cpp_TypeInfo_var))->___Size_13 = L_2;
// private static readonly int CausticTexture = Shader.PropertyToID("_CausticMap");
int32_t L_3;
L_3 = Shader_PropertyToID_mF5F7BA2EFF23D83482ECDE4C34227145D817B1EB(_stringLiteralA099400ED5DFE6C308BF23819BC8E5AB053ED464, NULL);
((WaterSystemFeature_t89B0192FA750BC0CDBEEB20341FA467A2FE8D098_StaticFields*)il2cpp_codegen_static_fields_for(WaterSystemFeature_t89B0192FA750BC0CDBEEB20341FA467A2FE8D098_il2cpp_TypeInfo_var))->___CausticTexture_14 = L_3;
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void WaterSystem.WaterSystemFeature/WaterFxPass::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void WaterFxPass__ctor_m349AF03E885E7980F3B593296186BB266264081F (WaterFxPass_t7E07E3E2745F0FD3567D3CAB421FB44653884497* __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Nullable_1__ctor_mC09CE20B08C6A7188EE04F52B6A2E598657A0204_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ProfilingSampler_t420D4672EDB44E0EF980B31ADFD9E5747200FECE_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&RenderQueueRange_t7518252AA6426B1EA45D3D9B394F304EEF784D71_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&RenderTargetHandle_tB5C2670041BF377223D41FDF9290F6D8BFB7BA66_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral715C6B33EDAAFB39135E32AC25200AC0173D0ED1);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral7B71FC74341BD9A2F1AE6D799F4587A18CB72F8E);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral9C592EC328A151ADE03ABFD039EF3B52522192E4);
s_Il2CppMethodInitialized = true;
}
{
// private ProfilingSampler m_WaterFX_Profile = new ProfilingSampler(k_RenderWaterFXTag);
ProfilingSampler_t420D4672EDB44E0EF980B31ADFD9E5747200FECE* L_0 = (ProfilingSampler_t420D4672EDB44E0EF980B31ADFD9E5747200FECE*)il2cpp_codegen_object_new(ProfilingSampler_t420D4672EDB44E0EF980B31ADFD9E5747200FECE_il2cpp_TypeInfo_var);
NullCheck(L_0);
ProfilingSampler__ctor_m26500989FCDB07FA33C9A3BB7F215CBD892F5BB7(L_0, _stringLiteral7B71FC74341BD9A2F1AE6D799F4587A18CB72F8E, NULL);
__this->___m_WaterFX_Profile_25 = L_0;
Il2CppCodeGenWriteBarrier((void**)(&__this->___m_WaterFX_Profile_25), (void*)L_0);
// private readonly ShaderTagId m_WaterFXShaderTag = new ShaderTagId("WaterFX");
ShaderTagId_t453E2085B5EE9448FF75E550CAB111EFF690ECB0 L_1;
memset((&L_1), 0, sizeof(L_1));
ShaderTagId__ctor_m4191968F1D2CE19F9092253EC10F83734A9CFF5B((&L_1), _stringLiteral9C592EC328A151ADE03ABFD039EF3B52522192E4, /*hidden argument*/NULL);
__this->___m_WaterFXShaderTag_26 = L_1;
// private readonly Color m_ClearColor = new Color(0.0f, 0.5f, 0.5f, 0.5f); //r = foam mask, g = normal.x, b = normal.z, a = displacement
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_2;
memset((&L_2), 0, sizeof(L_2));
Color__ctor_m3786F0D6E510D9CFA544523A955870BD2A514C8C_inline((&L_2), (0.0f), (0.5f), (0.5f), (0.5f), /*hidden argument*/NULL);
__this->___m_ClearColor_27 = L_2;
// private RenderTargetHandle m_WaterFX = RenderTargetHandle.CameraTarget;
il2cpp_codegen_runtime_class_init_inline(RenderTargetHandle_tB5C2670041BF377223D41FDF9290F6D8BFB7BA66_il2cpp_TypeInfo_var);
RenderTargetHandle_tB5C2670041BF377223D41FDF9290F6D8BFB7BA66 L_3 = ((RenderTargetHandle_tB5C2670041BF377223D41FDF9290F6D8BFB7BA66_StaticFields*)il2cpp_codegen_static_fields_for(RenderTargetHandle_tB5C2670041BF377223D41FDF9290F6D8BFB7BA66_il2cpp_TypeInfo_var))->___CameraTarget_2;
__this->___m_WaterFX_29 = L_3;
// public WaterFxPass()
ScriptableRenderPass__ctor_mE49D4FF8E68A854367A4081E664B8DBA74E6B752(__this, NULL);
// m_WaterFX.Init("_WaterFXMap");
RenderTargetHandle_tB5C2670041BF377223D41FDF9290F6D8BFB7BA66* L_4 = (&__this->___m_WaterFX_29);
RenderTargetHandle_Init_mDF9383A0DB5E0B56577BA43CC56CD659F8970646(L_4, _stringLiteral715C6B33EDAAFB39135E32AC25200AC0173D0ED1, NULL);
// m_FilteringSettings = new FilteringSettings(RenderQueueRange.transparent);
il2cpp_codegen_runtime_class_init_inline(RenderQueueRange_t7518252AA6426B1EA45D3D9B394F304EEF784D71_il2cpp_TypeInfo_var);
RenderQueueRange_t7518252AA6426B1EA45D3D9B394F304EEF784D71 L_5;
L_5 = RenderQueueRange_get_transparent_mADF189E6DE85A3445B30B23E5E395D960D6F0BF3(NULL);
Nullable_1_t7D98773CC20A842A0846271D1181ECBB0D95926C L_6;
memset((&L_6), 0, sizeof(L_6));
Nullable_1__ctor_mC09CE20B08C6A7188EE04F52B6A2E598657A0204((&L_6), L_5, /*hidden argument*/Nullable_1__ctor_mC09CE20B08C6A7188EE04F52B6A2E598657A0204_RuntimeMethod_var);
FilteringSettings_t75860B12A7BCF9A0E2F13CB2C2E5DCD9E1EEAD9F L_7;
memset((&L_7), 0, sizeof(L_7));
FilteringSettings__ctor_m2A2242373FC7D053CFBBC6814D02AAC73C7B3AE7((&L_7), L_6, (-1), (-1), 0, /*hidden argument*/NULL);
__this->___m_FilteringSettings_28 = L_7;
// }
return;
}
}
// System.Void WaterSystem.WaterSystemFeature/WaterFxPass::Configure(UnityEngine.Rendering.CommandBuffer,UnityEngine.RenderTextureDescriptor)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void WaterFxPass_Configure_m6985F9ABCFFEB7FAF6E8DB5AB8B46C92066A20C3 (WaterFxPass_t7E07E3E2745F0FD3567D3CAB421FB44653884497* __this, CommandBuffer_tB56007DC84EF56296C325EC32DD12AC1E3DC91F7* ___cmd0, RenderTextureDescriptor_t69845881CE6437E4E61F92074F2F84079F23FA46 ___cameraTextureDescriptor1, const RuntimeMethod* method)
{
{
// cameraTextureDescriptor.depthBufferBits = 0;
RenderTextureDescriptor_set_depthBufferBits_mA3710C0D6E485BA6465B328CD8B1954F0E4C5819((&___cameraTextureDescriptor1), 0, NULL);
// cameraTextureDescriptor.width /= 2;
RenderTextureDescriptor_t69845881CE6437E4E61F92074F2F84079F23FA46* L_0 = (&___cameraTextureDescriptor1);
int32_t L_1;
L_1 = RenderTextureDescriptor_get_width_mB159E4EB08B23B19CCCFADB465864361FB840BFF_inline(L_0, NULL);
RenderTextureDescriptor_set_width_m3B2494007BFE3AD4D14403407C9B24F5045E7E10_inline(L_0, ((int32_t)(L_1/2)), NULL);
// cameraTextureDescriptor.height /= 2;
RenderTextureDescriptor_t69845881CE6437E4E61F92074F2F84079F23FA46* L_2 = (&___cameraTextureDescriptor1);
int32_t L_3;
L_3 = RenderTextureDescriptor_get_height_m1006F9AA45029715C552C8A8C2F102F63D3A91EC_inline(L_2, NULL);
RenderTextureDescriptor_set_height_m1FE41111472DAA9B5E80FFAF3445004D72A3CFA5_inline(L_2, ((int32_t)(L_3/2)), NULL);
// cameraTextureDescriptor.colorFormat = RenderTextureFormat.Default;
RenderTextureDescriptor_set_colorFormat_m61B0FA4FCDE8A0F8A843DD6BF74097C21021C4FE((&___cameraTextureDescriptor1), 7, NULL);
// cmd.GetTemporaryRT(m_WaterFX.id, cameraTextureDescriptor, FilterMode.Bilinear);
CommandBuffer_tB56007DC84EF56296C325EC32DD12AC1E3DC91F7* L_4 = ___cmd0;
RenderTargetHandle_tB5C2670041BF377223D41FDF9290F6D8BFB7BA66* L_5 = (&__this->___m_WaterFX_29);
int32_t L_6;
L_6 = RenderTargetHandle_get_id_m4D50FDA4A486E05D07A54ABFC04BD96C1CE7D7BE_inline(L_5, NULL);
RenderTextureDescriptor_t69845881CE6437E4E61F92074F2F84079F23FA46 L_7 = ___cameraTextureDescriptor1;
NullCheck(L_4);
CommandBuffer_GetTemporaryRT_m98BCBFF670DDD3AC8657664F8252A9DF64D49FA5(L_4, L_6, L_7, 1, NULL);
// ConfigureTarget(m_WaterFX.Identifier());
RenderTargetHandle_tB5C2670041BF377223D41FDF9290F6D8BFB7BA66* L_8 = (&__this->___m_WaterFX_29);
RenderTargetIdentifier_tA528663AC6EB3911D8E91AA40F7070FA5455442B L_9;
L_9 = RenderTargetHandle_Identifier_mE7715B58419BC3E157BDCC906E92605F76BD4FBA(L_8, NULL);
ScriptableRenderPass_ConfigureTarget_m6D5152700A43B1468E44A56F074285FE556BFB10(__this, L_9, NULL);
// ConfigureClear(ClearFlag.Color, m_ClearColor);
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_10 = __this->___m_ClearColor_27;
ScriptableRenderPass_ConfigureClear_m5C82128C3ABDD63621501DC012ED91F392ABF123(__this, 1, L_10, NULL);
// }
return;
}
}
// System.Void WaterSystem.WaterSystemFeature/WaterFxPass::Execute(UnityEngine.Rendering.ScriptableRenderContext,UnityEngine.Rendering.Universal.RenderingData&)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void WaterFxPass_Execute_mB28F246335ED6F7C19D9D3EAEB66CCA39018C969 (WaterFxPass_t7E07E3E2745F0FD3567D3CAB421FB44653884497* __this, ScriptableRenderContext_t5AB09B3602BEB456E0DC3D53926D3A3BDAF08E36 ___context0, RenderingData_tAAA01190551D6D5954314E3E1E85B58DD45EED71* ___renderingData1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&CommandBufferPool_t88CACA06AB445EE4743F5C4D742C73761A2DEF0F_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
CommandBuffer_tB56007DC84EF56296C325EC32DD12AC1E3DC91F7* V_0 = NULL;
ProfilingScope_t57898BA31E8EF8F083EF84E0DA2737AC61CBC5BD V_1;
memset((&V_1), 0, sizeof(V_1));
DrawingSettings_t3B64EB029DB6F94A1F2A9B2D19D2969AE361BB49 V_2;
memset((&V_2), 0, sizeof(V_2));
{
// CommandBuffer cmd = CommandBufferPool.Get();
il2cpp_codegen_runtime_class_init_inline(CommandBufferPool_t88CACA06AB445EE4743F5C4D742C73761A2DEF0F_il2cpp_TypeInfo_var);
CommandBuffer_tB56007DC84EF56296C325EC32DD12AC1E3DC91F7* L_0;
L_0 = CommandBufferPool_Get_m54EBE601AF00C8A5EDCAA503E65380F464BD1355(NULL);
V_0 = L_0;
// using (new ProfilingScope(cmd, m_WaterFX_Profile)) // makes sure we have profiling ability
CommandBuffer_tB56007DC84EF56296C325EC32DD12AC1E3DC91F7* L_1 = V_0;
ProfilingSampler_t420D4672EDB44E0EF980B31ADFD9E5747200FECE* L_2 = __this->___m_WaterFX_Profile_25;
ProfilingScope__ctor_mE15813DF7651C1A3B6AFD6465AD4B973E8F1DBFC((&V_1), L_1, L_2, NULL);
}
{
auto __finallyBlock = il2cpp::utils::Finally([&]
{
FINALLY_004f:
{// begin finally (depth: 1)
ProfilingScope_Dispose_m4231A2ACA1F8E345BB0078310A9F7601704C8BE4((&V_1), NULL);
return;
}// end finally (depth: 1)
});
try
{// begin try (depth: 1)
// context.ExecuteCommandBuffer(cmd);
CommandBuffer_tB56007DC84EF56296C325EC32DD12AC1E3DC91F7* L_3 = V_0;
ScriptableRenderContext_ExecuteCommandBuffer_mBAE37DFC699B7167A6E2C59012066C44A31E9896((&___context0), L_3, NULL);
// cmd.Clear();
CommandBuffer_tB56007DC84EF56296C325EC32DD12AC1E3DC91F7* L_4 = V_0;
NullCheck(L_4);
CommandBuffer_Clear_m4E1272BD1A0C162C9C26434E115279F42FA557C7(L_4, NULL);
// var drawSettings = CreateDrawingSettings(m_WaterFXShaderTag, ref renderingData,
// SortingCriteria.CommonTransparent);
ShaderTagId_t453E2085B5EE9448FF75E550CAB111EFF690ECB0 L_5 = __this->___m_WaterFXShaderTag_26;
RenderingData_tAAA01190551D6D5954314E3E1E85B58DD45EED71* L_6 = ___renderingData1;
DrawingSettings_t3B64EB029DB6F94A1F2A9B2D19D2969AE361BB49 L_7;
L_7 = ScriptableRenderPass_CreateDrawingSettings_mFB778BFA5DBC3B55AF8085487EE029C2DBA8A928(__this, L_5, L_6, ((int32_t)23), NULL);
V_2 = L_7;
// context.DrawRenderers(renderingData.cullResults, ref drawSettings, ref m_FilteringSettings);
RenderingData_tAAA01190551D6D5954314E3E1E85B58DD45EED71* L_8 = ___renderingData1;
CullingResults_tD6B7EF20B68D47DFF3A99EB2EA73F47F1D460267 L_9 = L_8->___cullResults_0;
FilteringSettings_t75860B12A7BCF9A0E2F13CB2C2E5DCD9E1EEAD9F* L_10 = (&__this->___m_FilteringSettings_28);
ScriptableRenderContext_DrawRenderers_m2128F24FEE37089B325EC8C76E24DBD12985A060((&___context0), L_9, (&V_2), L_10, NULL);
goto IL_005e;
}// end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__finallyBlock.StoreException(e.ex);
}
}
IL_005e:
{
// context.ExecuteCommandBuffer(cmd);
CommandBuffer_tB56007DC84EF56296C325EC32DD12AC1E3DC91F7* L_11 = V_0;
ScriptableRenderContext_ExecuteCommandBuffer_mBAE37DFC699B7167A6E2C59012066C44A31E9896((&___context0), L_11, NULL);
// CommandBufferPool.Release(cmd);
CommandBuffer_tB56007DC84EF56296C325EC32DD12AC1E3DC91F7* L_12 = V_0;
il2cpp_codegen_runtime_class_init_inline(CommandBufferPool_t88CACA06AB445EE4743F5C4D742C73761A2DEF0F_il2cpp_TypeInfo_var);
CommandBufferPool_Release_mEC46D8373A95DEC68F1FBD2D77FF3F76917631BF(L_12, NULL);
// }
return;
}
}
// System.Void WaterSystem.WaterSystemFeature/WaterFxPass::OnCameraCleanup(UnityEngine.Rendering.CommandBuffer)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void WaterFxPass_OnCameraCleanup_m3D8B2A2608A17F83032E028BDA221E92195452CF (WaterFxPass_t7E07E3E2745F0FD3567D3CAB421FB44653884497* __this, CommandBuffer_tB56007DC84EF56296C325EC32DD12AC1E3DC91F7* ___cmd0, const RuntimeMethod* method)
{
{
// cmd.ReleaseTemporaryRT(m_WaterFX.id);
CommandBuffer_tB56007DC84EF56296C325EC32DD12AC1E3DC91F7* L_0 = ___cmd0;
RenderTargetHandle_tB5C2670041BF377223D41FDF9290F6D8BFB7BA66* L_1 = (&__this->___m_WaterFX_29);
int32_t L_2;
L_2 = RenderTargetHandle_get_id_m4D50FDA4A486E05D07A54ABFC04BD96C1CE7D7BE_inline(L_1, NULL);
NullCheck(L_0);
CommandBuffer_ReleaseTemporaryRT_m4651A4B373DF432AA44F06A6F20852ED5996CC8E(L_0, L_2, NULL);
// }
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void WaterSystem.WaterSystemFeature/WaterCausticsPass::Execute(UnityEngine.Rendering.ScriptableRenderContext,UnityEngine.Rendering.Universal.RenderingData&)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void WaterCausticsPass_Execute_mD6D207429B44A904D28F4DF3D0EB9A800BE4C7FC (WaterCausticsPass_t922AB7DEF9518C198D2DF81EB7504248DB015F28* __this, ScriptableRenderContext_t5AB09B3602BEB456E0DC3D53926D3A3BDAF08E36 ___context0, RenderingData_tAAA01190551D6D5954314E3E1E85B58DD45EED71* ___renderingData1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&CommandBufferPool_t88CACA06AB445EE4743F5C4D742C73761A2DEF0F_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&WaterCausticsPass_t922AB7DEF9518C198D2DF81EB7504248DB015F28_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&WaterSystemFeature_t89B0192FA750BC0CDBEEB20341FA467A2FE8D098_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral1DDD81E05AA35C1FF5105CF63DE211E74D5A86ED);
s_Il2CppMethodInitialized = true;
}
Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184* V_0 = NULL;
CommandBuffer_tB56007DC84EF56296C325EC32DD12AC1E3DC91F7* V_1 = NULL;
bool V_2 = false;
ProfilingScope_t57898BA31E8EF8F083EF84E0DA2737AC61CBC5BD V_3;
memset((&V_3), 0, sizeof(V_3));
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 V_4;
memset((&V_4), 0, sizeof(V_4));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_5;
memset((&V_5), 0, sizeof(V_5));
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 V_6;
memset((&V_6), 0, sizeof(V_6));
bool V_7 = false;
int32_t G_B3_0 = 0;
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 G_B9_0;
memset((&G_B9_0), 0, sizeof(G_B9_0));
{
// var cam = renderingData.cameraData.camera;
RenderingData_tAAA01190551D6D5954314E3E1E85B58DD45EED71* L_0 = ___renderingData1;
CameraData_tC27AE109CD20677486A4AC19C0CF014AE0F50C3E* L_1 = (&L_0->___cameraData_1);
Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184* L_2 = L_1->___camera_2;
V_0 = L_2;
// if (cam.cameraType == CameraType.Preview || !WaterCausticMaterial)
Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184* L_3 = V_0;
NullCheck(L_3);
int32_t L_4;
L_4 = Camera_get_cameraType_m85434C4C986D2EAC04FBFA44B284840AFC497851(L_3, NULL);
if ((((int32_t)L_4) == ((int32_t)4)))
{
goto IL_0026;
}
}
{
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_5 = __this->___WaterCausticMaterial_26;
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
bool L_6;
L_6 = Object_op_Implicit_m18E1885C296CC868AC918101523697CFE6413C79(L_5, NULL);
G_B3_0 = ((((int32_t)L_6) == ((int32_t)0))? 1 : 0);
goto IL_0027;
}
IL_0026:
{
G_B3_0 = 1;
}
IL_0027:
{
V_2 = (bool)G_B3_0;
bool L_7 = V_2;
if (!L_7)
{
goto IL_0030;
}
}
{
// return;
goto IL_0121;
}
IL_0030:
{
// CommandBuffer cmd = CommandBufferPool.Get();
il2cpp_codegen_runtime_class_init_inline(CommandBufferPool_t88CACA06AB445EE4743F5C4D742C73761A2DEF0F_il2cpp_TypeInfo_var);
CommandBuffer_tB56007DC84EF56296C325EC32DD12AC1E3DC91F7* L_8;
L_8 = CommandBufferPool_Get_m54EBE601AF00C8A5EDCAA503E65380F464BD1355(NULL);
V_1 = L_8;
// using (new ProfilingScope(cmd, m_WaterCaustics_Profile))
CommandBuffer_tB56007DC84EF56296C325EC32DD12AC1E3DC91F7* L_9 = V_1;
ProfilingSampler_t420D4672EDB44E0EF980B31ADFD9E5747200FECE* L_10 = __this->___m_WaterCaustics_Profile_25;
ProfilingScope__ctor_mE15813DF7651C1A3B6AFD6465AD4B973E8F1DBFC((&V_3), L_9, L_10, NULL);
}
{
auto __finallyBlock = il2cpp::utils::Finally([&]
{
FINALLY_0102:
{// begin finally (depth: 1)
ProfilingScope_Dispose_m4231A2ACA1F8E345BB0078310A9F7601704C8BE4((&V_3), NULL);
return;
}// end finally (depth: 1)
});
try
{// begin try (depth: 1)
{
// var sunMatrix = RenderSettings.sun != null
// ? RenderSettings.sun.transform.localToWorldMatrix
// : Matrix4x4.TRS(Vector3.zero, Quaternion.Euler(-45f, 45f, 0f), Vector3.one);
Light_t1E68479B7782AF2050FAA02A5DC612FD034F18F3* L_11;
L_11 = RenderSettings_get_sun_m637087C297D6D8854BCBF775A80E0B51BB7B2986(NULL);
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
bool L_12;
L_12 = Object_op_Inequality_m4D656395C27694A7F33F5AA8DE80A7AAF9E20BA7(L_11, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
if (L_12)
{
goto IL_0077_1;
}
}
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_13;
L_13 = Vector3_get_zero_m9D7F7B580B5A276411267E96AA3425736D9BDC83_inline(NULL);
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_14;
L_14 = Quaternion_Euler_mD4601D966F1F58F3FCA01B3FC19A12D0AD0396DD_inline((-45.0f), (45.0f), (0.0f), NULL);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_15;
L_15 = Vector3_get_one_mE6A2D5C6578E94268024613B596BF09F990B1260_inline(NULL);
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 L_16;
L_16 = Matrix4x4_TRS_mFEBA6926DB0044B96EF0CE98F30FEE7596820680(L_13, L_14, L_15, NULL);
G_B9_0 = L_16;
goto IL_0086_1;
}
IL_0077_1:
{
Light_t1E68479B7782AF2050FAA02A5DC612FD034F18F3* L_17;
L_17 = RenderSettings_get_sun_m637087C297D6D8854BCBF775A80E0B51BB7B2986(NULL);
NullCheck(L_17);
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_18;
L_18 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(L_17, NULL);
NullCheck(L_18);
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 L_19;
L_19 = Transform_get_localToWorldMatrix_m5D35188766856338DD21DE756F42277C21719E6D(L_18, NULL);
G_B9_0 = L_19;
}
IL_0086_1:
{
V_4 = G_B9_0;
// WaterCausticMaterial.SetMatrix("_MainLightDir", sunMatrix);
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_20 = __this->___WaterCausticMaterial_26;
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 L_21 = V_4;
NullCheck(L_20);
Material_SetMatrix_m1F4E20583C898A1C1DBA256868E1F98C539F13FB(L_20, _stringLiteral1DDD81E05AA35C1FF5105CF63DE211E74D5A86ED, L_21, NULL);
// if (!m_mesh)
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_22 = ((WaterCausticsPass_t922AB7DEF9518C198D2DF81EB7504248DB015F28_StaticFields*)il2cpp_codegen_static_fields_for(WaterCausticsPass_t922AB7DEF9518C198D2DF81EB7504248DB015F28_il2cpp_TypeInfo_var))->___m_mesh_27;
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
bool L_23;
L_23 = Object_op_Implicit_m18E1885C296CC868AC918101523697CFE6413C79(L_22, NULL);
V_7 = (bool)((((int32_t)L_23) == ((int32_t)0))? 1 : 0);
bool L_24 = V_7;
if (!L_24)
{
goto IL_00bd_1;
}
}
{
// m_mesh = GenerateCausticsMesh(1000f);
il2cpp_codegen_runtime_class_init_inline(WaterSystemFeature_t89B0192FA750BC0CDBEEB20341FA467A2FE8D098_il2cpp_TypeInfo_var);
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_25;
L_25 = WaterSystemFeature_GenerateCausticsMesh_mD3D6E1A4DA232B9568330E8E5BACEDD6AB00CD1B((1000.0f), NULL);
((WaterCausticsPass_t922AB7DEF9518C198D2DF81EB7504248DB015F28_StaticFields*)il2cpp_codegen_static_fields_for(WaterCausticsPass_t922AB7DEF9518C198D2DF81EB7504248DB015F28_il2cpp_TypeInfo_var))->___m_mesh_27 = L_25;
Il2CppCodeGenWriteBarrier((void**)(&((WaterCausticsPass_t922AB7DEF9518C198D2DF81EB7504248DB015F28_StaticFields*)il2cpp_codegen_static_fields_for(WaterCausticsPass_t922AB7DEF9518C198D2DF81EB7504248DB015F28_il2cpp_TypeInfo_var))->___m_mesh_27), (void*)L_25);
}
IL_00bd_1:
{
// var position = cam.transform.position;
Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184* L_26 = V_0;
NullCheck(L_26);
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_27;
L_27 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(L_26, NULL);
NullCheck(L_27);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_28;
L_28 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_27, NULL);
V_5 = L_28;
// position.y = 0; // TODO should read a global 'water height' variable.
(&V_5)->___y_3 = (0.0f);
// var matrix = Matrix4x4.TRS(position, Quaternion.identity, Vector3.one);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_29 = V_5;
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_30;
L_30 = Quaternion_get_identity_mB9CAEEB21BC81352CBF32DB9664BFC06FA7EA27B_inline(NULL);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_31;
L_31 = Vector3_get_one_mE6A2D5C6578E94268024613B596BF09F990B1260_inline(NULL);
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 L_32;
L_32 = Matrix4x4_TRS_mFEBA6926DB0044B96EF0CE98F30FEE7596820680(L_29, L_30, L_31, NULL);
V_6 = L_32;
// cmd.DrawMesh(m_mesh, matrix, WaterCausticMaterial, 0, 0);
CommandBuffer_tB56007DC84EF56296C325EC32DD12AC1E3DC91F7* L_33 = V_1;
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_34 = ((WaterCausticsPass_t922AB7DEF9518C198D2DF81EB7504248DB015F28_StaticFields*)il2cpp_codegen_static_fields_for(WaterCausticsPass_t922AB7DEF9518C198D2DF81EB7504248DB015F28_il2cpp_TypeInfo_var))->___m_mesh_27;
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 L_35 = V_6;
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_36 = __this->___WaterCausticMaterial_26;
NullCheck(L_33);
CommandBuffer_DrawMesh_m2CDCAC3E41416226D38770259BB2C56CB37D5EEF(L_33, L_34, L_35, L_36, 0, 0, NULL);
goto IL_0111;
}
}// end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__finallyBlock.StoreException(e.ex);
}
}
IL_0111:
{
// context.ExecuteCommandBuffer(cmd);
CommandBuffer_tB56007DC84EF56296C325EC32DD12AC1E3DC91F7* L_37 = V_1;
ScriptableRenderContext_ExecuteCommandBuffer_mBAE37DFC699B7167A6E2C59012066C44A31E9896((&___context0), L_37, NULL);
// CommandBufferPool.Release(cmd);
CommandBuffer_tB56007DC84EF56296C325EC32DD12AC1E3DC91F7* L_38 = V_1;
il2cpp_codegen_runtime_class_init_inline(CommandBufferPool_t88CACA06AB445EE4743F5C4D742C73761A2DEF0F_il2cpp_TypeInfo_var);
CommandBufferPool_Release_mEC46D8373A95DEC68F1FBD2D77FF3F76917631BF(L_38, NULL);
}
IL_0121:
{
// }
return;
}
}
// System.Void WaterSystem.WaterSystemFeature/WaterCausticsPass::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void WaterCausticsPass__ctor_mAE75DFD47D6C201FD42C9E317A23D9603F1B9BA8 (WaterCausticsPass_t922AB7DEF9518C198D2DF81EB7504248DB015F28* __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ProfilingSampler_t420D4672EDB44E0EF980B31ADFD9E5747200FECE_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral3785886B356696D5170BDD66E03EEFE7F1962357);
s_Il2CppMethodInitialized = true;
}
{
// private ProfilingSampler m_WaterCaustics_Profile = new ProfilingSampler(k_RenderWaterCausticsTag);
ProfilingSampler_t420D4672EDB44E0EF980B31ADFD9E5747200FECE* L_0 = (ProfilingSampler_t420D4672EDB44E0EF980B31ADFD9E5747200FECE*)il2cpp_codegen_object_new(ProfilingSampler_t420D4672EDB44E0EF980B31ADFD9E5747200FECE_il2cpp_TypeInfo_var);
NullCheck(L_0);
ProfilingSampler__ctor_m26500989FCDB07FA33C9A3BB7F215CBD892F5BB7(L_0, _stringLiteral3785886B356696D5170BDD66E03EEFE7F1962357, NULL);
__this->___m_WaterCaustics_Profile_25 = L_0;
Il2CppCodeGenWriteBarrier((void**)(&__this->___m_WaterCaustics_Profile_25), (void*)L_0);
ScriptableRenderPass__ctor_mE49D4FF8E68A854367A4081E664B8DBA74E6B752(__this, NULL);
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void WaterSystem.WaterSystemFeature/WaterSystemSettings::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void WaterSystemSettings__ctor_m3E7A518A4D9FC2969694DBE7246367CD23420AFA (WaterSystemSettings_tE1A03BEC806E79F355763506E93C356C0497BE8C* __this, const RuntimeMethod* method)
{
{
// public float causticScale = 0.25f;
__this->___causticScale_0 = (0.25f);
// public float causticBlendDistance = 3f;
__this->___causticBlendDistance_1 = (3.0f);
// [Header("Advanced Settings")] public DebugMode debug = DebugMode.Disabled;
__this->___debug_2 = 0;
Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2(__this, NULL);
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// WaterSystem.Water WaterSystem.Water::get_Instance()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Water_t8D0105147A62029CB3B0497FE968F18E33C3D319* Water_get_Instance_m2DF3BB630189C690C2FB235596FE106B67C861C9 (const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Type_t_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Water_t8D0105147A62029CB3B0497FE968F18E33C3D319_0_0_0_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Water_t8D0105147A62029CB3B0497FE968F18E33C3D319_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
bool V_0 = false;
Water_t8D0105147A62029CB3B0497FE968F18E33C3D319* V_1 = NULL;
{
// if (_instance == null)
il2cpp_codegen_runtime_class_init_inline(Water_t8D0105147A62029CB3B0497FE968F18E33C3D319_il2cpp_TypeInfo_var);
Water_t8D0105147A62029CB3B0497FE968F18E33C3D319* L_0 = ((Water_t8D0105147A62029CB3B0497FE968F18E33C3D319_StaticFields*)il2cpp_codegen_static_fields_for(Water_t8D0105147A62029CB3B0497FE968F18E33C3D319_il2cpp_TypeInfo_var))->____instance_4;
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
bool L_1;
L_1 = Object_op_Equality_mD3DB0D72CE0250C84033DC2A90AEF9D59896E536(L_0, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
V_0 = L_1;
bool L_2 = V_0;
if (!L_2)
{
goto IL_0029;
}
}
{
// _instance = (Water)FindObjectOfType(typeof(Water));
RuntimeTypeHandle_t332A452B8B6179E4469B69525D0FE82A88030F7B L_3 = { reinterpret_cast<intptr_t> (Water_t8D0105147A62029CB3B0497FE968F18E33C3D319_0_0_0_var) };
il2cpp_codegen_runtime_class_init_inline(Type_t_il2cpp_TypeInfo_var);
Type_t* L_4;
L_4 = Type_GetTypeFromHandle_m2570A2A5B32A5E9D9F0F38B37459DA18736C823E(L_3, NULL);
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C* L_5;
L_5 = Object_FindObjectOfType_mF9A94A2059CE512E485297DDBBA51C02B451E41F(L_4, NULL);
il2cpp_codegen_runtime_class_init_inline(Water_t8D0105147A62029CB3B0497FE968F18E33C3D319_il2cpp_TypeInfo_var);
((Water_t8D0105147A62029CB3B0497FE968F18E33C3D319_StaticFields*)il2cpp_codegen_static_fields_for(Water_t8D0105147A62029CB3B0497FE968F18E33C3D319_il2cpp_TypeInfo_var))->____instance_4 = ((Water_t8D0105147A62029CB3B0497FE968F18E33C3D319*)CastclassClass((RuntimeObject*)L_5, Water_t8D0105147A62029CB3B0497FE968F18E33C3D319_il2cpp_TypeInfo_var));
Il2CppCodeGenWriteBarrier((void**)(&((Water_t8D0105147A62029CB3B0497FE968F18E33C3D319_StaticFields*)il2cpp_codegen_static_fields_for(Water_t8D0105147A62029CB3B0497FE968F18E33C3D319_il2cpp_TypeInfo_var))->____instance_4), (void*)((Water_t8D0105147A62029CB3B0497FE968F18E33C3D319*)CastclassClass((RuntimeObject*)L_5, Water_t8D0105147A62029CB3B0497FE968F18E33C3D319_il2cpp_TypeInfo_var)));
}
IL_0029:
{
// return _instance;
il2cpp_codegen_runtime_class_init_inline(Water_t8D0105147A62029CB3B0497FE968F18E33C3D319_il2cpp_TypeInfo_var);
Water_t8D0105147A62029CB3B0497FE968F18E33C3D319* L_6 = ((Water_t8D0105147A62029CB3B0497FE968F18E33C3D319_StaticFields*)il2cpp_codegen_static_fields_for(Water_t8D0105147A62029CB3B0497FE968F18E33C3D319_il2cpp_TypeInfo_var))->____instance_4;
V_1 = L_6;
goto IL_0031;
}
IL_0031:
{
// }
Water_t8D0105147A62029CB3B0497FE968F18E33C3D319* L_7 = V_1;
return L_7;
}
}
// System.Void WaterSystem.Water::OnEnable()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Water_OnEnable_m041A44AF3AF9765B3FE2F7AB125AB3CF206D1D46 (Water_t8D0105147A62029CB3B0497FE968F18E33C3D319* __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Action_2_t8E07914D7090FF200FE84404EEEFAF3CE183C9F3_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&RenderPipelineManager_t44E0175AAADDD5487593AEF2B009B1B154957CDB_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&WaterResources_t314516FE58A01D31093FF9936D7DA8F2D455EAAE_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Water_BeginCameraRendering_m07A3B99794153EB85D931A9635CD790ADF1B3A4A_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral66FDFEA4D8B9940AD91C0D0178D477D056CBE78B);
s_Il2CppMethodInitialized = true;
}
bool V_0 = false;
bool V_1 = false;
Water_t8D0105147A62029CB3B0497FE968F18E33C3D319* G_B4_0 = NULL;
Water_t8D0105147A62029CB3B0497FE968F18E33C3D319* G_B2_0 = NULL;
Water_t8D0105147A62029CB3B0497FE968F18E33C3D319* G_B3_0 = NULL;
int32_t G_B5_0 = 0;
Water_t8D0105147A62029CB3B0497FE968F18E33C3D319* G_B5_1 = NULL;
{
// if (!computeOverride)
bool L_0 = __this->___computeOverride_7;
V_0 = (bool)((((int32_t)L_0) == ((int32_t)0))? 1 : 0);
bool L_1 = V_0;
if (!L_1)
{
goto IL_0035;
}
}
{
// _useComputeBuffer = SystemInfo.supportsComputeShaders &&
// Application.platform != RuntimePlatform.WebGLPlayer &&
// Application.platform != RuntimePlatform.Android;
bool L_2;
L_2 = SystemInfo_get_supportsComputeShaders_m66B7AF4AEC69D4819C794DDF8D2D800DAB946F3C(NULL);
G_B2_0 = __this;
if (!L_2)
{
G_B4_0 = __this;
goto IL_002d;
}
}
{
int32_t L_3;
L_3 = Application_get_platform_m1AB34E71D9885B120F6021EB2B11DCB28CD6008D(NULL);
G_B3_0 = G_B2_0;
if ((((int32_t)L_3) == ((int32_t)((int32_t)17))))
{
G_B4_0 = G_B2_0;
goto IL_002d;
}
}
{
int32_t L_4;
L_4 = Application_get_platform_m1AB34E71D9885B120F6021EB2B11DCB28CD6008D(NULL);
G_B5_0 = ((((int32_t)((((int32_t)L_4) == ((int32_t)((int32_t)11)))? 1 : 0)) == ((int32_t)0))? 1 : 0);
G_B5_1 = G_B3_0;
goto IL_002e;
}
IL_002d:
{
G_B5_0 = 0;
G_B5_1 = G_B4_0;
}
IL_002e:
{
NullCheck(G_B5_1);
G_B5_1->____useComputeBuffer_6 = (bool)G_B5_0;
goto IL_003c;
}
IL_0035:
{
// _useComputeBuffer = false;
__this->____useComputeBuffer_6 = (bool)0;
}
IL_003c:
{
// Init();
Water_Init_m62487EDA8AB745B94CE66D1D0C257C8A16D08D0F(__this, NULL);
// RenderPipelineManager.beginCameraRendering += BeginCameraRendering;
Action_2_t8E07914D7090FF200FE84404EEEFAF3CE183C9F3* L_5 = (Action_2_t8E07914D7090FF200FE84404EEEFAF3CE183C9F3*)il2cpp_codegen_object_new(Action_2_t8E07914D7090FF200FE84404EEEFAF3CE183C9F3_il2cpp_TypeInfo_var);
NullCheck(L_5);
Action_2__ctor_mBEB5B9B513FE305CE98CA8065CC6E6CC0E5A4D51(L_5, __this, (intptr_t)((void*)Water_BeginCameraRendering_m07A3B99794153EB85D931A9635CD790ADF1B3A4A_RuntimeMethod_var), NULL);
il2cpp_codegen_runtime_class_init_inline(RenderPipelineManager_t44E0175AAADDD5487593AEF2B009B1B154957CDB_il2cpp_TypeInfo_var);
RenderPipelineManager_add_beginCameraRendering_mF8416C1EB5B9FF130A7F638B842E283CAA83BC2B(L_5, NULL);
// if(resources == null)
WaterResources_t314516FE58A01D31093FF9936D7DA8F2D455EAAE* L_6 = __this->___resources_18;
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
bool L_7;
L_7 = Object_op_Equality_mD3DB0D72CE0250C84033DC2A90AEF9D59896E536(L_6, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
V_1 = L_7;
bool L_8 = V_1;
if (!L_8)
{
goto IL_007c;
}
}
{
// resources = Resources.Load("WaterResources") as WaterResources;
Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C* L_9;
L_9 = Resources_Load_m9608D2902F542C0B7FD52EFED088323448B9FA35(_stringLiteral66FDFEA4D8B9940AD91C0D0178D477D056CBE78B, NULL);
__this->___resources_18 = ((WaterResources_t314516FE58A01D31093FF9936D7DA8F2D455EAAE*)IsInstClass((RuntimeObject*)L_9, WaterResources_t314516FE58A01D31093FF9936D7DA8F2D455EAAE_il2cpp_TypeInfo_var));
Il2CppCodeGenWriteBarrier((void**)(&__this->___resources_18), (void*)((WaterResources_t314516FE58A01D31093FF9936D7DA8F2D455EAAE*)IsInstClass((RuntimeObject*)L_9, WaterResources_t314516FE58A01D31093FF9936D7DA8F2D455EAAE_il2cpp_TypeInfo_var)));
}
IL_007c:
{
// }
return;
}
}
// System.Void WaterSystem.Water::OnDisable()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Water_OnDisable_m5D5D6B51C41C1B96855011A268C31EFDAE9BA32B (Water_t8D0105147A62029CB3B0497FE968F18E33C3D319* __this, const RuntimeMethod* method)
{
{
// Cleanup();
Water_Cleanup_m4FA7C7CF051824A828FD161DE7ED069381C52B80(__this, NULL);
// }
return;
}
}
// System.Void WaterSystem.Water::OnApplicationQuit()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Water_OnApplicationQuit_m65925719D1532562531F96C36756533CA935FC33 (Water_t8D0105147A62029CB3B0497FE968F18E33C3D319* __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&GerstnerWavesJobs_t93D7738515E9961C2592A8DC0BE0BAF4F3EDEFAB_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
{
// GerstnerWavesJobs.Cleanup();
il2cpp_codegen_runtime_class_init_inline(GerstnerWavesJobs_t93D7738515E9961C2592A8DC0BE0BAF4F3EDEFAB_il2cpp_TypeInfo_var);
GerstnerWavesJobs_Cleanup_mD3134E49CB7E3D77D22C0DB89B9116317DBCC3C1(NULL);
// }
return;
}
}
// System.Void WaterSystem.Water::Cleanup()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Water_Cleanup_m4FA7C7CF051824A828FD161DE7ED069381C52B80 (Water_t8D0105147A62029CB3B0497FE968F18E33C3D319* __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Action_2_t8E07914D7090FF200FE84404EEEFAF3CE183C9F3_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&RenderPipelineManager_t44E0175AAADDD5487593AEF2B009B1B154957CDB_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Water_BeginCameraRendering_m07A3B99794153EB85D931A9635CD790ADF1B3A4A_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Water_t8D0105147A62029CB3B0497FE968F18E33C3D319_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
bool V_0 = false;
bool V_1 = false;
ComputeBuffer_t51EADA9015EBCC1B982C5584E9AB2734415A8233* G_B6_0 = NULL;
ComputeBuffer_t51EADA9015EBCC1B982C5584E9AB2734415A8233* G_B5_0 = NULL;
{
// RenderPipelineManager.beginCameraRendering -= BeginCameraRendering;
Action_2_t8E07914D7090FF200FE84404EEEFAF3CE183C9F3* L_0 = (Action_2_t8E07914D7090FF200FE84404EEEFAF3CE183C9F3*)il2cpp_codegen_object_new(Action_2_t8E07914D7090FF200FE84404EEEFAF3CE183C9F3_il2cpp_TypeInfo_var);
NullCheck(L_0);
Action_2__ctor_mBEB5B9B513FE305CE98CA8065CC6E6CC0E5A4D51(L_0, __this, (intptr_t)((void*)Water_BeginCameraRendering_m07A3B99794153EB85D931A9635CD790ADF1B3A4A_RuntimeMethod_var), NULL);
il2cpp_codegen_runtime_class_init_inline(RenderPipelineManager_t44E0175AAADDD5487593AEF2B009B1B154957CDB_il2cpp_TypeInfo_var);
RenderPipelineManager_remove_beginCameraRendering_m1612AF680F9518D63562A8AC8C521A326B1C6C71(L_0, NULL);
// if (_depthCam)
Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184* L_1 = __this->____depthCam_10;
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
bool L_2;
L_2 = Object_op_Implicit_m18E1885C296CC868AC918101523697CFE6413C79(L_1, NULL);
V_0 = L_2;
bool L_3 = V_0;
if (!L_3)
{
goto IL_0042;
}
}
{
// _depthCam.targetTexture = null;
Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184* L_4 = __this->____depthCam_10;
NullCheck(L_4);
Camera_set_targetTexture_mE6C740F21A72DA47FB5B1D31D208710738A836C4(L_4, (RenderTexture_tBA90C4C3AD9EECCFDDCC632D97C29FAB80D60D27*)NULL, NULL);
// SafeDestroy(_depthCam.gameObject);
Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184* L_5 = __this->____depthCam_10;
NullCheck(L_5);
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* L_6;
L_6 = Component_get_gameObject_m57AEFBB14DB39EC476F740BA000E170355DE691B(L_5, NULL);
il2cpp_codegen_runtime_class_init_inline(Water_t8D0105147A62029CB3B0497FE968F18E33C3D319_il2cpp_TypeInfo_var);
Water_SafeDestroy_m3B160FC14CC629BD6799478332DE8AE5C3FFBFFA(L_6, NULL);
}
IL_0042:
{
// if (_depthTex)
RenderTexture_tBA90C4C3AD9EECCFDDCC632D97C29FAB80D60D27* L_7 = __this->____depthTex_8;
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
bool L_8;
L_8 = Object_op_Implicit_m18E1885C296CC868AC918101523697CFE6413C79(L_7, NULL);
V_1 = L_8;
bool L_9 = V_1;
if (!L_9)
{
goto IL_005f;
}
}
{
// SafeDestroy(_depthTex);
RenderTexture_tBA90C4C3AD9EECCFDDCC632D97C29FAB80D60D27* L_10 = __this->____depthTex_8;
il2cpp_codegen_runtime_class_init_inline(Water_t8D0105147A62029CB3B0497FE968F18E33C3D319_il2cpp_TypeInfo_var);
Water_SafeDestroy_m3B160FC14CC629BD6799478332DE8AE5C3FFBFFA(L_10, NULL);
}
IL_005f:
{
// waveBuffer?.Dispose();
ComputeBuffer_t51EADA9015EBCC1B982C5584E9AB2734415A8233* L_11 = __this->___waveBuffer_13;
ComputeBuffer_t51EADA9015EBCC1B982C5584E9AB2734415A8233* L_12 = L_11;
G_B5_0 = L_12;
if (L_12)
{
G_B6_0 = L_12;
goto IL_006b;
}
}
{
goto IL_0071;
}
IL_006b:
{
NullCheck(G_B6_0);
ComputeBuffer_Dispose_mBCA0F8A5BE75A41C77E1FCFBCB4EAE84A45D6BF2(G_B6_0, NULL);
}
IL_0071:
{
// }
return;
}
}
// System.Void WaterSystem.Water::BeginCameraRendering(UnityEngine.Rendering.ScriptableRenderContext,UnityEngine.Camera)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Water_BeginCameraRendering_m07A3B99794153EB85D931A9635CD790ADF1B3A4A (Water_t8D0105147A62029CB3B0497FE968F18E33C3D319* __this, ScriptableRenderContext_t5AB09B3602BEB456E0DC3D53926D3A3BDAF08E36 ___src0, Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184* ___cam1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Graphics_t99CD970FFEA58171C70F54DF0C06D315BD452F2C_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Water_t8D0105147A62029CB3B0497FE968F18E33C3D319_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
float V_0 = 0.0f;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_1;
memset((&V_1), 0, sizeof(V_1));
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 V_2;
memset((&V_2), 0, sizeof(V_2));
bool V_3 = false;
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 V_4;
memset((&V_4), 0, sizeof(V_4));
MeshU5BU5D_t178CA36422FC397211E68FB7E39C5B2F95619689* V_5 = NULL;
int32_t V_6 = 0;
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* V_7 = NULL;
{
// if (cam.cameraType == CameraType.Preview) return;
Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184* L_0 = ___cam1;
NullCheck(L_0);
int32_t L_1;
L_1 = Camera_get_cameraType_m85434C4C986D2EAC04FBFA44B284840AFC497851(L_0, NULL);
V_3 = (bool)((((int32_t)L_1) == ((int32_t)4))? 1 : 0);
bool L_2 = V_3;
if (!L_2)
{
goto IL_0013;
}
}
{
// if (cam.cameraType == CameraType.Preview) return;
goto IL_0130;
}
IL_0013:
{
// var roll = cam.transform.localEulerAngles.z;
Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184* L_3 = ___cam1;
NullCheck(L_3);
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_4;
L_4 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(L_3, NULL);
NullCheck(L_4);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_5;
L_5 = Transform_get_localEulerAngles_m358AA9AE8FA24FD1BB7842D231C8644D1C2910C6(L_4, NULL);
float L_6 = L_5.___z_4;
V_0 = L_6;
// Shader.SetGlobalFloat(CameraRoll, roll);
il2cpp_codegen_runtime_class_init_inline(Water_t8D0105147A62029CB3B0497FE968F18E33C3D319_il2cpp_TypeInfo_var);
int32_t L_7 = ((Water_t8D0105147A62029CB3B0497FE968F18E33C3D319_StaticFields*)il2cpp_codegen_static_fields_for(Water_t8D0105147A62029CB3B0497FE968F18E33C3D319_il2cpp_TypeInfo_var))->___CameraRoll_19;
float L_8 = V_0;
Shader_SetGlobalFloat_mB47626BB0891837BEA02A53DB933F7ED7B115D11(L_7, L_8, NULL);
// Shader.SetGlobalMatrix(InvViewProjection,
// (GL.GetGPUProjectionMatrix(cam.projectionMatrix, false) * cam.worldToCameraMatrix).inverse);
int32_t L_9 = ((Water_t8D0105147A62029CB3B0497FE968F18E33C3D319_StaticFields*)il2cpp_codegen_static_fields_for(Water_t8D0105147A62029CB3B0497FE968F18E33C3D319_il2cpp_TypeInfo_var))->___InvViewProjection_20;
Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184* L_10 = ___cam1;
NullCheck(L_10);
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 L_11;
L_11 = Camera_get_projectionMatrix_m9B943EFDD6418528A055321E14F75F1511DD9B4A(L_10, NULL);
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 L_12;
L_12 = GL_GetGPUProjectionMatrix_m5E0E33B107C7CA271DC6E9B3DBD45F5D8FA56688(L_11, (bool)0, NULL);
Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184* L_13 = ___cam1;
NullCheck(L_13);
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 L_14;
L_14 = Camera_get_worldToCameraMatrix_m48E324BD76706A316A1701EFC6A3DEC7DFB2FF40(L_13, NULL);
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 L_15;
L_15 = Matrix4x4_op_Multiply_m7649669D493400913FF60AFB04B1C19F14E0FDB0(L_12, L_14, NULL);
V_4 = L_15;
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 L_16;
L_16 = Matrix4x4_get_inverse_m4F4A881CD789281EA90EB68CFD39F36C8A81E6BD((&V_4), NULL);
Shader_SetGlobalMatrix_mC607F02C549C45012DDE1E2A6EF191591BE8F819(L_9, L_16, NULL);
// var newPos = cam.transform.TransformPoint(Vector3.forward * forwards);
Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184* L_17 = ___cam1;
NullCheck(L_17);
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_18;
L_18 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(L_17, NULL);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_19;
L_19 = Vector3_get_forward_mEBAB24D77FC02FC88ED880738C3B1D47C758B3EB_inline(NULL);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_20;
L_20 = Vector3_op_Multiply_m516FE285F5342F922C6EB3FCB33197E9017FF484_inline(L_19, (10.0f), NULL);
NullCheck(L_18);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_21;
L_21 = Transform_TransformPoint_m05BFF013DB830D7BFE44A007703694AE1062EE44(L_18, L_20, NULL);
V_1 = L_21;
// newPos.y = yOffset;
(&V_1)->___y_3 = (-0.25f);
// newPos.x = quantizeValue * (int) (newPos.x / quantizeValue);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_22 = V_1;
float L_23 = L_22.___x_2;
(&V_1)->___x_2 = ((float)il2cpp_codegen_multiply((6.25f), ((float)il2cpp_codegen_cast_double_to_int<int32_t>(((float)(L_23/(6.25f)))))));
// newPos.z = quantizeValue * (int) (newPos.z / quantizeValue);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_24 = V_1;
float L_25 = L_24.___z_4;
(&V_1)->___z_4 = ((float)il2cpp_codegen_multiply((6.25f), ((float)il2cpp_codegen_cast_double_to_int<int32_t>(((float)(L_25/(6.25f)))))));
// var matrix = Matrix4x4.TRS(newPos + transform.position, Quaternion.identity, transform.localScale); // transform.localToWorldMatrix;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_26 = V_1;
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_27;
L_27 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(__this, NULL);
NullCheck(L_27);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_28;
L_28 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_27, NULL);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_29;
L_29 = Vector3_op_Addition_m087D6F0EC60843D455F9F83D25FE42B2433AAD1D_inline(L_26, L_28, NULL);
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_30;
L_30 = Quaternion_get_identity_mB9CAEEB21BC81352CBF32DB9664BFC06FA7EA27B_inline(NULL);
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_31;
L_31 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(__this, NULL);
NullCheck(L_31);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_32;
L_32 = Transform_get_localScale_m804A002A53A645CDFCD15BB0F37209162720363F(L_31, NULL);
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 L_33;
L_33 = Matrix4x4_TRS_mFEBA6926DB0044B96EF0CE98F30FEE7596820680(L_29, L_30, L_32, NULL);
V_2 = L_33;
// foreach (var mesh in resources.defaultWaterMeshes)
WaterResources_t314516FE58A01D31093FF9936D7DA8F2D455EAAE* L_34 = __this->___resources_18;
NullCheck(L_34);
MeshU5BU5D_t178CA36422FC397211E68FB7E39C5B2F95619689* L_35 = L_34->___defaultWaterMeshes_8;
V_5 = L_35;
V_6 = 0;
goto IL_0128;
}
IL_00f2:
{
// foreach (var mesh in resources.defaultWaterMeshes)
MeshU5BU5D_t178CA36422FC397211E68FB7E39C5B2F95619689* L_36 = V_5;
int32_t L_37 = V_6;
NullCheck(L_36);
int32_t L_38 = L_37;
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_39 = (L_36)->GetAt(static_cast<il2cpp_array_size_t>(L_38));
V_7 = L_39;
// Graphics.DrawMesh(mesh,
// matrix,
// resources.defaultSeaMaterial,
// gameObject.layer,
// cam,
// 0,
// null,
// ShadowCastingMode.Off,
// true,
// null,
// LightProbeUsage.Off,
// null);
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_40 = V_7;
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 L_41 = V_2;
WaterResources_t314516FE58A01D31093FF9936D7DA8F2D455EAAE* L_42 = __this->___resources_18;
NullCheck(L_42);
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_43 = L_42->___defaultSeaMaterial_7;
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* L_44;
L_44 = Component_get_gameObject_m57AEFBB14DB39EC476F740BA000E170355DE691B(__this, NULL);
NullCheck(L_44);
int32_t L_45;
L_45 = GameObject_get_layer_m108902B9C89E9F837CE06B9942AA42307450FEAF(L_44, NULL);
Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184* L_46 = ___cam1;
il2cpp_codegen_runtime_class_init_inline(Graphics_t99CD970FFEA58171C70F54DF0C06D315BD452F2C_il2cpp_TypeInfo_var);
Graphics_DrawMesh_mFCB28534691B68C8E3B0EE763D69A70C6568AC32(L_40, L_41, L_43, L_45, L_46, 0, (MaterialPropertyBlock_t2308669579033A857EFE6E4831909F638B27411D*)NULL, 0, (bool)1, (Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1*)NULL, 0, (LightProbeProxyVolume_t431001CA94D2BB5DB419E2A89E7D8116E4E1B658*)NULL, NULL);
int32_t L_47 = V_6;
V_6 = ((int32_t)il2cpp_codegen_add(L_47, 1));
}
IL_0128:
{
// foreach (var mesh in resources.defaultWaterMeshes)
int32_t L_48 = V_6;
MeshU5BU5D_t178CA36422FC397211E68FB7E39C5B2F95619689* L_49 = V_5;
NullCheck(L_49);
if ((((int32_t)L_48) < ((int32_t)((int32_t)(((RuntimeArray*)L_49)->max_length)))))
{
goto IL_00f2;
}
}
IL_0130:
{
// }
return;
}
}
// System.Void WaterSystem.Water::SafeDestroy(UnityEngine.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Water_SafeDestroy_m3B160FC14CC629BD6799478332DE8AE5C3FFBFFA (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C* ___o0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
bool V_0 = false;
{
// if(Application.isPlaying)
bool L_0;
L_0 = Application_get_isPlaying_m0B3B501E1093739F8887A0DAC5F61D9CB49CC337(NULL);
V_0 = L_0;
bool L_1 = V_0;
if (!L_1)
{
goto IL_0013;
}
}
{
// Destroy(o);
Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C* L_2 = ___o0;
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
Object_Destroy_mFCDAE6333522488F60597AF019EA90BB1207A5AA(L_2, NULL);
goto IL_001a;
}
IL_0013:
{
// DestroyImmediate(o);
Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C* L_3 = ___o0;
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
Object_DestroyImmediate_m8249CABCDF344BE3A67EE765122EBB415DC2BC57(L_3, NULL);
}
IL_001a:
{
// }
return;
}
}
// System.Void WaterSystem.Water::Init()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Water_Init_m62487EDA8AB745B94CE66D1D0C257C8A16D08D0F (Water_t8D0105147A62029CB3B0497FE968F18E33C3D319* __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&GameObject_AddComponent_TisPlanarReflections_t89C378C054F8113CB465D2A27E38FCC4F4B9F169_mED85BC7E9D183C24A2855DF50CCA69DD37CFBDED_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&GameObject_TryGetComponent_TisPlanarReflections_t89C378C054F8113CB465D2A27E38FCC4F4B9F169_m8675242156BDC0387259FFC13C4FABF162987625_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&WaterResources_t314516FE58A01D31093FF9936D7DA8F2D455EAAE_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Water_t8D0105147A62029CB3B0497FE968F18E33C3D319_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral66FDFEA4D8B9940AD91C0D0178D477D056CBE78B);
s_Il2CppMethodInitialized = true;
}
bool V_0 = false;
bool V_1 = false;
bool V_2 = false;
bool V_3 = false;
{
// SetWaves();
Water_SetWaves_m8038F26AA638BCBD0558230E9A30B1D58C415141(__this, NULL);
// GenerateColorRamp();
Water_GenerateColorRamp_mDE2229361F339B0FE04E8E781517F08B1301005A(__this, NULL);
// if (bakedDepthTex)
Texture_t791CBB51219779964E0E8A2ED7C1AA5F92A4A700* L_0 = __this->___bakedDepthTex_9;
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
bool L_1;
L_1 = Object_op_Implicit_m18E1885C296CC868AC918101523697CFE6413C79(L_0, NULL);
V_0 = L_1;
bool L_2 = V_0;
if (!L_2)
{
goto IL_0031;
}
}
{
// Shader.SetGlobalTexture(WaterDepthMap, bakedDepthTex);
il2cpp_codegen_runtime_class_init_inline(Water_t8D0105147A62029CB3B0497FE968F18E33C3D319_il2cpp_TypeInfo_var);
int32_t L_3 = ((Water_t8D0105147A62029CB3B0497FE968F18E33C3D319_StaticFields*)il2cpp_codegen_static_fields_for(Water_t8D0105147A62029CB3B0497FE968F18E33C3D319_il2cpp_TypeInfo_var))->___WaterDepthMap_21;
Texture_t791CBB51219779964E0E8A2ED7C1AA5F92A4A700* L_4 = __this->___bakedDepthTex_9;
Shader_SetGlobalTexture_m4DF21A2D64AA4CF5B3A77BBBCA33D5195308BE2E(L_3, L_4, NULL);
}
IL_0031:
{
// if (!gameObject.TryGetComponent(out _planarReflections))
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* L_5;
L_5 = Component_get_gameObject_m57AEFBB14DB39EC476F740BA000E170355DE691B(__this, NULL);
PlanarReflections_t89C378C054F8113CB465D2A27E38FCC4F4B9F169** L_6 = (&__this->____planarReflections_5);
NullCheck(L_5);
bool L_7;
L_7 = GameObject_TryGetComponent_TisPlanarReflections_t89C378C054F8113CB465D2A27E38FCC4F4B9F169_m8675242156BDC0387259FFC13C4FABF162987625(L_5, L_6, GameObject_TryGetComponent_TisPlanarReflections_t89C378C054F8113CB465D2A27E38FCC4F4B9F169_m8675242156BDC0387259FFC13C4FABF162987625_RuntimeMethod_var);
V_1 = (bool)((((int32_t)L_7) == ((int32_t)0))? 1 : 0);
bool L_8 = V_1;
if (!L_8)
{
goto IL_005c;
}
}
{
// _planarReflections = gameObject.AddComponent<PlanarReflections>();
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* L_9;
L_9 = Component_get_gameObject_m57AEFBB14DB39EC476F740BA000E170355DE691B(__this, NULL);
NullCheck(L_9);
PlanarReflections_t89C378C054F8113CB465D2A27E38FCC4F4B9F169* L_10;
L_10 = GameObject_AddComponent_TisPlanarReflections_t89C378C054F8113CB465D2A27E38FCC4F4B9F169_mED85BC7E9D183C24A2855DF50CCA69DD37CFBDED(L_9, GameObject_AddComponent_TisPlanarReflections_t89C378C054F8113CB465D2A27E38FCC4F4B9F169_mED85BC7E9D183C24A2855DF50CCA69DD37CFBDED_RuntimeMethod_var);
__this->____planarReflections_5 = L_10;
Il2CppCodeGenWriteBarrier((void**)(&__this->____planarReflections_5), (void*)L_10);
}
IL_005c:
{
// _planarReflections.hideFlags = HideFlags.HideAndDontSave | HideFlags.HideInInspector;
PlanarReflections_t89C378C054F8113CB465D2A27E38FCC4F4B9F169* L_11 = __this->____planarReflections_5;
NullCheck(L_11);
Object_set_hideFlags_mACB8BFC903FB3B01BBD427753E791BF28B5E33D4(L_11, ((int32_t)63), NULL);
// _planarReflections.m_settings = settingsData.planarSettings;
PlanarReflections_t89C378C054F8113CB465D2A27E38FCC4F4B9F169* L_12 = __this->____planarReflections_5;
WaterSettingsData_tE1FC3BFA899A42BE86438D0C1706008CEF83DBF2* L_13 = __this->___settingsData_16;
NullCheck(L_13);
PlanarReflectionSettings_t933C0BB776407C4B49D2CE2FD8E60337F2B62731* L_14 = L_13->___planarSettings_6;
NullCheck(L_12);
L_12->___m_settings_4 = L_14;
Il2CppCodeGenWriteBarrier((void**)(&L_12->___m_settings_4), (void*)L_14);
// _planarReflections.enabled = settingsData.refType == ReflectionType.PlanarReflection;
PlanarReflections_t89C378C054F8113CB465D2A27E38FCC4F4B9F169* L_15 = __this->____planarReflections_5;
WaterSettingsData_tE1FC3BFA899A42BE86438D0C1706008CEF83DBF2* L_16 = __this->___settingsData_16;
NullCheck(L_16);
int32_t L_17 = L_16->___refType_5;
NullCheck(L_15);
Behaviour_set_enabled_mF1DCFE60EB09E0529FE9476CA804A3AA2D72B16A(L_15, (bool)((((int32_t)L_17) == ((int32_t)2))? 1 : 0), NULL);
// if(resources == null)
WaterResources_t314516FE58A01D31093FF9936D7DA8F2D455EAAE* L_18 = __this->___resources_18;
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
bool L_19;
L_19 = Object_op_Equality_mD3DB0D72CE0250C84033DC2A90AEF9D59896E536(L_18, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
V_2 = L_19;
bool L_20 = V_2;
if (!L_20)
{
goto IL_00c1;
}
}
{
// resources = Resources.Load("WaterResources") as WaterResources;
Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C* L_21;
L_21 = Resources_Load_m9608D2902F542C0B7FD52EFED088323448B9FA35(_stringLiteral66FDFEA4D8B9940AD91C0D0178D477D056CBE78B, NULL);
__this->___resources_18 = ((WaterResources_t314516FE58A01D31093FF9936D7DA8F2D455EAAE*)IsInstClass((RuntimeObject*)L_21, WaterResources_t314516FE58A01D31093FF9936D7DA8F2D455EAAE_il2cpp_TypeInfo_var));
Il2CppCodeGenWriteBarrier((void**)(&__this->___resources_18), (void*)((WaterResources_t314516FE58A01D31093FF9936D7DA8F2D455EAAE*)IsInstClass((RuntimeObject*)L_21, WaterResources_t314516FE58A01D31093FF9936D7DA8F2D455EAAE_il2cpp_TypeInfo_var)));
}
IL_00c1:
{
// if(Application.platform != RuntimePlatform.WebGLPlayer) // TODO - bug with Opengl depth
int32_t L_22;
L_22 = Application_get_platform_m1AB34E71D9885B120F6021EB2B11DCB28CD6008D(NULL);
V_3 = (bool)((((int32_t)((((int32_t)L_22) == ((int32_t)((int32_t)17)))? 1 : 0)) == ((int32_t)0))? 1 : 0);
bool L_23 = V_3;
if (!L_23)
{
goto IL_00d8;
}
}
{
// CaptureDepthMap();
Water_CaptureDepthMap_m1F6F67C77CD1874CD9AC7A1BAD6CC37DA9DCBCF1(__this, NULL);
}
IL_00d8:
{
// }
return;
}
}
// System.Void WaterSystem.Water::LateUpdate()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Water_LateUpdate_m1E9352F0B9698D474AC7455E4F7DB6C17A6253A5 (Water_t8D0105147A62029CB3B0497FE968F18E33C3D319* __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&GerstnerWavesJobs_t93D7738515E9961C2592A8DC0BE0BAF4F3EDEFAB_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
{
// GerstnerWavesJobs.UpdateHeights();
il2cpp_codegen_runtime_class_init_inline(GerstnerWavesJobs_t93D7738515E9961C2592A8DC0BE0BAF4F3EDEFAB_il2cpp_TypeInfo_var);
GerstnerWavesJobs_UpdateHeights_m7ED1CCD8B1DB5279C7DAF13EBCAC70A62DE631C4(NULL);
// }
return;
}
}
// System.Void WaterSystem.Water::FragWaveNormals(System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Water_FragWaveNormals_m5F83826B2B8FCAD4BDBF179797DFE2292A7743DB (Water_t8D0105147A62029CB3B0497FE968F18E33C3D319* __this, bool ___toggle0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Component_GetComponent_TisRenderer_t320575F223BCB177A982E5DDB5DB19FAA89E7FBF_mC91ACC92AD57CA6CA00991DAF1DB3830BCE07AF8_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral0778D9EAD13B061914AEFDDA851505F333584A82);
s_Il2CppMethodInitialized = true;
}
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* V_0 = NULL;
bool V_1 = false;
{
// var mat = GetComponent<Renderer>().sharedMaterial;
Renderer_t320575F223BCB177A982E5DDB5DB19FAA89E7FBF* L_0;
L_0 = Component_GetComponent_TisRenderer_t320575F223BCB177A982E5DDB5DB19FAA89E7FBF_mC91ACC92AD57CA6CA00991DAF1DB3830BCE07AF8(__this, Component_GetComponent_TisRenderer_t320575F223BCB177A982E5DDB5DB19FAA89E7FBF_mC91ACC92AD57CA6CA00991DAF1DB3830BCE07AF8_RuntimeMethod_var);
NullCheck(L_0);
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_1;
L_1 = Renderer_get_sharedMaterial_mA2E0CA0A564617FFC3E0E50947C6300082C35F81(L_0, NULL);
V_0 = L_1;
// if (toggle)
bool L_2 = ___toggle0;
V_1 = L_2;
bool L_3 = V_1;
if (!L_3)
{
goto IL_0020;
}
}
{
// mat.EnableKeyword("GERSTNER_WAVES");
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_4 = V_0;
NullCheck(L_4);
Material_EnableKeyword_mE8523EF6CF694284DF976D47ADEDE9363A1174AC(L_4, _stringLiteral0778D9EAD13B061914AEFDDA851505F333584A82, NULL);
goto IL_002c;
}
IL_0020:
{
// mat.DisableKeyword("GERSTNER_WAVES");
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_5 = V_0;
NullCheck(L_5);
Material_DisableKeyword_mC123927EBF2F2A19220A4456C8EA19F2BA416E8C(L_5, _stringLiteral0778D9EAD13B061914AEFDDA851505F333584A82, NULL);
}
IL_002c:
{
// }
return;
}
}
// System.Void WaterSystem.Water::SetWaves()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Water_SetWaves_m8038F26AA638BCBD0558230E9A30B1D58C415141 (Water_t8D0105147A62029CB3B0497FE968F18E33C3D319* __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ComputeBuffer_t51EADA9015EBCC1B982C5584E9AB2734415A8233_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&GerstnerWavesJobs_t93D7738515E9961C2592A8DC0BE0BAF4F3EDEFAB_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Water_t8D0105147A62029CB3B0497FE968F18E33C3D319_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral06A38FEF86C073F944DE40D91C849675C4EC9562);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral6CE23184036AC4179479828C4D479F950109813C);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral769342A7B71A4757C46FBD9E0972A1A4A72F0107);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralAF483772072ADCF67BEFBBB7EE996548AD095CF0);
s_Il2CppMethodInitialized = true;
}
WaveU5BU5D_t464305B39C1E1AA8D0E58528BC0562C10AB70BC5* V_0 = NULL;
int32_t V_1 = 0;
Wave_t98FB676A74FA3481325B501BF6AFA3A4B02D64CB V_2;
memset((&V_2), 0, sizeof(V_2));
int32_t V_3 = 0;
int32_t V_4 = 0;
bool V_5 = false;
bool V_6 = false;
ComputeBuffer_t51EADA9015EBCC1B982C5584E9AB2734415A8233* G_B12_0 = NULL;
ComputeBuffer_t51EADA9015EBCC1B982C5584E9AB2734415A8233* G_B11_0 = NULL;
int32_t G_B18_0 = 0;
{
// SetupWaves(surfaceData._customWaves);
WaterSurfaceData_t69017B077D8A40D429E217EE688B9C5AE831D87B* L_0 = __this->___surfaceData_17;
NullCheck(L_0);
bool L_1 = L_0->____customWaves_8;
Water_SetupWaves_m0D4FA257E41D3B352424DEF811B4F764B0D9A000(__this, L_1, NULL);
// Shader.SetGlobalTexture(FoamMap, resources.defaultFoamMap);
il2cpp_codegen_runtime_class_init_inline(Water_t8D0105147A62029CB3B0497FE968F18E33C3D319_il2cpp_TypeInfo_var);
int32_t L_2 = ((Water_t8D0105147A62029CB3B0497FE968F18E33C3D319_StaticFields*)il2cpp_codegen_static_fields_for(Water_t8D0105147A62029CB3B0497FE968F18E33C3D319_il2cpp_TypeInfo_var))->___FoamMap_22;
WaterResources_t314516FE58A01D31093FF9936D7DA8F2D455EAAE* L_3 = __this->___resources_18;
NullCheck(L_3);
Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4* L_4 = L_3->___defaultFoamMap_5;
Shader_SetGlobalTexture_m4DF21A2D64AA4CF5B3A77BBBCA33D5195308BE2E(L_2, L_4, NULL);
// Shader.SetGlobalTexture(SurfaceMap, resources.defaultSurfaceMap);
int32_t L_5 = ((Water_t8D0105147A62029CB3B0497FE968F18E33C3D319_StaticFields*)il2cpp_codegen_static_fields_for(Water_t8D0105147A62029CB3B0497FE968F18E33C3D319_il2cpp_TypeInfo_var))->___SurfaceMap_23;
WaterResources_t314516FE58A01D31093FF9936D7DA8F2D455EAAE* L_6 = __this->___resources_18;
NullCheck(L_6);
Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4* L_7 = L_6->___defaultSurfaceMap_6;
Shader_SetGlobalTexture_m4DF21A2D64AA4CF5B3A77BBBCA33D5195308BE2E(L_5, L_7, NULL);
// _maxWaveHeight = 0f;
__this->____maxWaveHeight_14 = (0.0f);
// foreach (var w in _waves)
WaveU5BU5D_t464305B39C1E1AA8D0E58528BC0562C10AB70BC5* L_8 = __this->____waves_12;
V_0 = L_8;
V_1 = 0;
goto IL_0077;
}
IL_0056:
{
// foreach (var w in _waves)
WaveU5BU5D_t464305B39C1E1AA8D0E58528BC0562C10AB70BC5* L_9 = V_0;
int32_t L_10 = V_1;
NullCheck(L_9);
int32_t L_11 = L_10;
Wave_t98FB676A74FA3481325B501BF6AFA3A4B02D64CB L_12 = (L_9)->GetAt(static_cast<il2cpp_array_size_t>(L_11));
V_2 = L_12;
// _maxWaveHeight += w.amplitude;
float L_13 = __this->____maxWaveHeight_14;
Wave_t98FB676A74FA3481325B501BF6AFA3A4B02D64CB L_14 = V_2;
float L_15 = L_14.___amplitude_0;
__this->____maxWaveHeight_14 = ((float)il2cpp_codegen_add(L_13, L_15));
int32_t L_16 = V_1;
V_1 = ((int32_t)il2cpp_codegen_add(L_16, 1));
}
IL_0077:
{
// foreach (var w in _waves)
int32_t L_17 = V_1;
WaveU5BU5D_t464305B39C1E1AA8D0E58528BC0562C10AB70BC5* L_18 = V_0;
NullCheck(L_18);
if ((((int32_t)L_17) < ((int32_t)((int32_t)(((RuntimeArray*)L_18)->max_length)))))
{
goto IL_0056;
}
}
{
// _maxWaveHeight /= _waves.Length;
float L_19 = __this->____maxWaveHeight_14;
WaveU5BU5D_t464305B39C1E1AA8D0E58528BC0562C10AB70BC5* L_20 = __this->____waves_12;
NullCheck(L_20);
__this->____maxWaveHeight_14 = ((float)(L_19/((float)((int32_t)(((RuntimeArray*)L_20)->max_length)))));
// _waveHeight = transform.position.y;
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_21;
L_21 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(__this, NULL);
NullCheck(L_21);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_22;
L_22 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_21, NULL);
float L_23 = L_22.___y_3;
__this->____waveHeight_15 = L_23;
// Shader.SetGlobalFloat(WaveHeight, _waveHeight);
il2cpp_codegen_runtime_class_init_inline(Water_t8D0105147A62029CB3B0497FE968F18E33C3D319_il2cpp_TypeInfo_var);
int32_t L_24 = ((Water_t8D0105147A62029CB3B0497FE968F18E33C3D319_StaticFields*)il2cpp_codegen_static_fields_for(Water_t8D0105147A62029CB3B0497FE968F18E33C3D319_il2cpp_TypeInfo_var))->___WaveHeight_24;
float L_25 = __this->____waveHeight_15;
Shader_SetGlobalFloat_mB47626BB0891837BEA02A53DB933F7ED7B115D11(L_24, L_25, NULL);
// Shader.SetGlobalFloat(MaxWaveHeight, _maxWaveHeight);
int32_t L_26 = ((Water_t8D0105147A62029CB3B0497FE968F18E33C3D319_StaticFields*)il2cpp_codegen_static_fields_for(Water_t8D0105147A62029CB3B0497FE968F18E33C3D319_il2cpp_TypeInfo_var))->___MaxWaveHeight_25;
float L_27 = __this->____maxWaveHeight_14;
Shader_SetGlobalFloat_mB47626BB0891837BEA02A53DB933F7ED7B115D11(L_26, L_27, NULL);
// Shader.SetGlobalFloat(MaxDepth, surfaceData._waterMaxVisibility);
int32_t L_28 = ((Water_t8D0105147A62029CB3B0497FE968F18E33C3D319_StaticFields*)il2cpp_codegen_static_fields_for(Water_t8D0105147A62029CB3B0497FE968F18E33C3D319_il2cpp_TypeInfo_var))->___MaxDepth_26;
WaterSurfaceData_t69017B077D8A40D429E217EE688B9C5AE831D87B* L_29 = __this->___surfaceData_17;
NullCheck(L_29);
float L_30 = L_29->____waterMaxVisibility_4;
Shader_SetGlobalFloat_mB47626BB0891837BEA02A53DB933F7ED7B115D11(L_28, L_30, NULL);
// switch(settingsData.refType)
WaterSettingsData_tE1FC3BFA899A42BE86438D0C1706008CEF83DBF2* L_31 = __this->___settingsData_16;
NullCheck(L_31);
int32_t L_32 = L_31->___refType_5;
V_4 = L_32;
int32_t L_33 = V_4;
V_3 = L_33;
int32_t L_34 = V_3;
switch (L_34)
{
case 0:
{
goto IL_0105;
}
case 1:
{
goto IL_013e;
}
case 2:
{
goto IL_0161;
}
}
}
{
goto IL_0184;
}
IL_0105:
{
// Shader.EnableKeyword("_REFLECTION_CUBEMAP");
Shader_EnableKeyword_m24DB964DE6795F323916C317DDDB88061E6D5761(_stringLiteralAF483772072ADCF67BEFBBB7EE996548AD095CF0, NULL);
// Shader.DisableKeyword("_REFLECTION_PROBES");
Shader_DisableKeyword_m6427E6828CF809F12752AE2CF70E6A79281A3DB2(_stringLiteral06A38FEF86C073F944DE40D91C849675C4EC9562, NULL);
// Shader.DisableKeyword("_REFLECTION_PLANARREFLECTION");
Shader_DisableKeyword_m6427E6828CF809F12752AE2CF70E6A79281A3DB2(_stringLiteral769342A7B71A4757C46FBD9E0972A1A4A72F0107, NULL);
// Shader.SetGlobalTexture(CubemapTexture, settingsData.cubemapRefType);
il2cpp_codegen_runtime_class_init_inline(Water_t8D0105147A62029CB3B0497FE968F18E33C3D319_il2cpp_TypeInfo_var);
int32_t L_35 = ((Water_t8D0105147A62029CB3B0497FE968F18E33C3D319_StaticFields*)il2cpp_codegen_static_fields_for(Water_t8D0105147A62029CB3B0497FE968F18E33C3D319_il2cpp_TypeInfo_var))->___CubemapTexture_28;
WaterSettingsData_tE1FC3BFA899A42BE86438D0C1706008CEF83DBF2* L_36 = __this->___settingsData_16;
NullCheck(L_36);
Cubemap_t4F2DFF70696A5CB5C1695DF8947CC60D718C4A1C* L_37 = L_36->___cubemapRefType_7;
Shader_SetGlobalTexture_m4DF21A2D64AA4CF5B3A77BBBCA33D5195308BE2E(L_35, L_37, NULL);
// break;
goto IL_018a;
}
IL_013e:
{
// Shader.DisableKeyword("_REFLECTION_CUBEMAP");
Shader_DisableKeyword_m6427E6828CF809F12752AE2CF70E6A79281A3DB2(_stringLiteralAF483772072ADCF67BEFBBB7EE996548AD095CF0, NULL);
// Shader.EnableKeyword("_REFLECTION_PROBES");
Shader_EnableKeyword_m24DB964DE6795F323916C317DDDB88061E6D5761(_stringLiteral06A38FEF86C073F944DE40D91C849675C4EC9562, NULL);
// Shader.DisableKeyword("_REFLECTION_PLANARREFLECTION");
Shader_DisableKeyword_m6427E6828CF809F12752AE2CF70E6A79281A3DB2(_stringLiteral769342A7B71A4757C46FBD9E0972A1A4A72F0107, NULL);
// break;
goto IL_018a;
}
IL_0161:
{
// Shader.DisableKeyword("_REFLECTION_CUBEMAP");
Shader_DisableKeyword_m6427E6828CF809F12752AE2CF70E6A79281A3DB2(_stringLiteralAF483772072ADCF67BEFBBB7EE996548AD095CF0, NULL);
// Shader.DisableKeyword("_REFLECTION_PROBES");
Shader_DisableKeyword_m6427E6828CF809F12752AE2CF70E6A79281A3DB2(_stringLiteral06A38FEF86C073F944DE40D91C849675C4EC9562, NULL);
// Shader.EnableKeyword("_REFLECTION_PLANARREFLECTION");
Shader_EnableKeyword_m24DB964DE6795F323916C317DDDB88061E6D5761(_stringLiteral769342A7B71A4757C46FBD9E0972A1A4A72F0107, NULL);
// break;
goto IL_018a;
}
IL_0184:
{
// throw new ArgumentOutOfRangeException();
ArgumentOutOfRangeException_tEA2822DAF62B10EEED00E0E3A341D4BAF78CF85F* L_38 = (ArgumentOutOfRangeException_tEA2822DAF62B10EEED00E0E3A341D4BAF78CF85F*)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&ArgumentOutOfRangeException_tEA2822DAF62B10EEED00E0E3A341D4BAF78CF85F_il2cpp_TypeInfo_var)));
NullCheck(L_38);
ArgumentOutOfRangeException__ctor_mB596C51BFA864B65C2CED275458FAE90F7CD29C9(L_38, NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_38, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&Water_SetWaves_m8038F26AA638BCBD0558230E9A30B1D58C415141_RuntimeMethod_var)));
}
IL_018a:
{
// Shader.SetGlobalInt(WaveCount, _waves.Length);
il2cpp_codegen_runtime_class_init_inline(Water_t8D0105147A62029CB3B0497FE968F18E33C3D319_il2cpp_TypeInfo_var);
int32_t L_39 = ((Water_t8D0105147A62029CB3B0497FE968F18E33C3D319_StaticFields*)il2cpp_codegen_static_fields_for(Water_t8D0105147A62029CB3B0497FE968F18E33C3D319_il2cpp_TypeInfo_var))->___WaveCount_27;
WaveU5BU5D_t464305B39C1E1AA8D0E58528BC0562C10AB70BC5* L_40 = __this->____waves_12;
NullCheck(L_40);
Shader_SetGlobalInt_m487BAAACF62CE7DA8F72D16232D450B8BF551FFD(L_39, ((int32_t)(((RuntimeArray*)L_40)->max_length)), NULL);
// if (_useComputeBuffer)
bool L_41 = __this->____useComputeBuffer_6;
V_5 = L_41;
bool L_42 = V_5;
if (!L_42)
{
goto IL_01fc;
}
}
{
// Shader.EnableKeyword("USE_STRUCTURED_BUFFER");
Shader_EnableKeyword_m24DB964DE6795F323916C317DDDB88061E6D5761(_stringLiteral6CE23184036AC4179479828C4D479F950109813C, NULL);
// waveBuffer?.Dispose();
ComputeBuffer_t51EADA9015EBCC1B982C5584E9AB2734415A8233* L_43 = __this->___waveBuffer_13;
ComputeBuffer_t51EADA9015EBCC1B982C5584E9AB2734415A8233* L_44 = L_43;
G_B11_0 = L_44;
if (L_44)
{
G_B12_0 = L_44;
goto IL_01c1;
}
}
{
goto IL_01c7;
}
IL_01c1:
{
NullCheck(G_B12_0);
ComputeBuffer_Dispose_mBCA0F8A5BE75A41C77E1FCFBCB4EAE84A45D6BF2(G_B12_0, NULL);
}
IL_01c7:
{
// waveBuffer = new ComputeBuffer(10, (sizeof(float) * 6));
ComputeBuffer_t51EADA9015EBCC1B982C5584E9AB2734415A8233* L_45 = (ComputeBuffer_t51EADA9015EBCC1B982C5584E9AB2734415A8233*)il2cpp_codegen_object_new(ComputeBuffer_t51EADA9015EBCC1B982C5584E9AB2734415A8233_il2cpp_TypeInfo_var);
NullCheck(L_45);
ComputeBuffer__ctor_mE40DE5EF5ADAC29B6B4DECBD1EE33E8526202617(L_45, ((int32_t)10), ((int32_t)24), NULL);
__this->___waveBuffer_13 = L_45;
Il2CppCodeGenWriteBarrier((void**)(&__this->___waveBuffer_13), (void*)L_45);
// waveBuffer.SetData(_waves);
ComputeBuffer_t51EADA9015EBCC1B982C5584E9AB2734415A8233* L_46 = __this->___waveBuffer_13;
WaveU5BU5D_t464305B39C1E1AA8D0E58528BC0562C10AB70BC5* L_47 = __this->____waves_12;
NullCheck(L_46);
ComputeBuffer_SetData_m9F845E6B347CE028FA9A987D740FC642D828013A(L_46, (RuntimeArray*)L_47, NULL);
// Shader.SetGlobalBuffer(WaveDataBuffer, waveBuffer);
il2cpp_codegen_runtime_class_init_inline(Water_t8D0105147A62029CB3B0497FE968F18E33C3D319_il2cpp_TypeInfo_var);
int32_t L_48 = ((Water_t8D0105147A62029CB3B0497FE968F18E33C3D319_StaticFields*)il2cpp_codegen_static_fields_for(Water_t8D0105147A62029CB3B0497FE968F18E33C3D319_il2cpp_TypeInfo_var))->___WaveDataBuffer_29;
ComputeBuffer_t51EADA9015EBCC1B982C5584E9AB2734415A8233* L_49 = __this->___waveBuffer_13;
Shader_SetGlobalBuffer_m3B4447FE9ABC0B514B3587CBEBE8865889DADB87(L_48, L_49, NULL);
goto IL_021a;
}
IL_01fc:
{
// Shader.DisableKeyword("USE_STRUCTURED_BUFFER");
Shader_DisableKeyword_m6427E6828CF809F12752AE2CF70E6A79281A3DB2(_stringLiteral6CE23184036AC4179479828C4D479F950109813C, NULL);
// Shader.SetGlobalVectorArray(WaveData, GetWaveData());
il2cpp_codegen_runtime_class_init_inline(Water_t8D0105147A62029CB3B0497FE968F18E33C3D319_il2cpp_TypeInfo_var);
int32_t L_50 = ((Water_t8D0105147A62029CB3B0497FE968F18E33C3D319_StaticFields*)il2cpp_codegen_static_fields_for(Water_t8D0105147A62029CB3B0497FE968F18E33C3D319_il2cpp_TypeInfo_var))->___WaveData_30;
Vector4U5BU5D_tC0F3A7115F85007510F6D173968200CD31BCF7AD* L_51;
L_51 = Water_GetWaveData_m74FB2ABDC3BDCD47BAB300C1A7FA7795230EF3FD(__this, NULL);
Shader_SetGlobalVectorArray_m234F13F311E064E3968484D3551C4E51370F8AEA(L_50, L_51, NULL);
}
IL_021a:
{
// if(GerstnerWavesJobs.Initialized == false && Application.isPlaying)
il2cpp_codegen_runtime_class_init_inline(GerstnerWavesJobs_t93D7738515E9961C2592A8DC0BE0BAF4F3EDEFAB_il2cpp_TypeInfo_var);
bool L_52 = ((GerstnerWavesJobs_t93D7738515E9961C2592A8DC0BE0BAF4F3EDEFAB_StaticFields*)il2cpp_codegen_static_fields_for(GerstnerWavesJobs_t93D7738515E9961C2592A8DC0BE0BAF4F3EDEFAB_il2cpp_TypeInfo_var))->___Initialized_0;
if (L_52)
{
goto IL_0228;
}
}
{
bool L_53;
L_53 = Application_get_isPlaying_m0B3B501E1093739F8887A0DAC5F61D9CB49CC337(NULL);
G_B18_0 = ((int32_t)(L_53));
goto IL_0229;
}
IL_0228:
{
G_B18_0 = 0;
}
IL_0229:
{
V_6 = (bool)G_B18_0;
bool L_54 = V_6;
if (!L_54)
{
goto IL_0235;
}
}
{
// GerstnerWavesJobs.Init();
il2cpp_codegen_runtime_class_init_inline(GerstnerWavesJobs_t93D7738515E9961C2592A8DC0BE0BAF4F3EDEFAB_il2cpp_TypeInfo_var);
GerstnerWavesJobs_Init_mF41341E469543965D58C5294B18E01209CAB068D(NULL);
}
IL_0235:
{
// }
return;
}
}
// UnityEngine.Vector4[] WaterSystem.Water::GetWaveData()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector4U5BU5D_tC0F3A7115F85007510F6D173968200CD31BCF7AD* Water_GetWaveData_m74FB2ABDC3BDCD47BAB300C1A7FA7795230EF3FD (Water_t8D0105147A62029CB3B0497FE968F18E33C3D319* __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Vector4U5BU5D_tC0F3A7115F85007510F6D173968200CD31BCF7AD_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
Vector4U5BU5D_tC0F3A7115F85007510F6D173968200CD31BCF7AD* V_0 = NULL;
int32_t V_1 = 0;
bool V_2 = false;
Vector4U5BU5D_tC0F3A7115F85007510F6D173968200CD31BCF7AD* V_3 = NULL;
{
// var waveData = new Vector4[20];
Vector4U5BU5D_tC0F3A7115F85007510F6D173968200CD31BCF7AD* L_0 = (Vector4U5BU5D_tC0F3A7115F85007510F6D173968200CD31BCF7AD*)(Vector4U5BU5D_tC0F3A7115F85007510F6D173968200CD31BCF7AD*)SZArrayNew(Vector4U5BU5D_tC0F3A7115F85007510F6D173968200CD31BCF7AD_il2cpp_TypeInfo_var, (uint32_t)((int32_t)20));
V_0 = L_0;
// for (var i = 0; i < _waves.Length; i++)
V_1 = 0;
goto IL_00ab;
}
IL_0010:
{
// waveData[i] = new Vector4(_waves[i].amplitude, _waves[i].direction, _waves[i].wavelength, _waves[i].onmiDir);
Vector4U5BU5D_tC0F3A7115F85007510F6D173968200CD31BCF7AD* L_1 = V_0;
int32_t L_2 = V_1;
WaveU5BU5D_t464305B39C1E1AA8D0E58528BC0562C10AB70BC5* L_3 = __this->____waves_12;
int32_t L_4 = V_1;
NullCheck(L_3);
float L_5 = ((L_3)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_4)))->___amplitude_0;
WaveU5BU5D_t464305B39C1E1AA8D0E58528BC0562C10AB70BC5* L_6 = __this->____waves_12;
int32_t L_7 = V_1;
NullCheck(L_6);
float L_8 = ((L_6)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_7)))->___direction_1;
WaveU5BU5D_t464305B39C1E1AA8D0E58528BC0562C10AB70BC5* L_9 = __this->____waves_12;
int32_t L_10 = V_1;
NullCheck(L_9);
float L_11 = ((L_9)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_10)))->___wavelength_2;
WaveU5BU5D_t464305B39C1E1AA8D0E58528BC0562C10AB70BC5* L_12 = __this->____waves_12;
int32_t L_13 = V_1;
NullCheck(L_12);
float L_14 = ((L_12)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_13)))->___onmiDir_4;
Vector4_t58B63D32F48C0DBF50DE2C60794C4676C80EDBE3 L_15;
memset((&L_15), 0, sizeof(L_15));
Vector4__ctor_m96B2CD8B862B271F513AF0BDC2EABD58E4DBC813_inline((&L_15), L_5, L_8, L_11, L_14, /*hidden argument*/NULL);
NullCheck(L_1);
(L_1)->SetAt(static_cast<il2cpp_array_size_t>(L_2), (Vector4_t58B63D32F48C0DBF50DE2C60794C4676C80EDBE3)L_15);
// waveData[i+10] = new Vector4(_waves[i].origin.x, _waves[i].origin.y, 0, 0);
Vector4U5BU5D_tC0F3A7115F85007510F6D173968200CD31BCF7AD* L_16 = V_0;
int32_t L_17 = V_1;
WaveU5BU5D_t464305B39C1E1AA8D0E58528BC0562C10AB70BC5* L_18 = __this->____waves_12;
int32_t L_19 = V_1;
NullCheck(L_18);
float2_t24AA5C0F612B0672315EDAFEC9D9E7F1C4A5B0BA* L_20 = (&((L_18)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_19)))->___origin_3);
float L_21 = L_20->___x_0;
WaveU5BU5D_t464305B39C1E1AA8D0E58528BC0562C10AB70BC5* L_22 = __this->____waves_12;
int32_t L_23 = V_1;
NullCheck(L_22);
float2_t24AA5C0F612B0672315EDAFEC9D9E7F1C4A5B0BA* L_24 = (&((L_22)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_23)))->___origin_3);
float L_25 = L_24->___y_1;
Vector4_t58B63D32F48C0DBF50DE2C60794C4676C80EDBE3 L_26;
memset((&L_26), 0, sizeof(L_26));
Vector4__ctor_m96B2CD8B862B271F513AF0BDC2EABD58E4DBC813_inline((&L_26), L_21, L_25, (0.0f), (0.0f), /*hidden argument*/NULL);
NullCheck(L_16);
(L_16)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add(L_17, ((int32_t)10)))), (Vector4_t58B63D32F48C0DBF50DE2C60794C4676C80EDBE3)L_26);
// for (var i = 0; i < _waves.Length; i++)
int32_t L_27 = V_1;
V_1 = ((int32_t)il2cpp_codegen_add(L_27, 1));
}
IL_00ab:
{
// for (var i = 0; i < _waves.Length; i++)
int32_t L_28 = V_1;
WaveU5BU5D_t464305B39C1E1AA8D0E58528BC0562C10AB70BC5* L_29 = __this->____waves_12;
NullCheck(L_29);
V_2 = (bool)((((int32_t)L_28) < ((int32_t)((int32_t)(((RuntimeArray*)L_29)->max_length))))? 1 : 0);
bool L_30 = V_2;
if (L_30)
{
goto IL_0010;
}
}
{
// return waveData;
Vector4U5BU5D_tC0F3A7115F85007510F6D173968200CD31BCF7AD* L_31 = V_0;
V_3 = L_31;
goto IL_00c1;
}
IL_00c1:
{
// }
Vector4U5BU5D_tC0F3A7115F85007510F6D173968200CD31BCF7AD* L_32 = V_3;
return L_32;
}
}
// System.Void WaterSystem.Water::SetupWaves(System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Water_SetupWaves_m0D4FA257E41D3B352424DEF811B4F764B0D9A000 (Water_t8D0105147A62029CB3B0497FE968F18E33C3D319* __this, bool ___custom0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_ToArray_m6044057B54DA2B3B740EE5B83B885976380DF9BD_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&WaveU5BU5D_t464305B39C1E1AA8D0E58528BC0562C10AB70BC5_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
bool V_0 = false;
State_tA37EB68FE687D41D4B228462D4C7427FAC5BF9C1 V_1;
memset((&V_1), 0, sizeof(V_1));
BasicWaves_tC7BCDF12B18FB4126AB8A0BCC8CD1DCC33156D96* V_2 = NULL;
float V_3 = 0.0f;
float V_4 = 0.0f;
float V_5 = 0.0f;
int32_t V_6 = 0;
float V_7 = 0.0f;
int32_t V_8 = 0;
float V_9 = 0.0f;
float V_10 = 0.0f;
float V_11 = 0.0f;
float V_12 = 0.0f;
bool V_13 = false;
{
// if(!custom)
bool L_0 = ___custom0;
V_0 = (bool)((((int32_t)L_0) == ((int32_t)0))? 1 : 0);
bool L_1 = V_0;
if (!L_1)
{
goto IL_0121;
}
}
{
// var backupSeed = Random.state;
State_tA37EB68FE687D41D4B228462D4C7427FAC5BF9C1 L_2;
L_2 = Random_get_state_mFAD991B203C7A35EA603A4B72D8955CEF420234F(NULL);
V_1 = L_2;
// Random.InitState(surfaceData.randomSeed);
WaterSurfaceData_t69017B077D8A40D429E217EE688B9C5AE831D87B* L_3 = __this->___surfaceData_17;
NullCheck(L_3);
int32_t L_4 = L_3->___randomSeed_9;
Random_InitState_m734272C185A487994FC63FA9950BA74D573CDFF8(L_4, NULL);
// var basicWaves = surfaceData._basicWaveSettings;
WaterSurfaceData_t69017B077D8A40D429E217EE688B9C5AE831D87B* L_5 = __this->___surfaceData_17;
NullCheck(L_5);
BasicWaves_tC7BCDF12B18FB4126AB8A0BCC8CD1DCC33156D96* L_6 = L_5->____basicWaveSettings_10;
V_2 = L_6;
// var a = basicWaves.amplitude;
BasicWaves_tC7BCDF12B18FB4126AB8A0BCC8CD1DCC33156D96* L_7 = V_2;
NullCheck(L_7);
float L_8 = L_7->___amplitude_1;
V_3 = L_8;
// var d = basicWaves.direction;
BasicWaves_tC7BCDF12B18FB4126AB8A0BCC8CD1DCC33156D96* L_9 = V_2;
NullCheck(L_9);
float L_10 = L_9->___direction_2;
V_4 = L_10;
// var l = basicWaves.wavelength;
BasicWaves_tC7BCDF12B18FB4126AB8A0BCC8CD1DCC33156D96* L_11 = V_2;
NullCheck(L_11);
float L_12 = L_11->___wavelength_3;
V_5 = L_12;
// var numWave = basicWaves.numWaves;
BasicWaves_tC7BCDF12B18FB4126AB8A0BCC8CD1DCC33156D96* L_13 = V_2;
NullCheck(L_13);
int32_t L_14 = L_13->___numWaves_0;
V_6 = L_14;
// _waves = new Wave[numWave];
int32_t L_15 = V_6;
WaveU5BU5D_t464305B39C1E1AA8D0E58528BC0562C10AB70BC5* L_16 = (WaveU5BU5D_t464305B39C1E1AA8D0E58528BC0562C10AB70BC5*)(WaveU5BU5D_t464305B39C1E1AA8D0E58528BC0562C10AB70BC5*)SZArrayNew(WaveU5BU5D_t464305B39C1E1AA8D0E58528BC0562C10AB70BC5_il2cpp_TypeInfo_var, (uint32_t)L_15);
__this->____waves_12 = L_16;
Il2CppCodeGenWriteBarrier((void**)(&__this->____waves_12), (void*)L_16);
// var r = 1f / numWave;
int32_t L_17 = V_6;
V_7 = ((float)((1.0f)/((float)L_17)));
// for (var i = 0; i < numWave; i++)
V_8 = 0;
goto IL_0108;
}
IL_006f:
{
// var p = Mathf.Lerp(0.5f, 1.5f, i * r);
int32_t L_18 = V_8;
float L_19 = V_7;
float L_20;
L_20 = Mathf_Lerp_mFB4910B358B986AFB22114ED90458E8341867479_inline((0.5f), (1.5f), ((float)il2cpp_codegen_multiply(((float)L_18), L_19)), NULL);
V_9 = L_20;
// var amp = a * p * Random.Range(0.8f, 1.2f);
float L_21 = V_3;
float L_22 = V_9;
float L_23;
L_23 = Random_Range_mF26F26EB446B76823B4815C91FA0907B484DF02B((0.800000012f), (1.20000005f), NULL);
V_10 = ((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_multiply(L_21, L_22)), L_23));
// var dir = d + Random.Range(-90f, 90f);
float L_24 = V_4;
float L_25;
L_25 = Random_Range_mF26F26EB446B76823B4815C91FA0907B484DF02B((-90.0f), (90.0f), NULL);
V_11 = ((float)il2cpp_codegen_add(L_24, L_25));
// var len = l * p * Random.Range(0.6f, 1.4f);
float L_26 = V_5;
float L_27 = V_9;
float L_28;
L_28 = Random_Range_mF26F26EB446B76823B4815C91FA0907B484DF02B((0.600000024f), (1.39999998f), NULL);
V_12 = ((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_multiply(L_26, L_27)), L_28));
// _waves[i] = new Wave(amp, dir, len, Vector2.zero, false);
WaveU5BU5D_t464305B39C1E1AA8D0E58528BC0562C10AB70BC5* L_29 = __this->____waves_12;
int32_t L_30 = V_8;
float L_31 = V_10;
float L_32 = V_11;
float L_33 = V_12;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_34;
L_34 = Vector2_get_zero_m009B92B5D35AB02BD1610C2E1ACCE7C9CF964A6E_inline(NULL);
float2_t24AA5C0F612B0672315EDAFEC9D9E7F1C4A5B0BA L_35;
L_35 = float2_op_Implicit_m8E75C8507A36C26109E6ECAAF56FAA38279493D0(L_34, NULL);
Wave_t98FB676A74FA3481325B501BF6AFA3A4B02D64CB L_36;
memset((&L_36), 0, sizeof(L_36));
Wave__ctor_m54DA9784CE63B5AE16B1902D59443A9CA0B3BB04((&L_36), L_31, L_32, L_33, L_35, (bool)0, /*hidden argument*/NULL);
NullCheck(L_29);
(L_29)->SetAt(static_cast<il2cpp_array_size_t>(L_30), (Wave_t98FB676A74FA3481325B501BF6AFA3A4B02D64CB)L_36);
// Random.InitState(surfaceData.randomSeed + i + 1);
WaterSurfaceData_t69017B077D8A40D429E217EE688B9C5AE831D87B* L_37 = __this->___surfaceData_17;
NullCheck(L_37);
int32_t L_38 = L_37->___randomSeed_9;
int32_t L_39 = V_8;
Random_InitState_m734272C185A487994FC63FA9950BA74D573CDFF8(((int32_t)il2cpp_codegen_add(((int32_t)il2cpp_codegen_add(L_38, L_39)), 1)), NULL);
// for (var i = 0; i < numWave; i++)
int32_t L_40 = V_8;
V_8 = ((int32_t)il2cpp_codegen_add(L_40, 1));
}
IL_0108:
{
// for (var i = 0; i < numWave; i++)
int32_t L_41 = V_8;
int32_t L_42 = V_6;
V_13 = (bool)((((int32_t)L_41) < ((int32_t)L_42))? 1 : 0);
bool L_43 = V_13;
if (L_43)
{
goto IL_006f;
}
}
{
// Random.state = backupSeed;
State_tA37EB68FE687D41D4B228462D4C7427FAC5BF9C1 L_44 = V_1;
Random_set_state_m350D9947EE0DBB1C1D14C5C74E2112C88BAA8CCC(L_44, NULL);
goto IL_0139;
}
IL_0121:
{
// _waves = surfaceData._waves.ToArray();
WaterSurfaceData_t69017B077D8A40D429E217EE688B9C5AE831D87B* L_45 = __this->___surfaceData_17;
NullCheck(L_45);
List_1_tBC238FE9E191BC345C4C774C9917EFB6D9B7F1CC* L_46 = L_45->____waves_7;
NullCheck(L_46);
WaveU5BU5D_t464305B39C1E1AA8D0E58528BC0562C10AB70BC5* L_47;
L_47 = List_1_ToArray_m6044057B54DA2B3B740EE5B83B885976380DF9BD(L_46, List_1_ToArray_m6044057B54DA2B3B740EE5B83B885976380DF9BD_RuntimeMethod_var);
__this->____waves_12 = L_47;
Il2CppCodeGenWriteBarrier((void**)(&__this->____waves_12), (void*)L_47);
}
IL_0139:
{
// }
return;
}
}
// System.Void WaterSystem.Water::GenerateColorRamp()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Water_GenerateColorRamp_mDE2229361F339B0FE04E8E781517F08B1301005A (Water_t8D0105147A62029CB3B0497FE968F18E33C3D319* __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ColorU5BU5D_t612261CF293F6FFC3D80AB52259FF0DC2B2CC389_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Water_t8D0105147A62029CB3B0497FE968F18E33C3D319_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4* V_0 = NULL;
ColorU5BU5D_t612261CF293F6FFC3D80AB52259FF0DC2B2CC389* V_1 = NULL;
bool V_2 = false;
int32_t V_3 = 0;
bool V_4 = false;
int32_t V_5 = 0;
bool V_6 = false;
int32_t V_7 = 0;
int32_t V_8 = 0;
int32_t V_9 = 0;
bool V_10 = false;
{
// if(_rampTexture == null)
Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4* L_0 = __this->____rampTexture_11;
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
bool L_1;
L_1 = Object_op_Equality_mD3DB0D72CE0250C84033DC2A90AEF9D59896E536(L_0, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
V_2 = L_1;
bool L_2 = V_2;
if (!L_2)
{
goto IL_0024;
}
}
{
// _rampTexture = new Texture2D(128, 4, GraphicsFormat.R8G8B8A8_SRGB, TextureCreationFlags.None);
Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4* L_3 = (Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4*)il2cpp_codegen_object_new(Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4_il2cpp_TypeInfo_var);
NullCheck(L_3);
Texture2D__ctor_m2E76254260C768B5D64D1664EE3929D198766CEF(L_3, ((int32_t)128), 4, 4, 0, NULL);
__this->____rampTexture_11 = L_3;
Il2CppCodeGenWriteBarrier((void**)(&__this->____rampTexture_11), (void*)L_3);
}
IL_0024:
{
// _rampTexture.wrapMode = TextureWrapMode.Clamp;
Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4* L_4 = __this->____rampTexture_11;
NullCheck(L_4);
Texture_set_wrapMode_m1F74A690E3883EC9C5C371D502D09642F15D0F7E(L_4, 1, NULL);
// var defaultFoamRamp = resources.defaultFoamRamp;
WaterResources_t314516FE58A01D31093FF9936D7DA8F2D455EAAE* L_5 = __this->___resources_18;
NullCheck(L_5);
Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4* L_6 = L_5->___defaultFoamRamp_4;
V_0 = L_6;
// var cols = new Color[512];
ColorU5BU5D_t612261CF293F6FFC3D80AB52259FF0DC2B2CC389* L_7 = (ColorU5BU5D_t612261CF293F6FFC3D80AB52259FF0DC2B2CC389*)(ColorU5BU5D_t612261CF293F6FFC3D80AB52259FF0DC2B2CC389*)SZArrayNew(ColorU5BU5D_t612261CF293F6FFC3D80AB52259FF0DC2B2CC389_il2cpp_TypeInfo_var, (uint32_t)((int32_t)512));
V_1 = L_7;
// for (var i = 0; i < 128; i++)
V_3 = 0;
goto IL_0071;
}
IL_004c:
{
// cols[i] = surfaceData._absorptionRamp.Evaluate(i / 128f);
ColorU5BU5D_t612261CF293F6FFC3D80AB52259FF0DC2B2CC389* L_8 = V_1;
int32_t L_9 = V_3;
WaterSurfaceData_t69017B077D8A40D429E217EE688B9C5AE831D87B* L_10 = __this->___surfaceData_17;
NullCheck(L_10);
Gradient_tA7FEBE2FDB4929FFF6C997134841046F713DAC1E* L_11 = L_10->____absorptionRamp_5;
int32_t L_12 = V_3;
NullCheck(L_11);
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_13;
L_13 = Gradient_Evaluate_m332A32F48EA3F884CB55D74131DF8064F29F9C32(L_11, ((float)(((float)L_12)/(128.0f))), NULL);
NullCheck(L_8);
(L_8)->SetAt(static_cast<il2cpp_array_size_t>(L_9), (Color_tD001788D726C3A7F1379BEED0260B9591F440C1F)L_13);
// for (var i = 0; i < 128; i++)
int32_t L_14 = V_3;
V_3 = ((int32_t)il2cpp_codegen_add(L_14, 1));
}
IL_0071:
{
// for (var i = 0; i < 128; i++)
int32_t L_15 = V_3;
V_4 = (bool)((((int32_t)L_15) < ((int32_t)((int32_t)128)))? 1 : 0);
bool L_16 = V_4;
if (L_16)
{
goto IL_004c;
}
}
{
// for (var i = 0; i < 128; i++)
V_5 = 0;
goto IL_00b3;
}
IL_0084:
{
// cols[i + 128] = surfaceData._scatterRamp.Evaluate(i / 128f);
ColorU5BU5D_t612261CF293F6FFC3D80AB52259FF0DC2B2CC389* L_17 = V_1;
int32_t L_18 = V_5;
WaterSurfaceData_t69017B077D8A40D429E217EE688B9C5AE831D87B* L_19 = __this->___surfaceData_17;
NullCheck(L_19);
Gradient_tA7FEBE2FDB4929FFF6C997134841046F713DAC1E* L_20 = L_19->____scatterRamp_6;
int32_t L_21 = V_5;
NullCheck(L_20);
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_22;
L_22 = Gradient_Evaluate_m332A32F48EA3F884CB55D74131DF8064F29F9C32(L_20, ((float)(((float)L_21)/(128.0f))), NULL);
NullCheck(L_17);
(L_17)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add(L_18, ((int32_t)128)))), (Color_tD001788D726C3A7F1379BEED0260B9591F440C1F)L_22);
// for (var i = 0; i < 128; i++)
int32_t L_23 = V_5;
V_5 = ((int32_t)il2cpp_codegen_add(L_23, 1));
}
IL_00b3:
{
// for (var i = 0; i < 128; i++)
int32_t L_24 = V_5;
V_6 = (bool)((((int32_t)L_24) < ((int32_t)((int32_t)128)))? 1 : 0);
bool L_25 = V_6;
if (L_25)
{
goto IL_0084;
}
}
{
// for (var i = 0; i < 128; i++)
V_7 = 0;
goto IL_016f;
}
IL_00ca:
{
// switch(surfaceData._foamSettings.foamType)
WaterSurfaceData_t69017B077D8A40D429E217EE688B9C5AE831D87B* L_26 = __this->___surfaceData_17;
NullCheck(L_26);
FoamSettings_tAB393D4E610A9219CD0C021238F8A18B0839608E* L_27 = L_26->____foamSettings_11;
NullCheck(L_27);
int32_t L_28 = L_27->___foamType_0;
V_9 = L_28;
int32_t L_29 = V_9;
V_8 = L_29;
int32_t L_30 = V_8;
switch (L_30)
{
case 0:
{
goto IL_00f6;
}
case 1:
{
goto IL_011a;
}
case 2:
{
goto IL_0153;
}
}
}
{
goto IL_0168;
}
IL_00f6:
{
// cols[i + 256] = defaultFoamRamp.GetPixelBilinear(i / 128f , 0.5f);
ColorU5BU5D_t612261CF293F6FFC3D80AB52259FF0DC2B2CC389* L_31 = V_1;
int32_t L_32 = V_7;
Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4* L_33 = V_0;
int32_t L_34 = V_7;
NullCheck(L_33);
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_35;
L_35 = Texture2D_GetPixelBilinear_m6AE4AF4FD181C478DF0F2C5C329F22A263ABFF5C(L_33, ((float)(((float)L_34)/(128.0f))), (0.5f), NULL);
NullCheck(L_31);
(L_31)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add(L_32, ((int32_t)256)))), (Color_tD001788D726C3A7F1379BEED0260B9591F440C1F)L_35);
// break;
goto IL_0168;
}
IL_011a:
{
// cols[i + 256] = defaultFoamRamp.GetPixelBilinear(surfaceData._foamSettings.basicFoam.Evaluate(i / 128f) , 0.5f);
ColorU5BU5D_t612261CF293F6FFC3D80AB52259FF0DC2B2CC389* L_36 = V_1;
int32_t L_37 = V_7;
Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4* L_38 = V_0;
WaterSurfaceData_t69017B077D8A40D429E217EE688B9C5AE831D87B* L_39 = __this->___surfaceData_17;
NullCheck(L_39);
FoamSettings_tAB393D4E610A9219CD0C021238F8A18B0839608E* L_40 = L_39->____foamSettings_11;
NullCheck(L_40);
AnimationCurve_tCBFFAAD05CEBB35EF8D8631BD99914BE1A6BB354* L_41 = L_40->___basicFoam_1;
int32_t L_42 = V_7;
NullCheck(L_41);
float L_43;
L_43 = AnimationCurve_Evaluate_m50B857043DE251A186032ADBCBB4CEF817F4EE3C(L_41, ((float)(((float)L_42)/(128.0f))), NULL);
NullCheck(L_38);
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_44;
L_44 = Texture2D_GetPixelBilinear_m6AE4AF4FD181C478DF0F2C5C329F22A263ABFF5C(L_38, L_43, (0.5f), NULL);
NullCheck(L_36);
(L_36)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add(L_37, ((int32_t)256)))), (Color_tD001788D726C3A7F1379BEED0260B9591F440C1F)L_44);
// break;
goto IL_0168;
}
IL_0153:
{
// cols[i + 256] = Color.black;
ColorU5BU5D_t612261CF293F6FFC3D80AB52259FF0DC2B2CC389* L_45 = V_1;
int32_t L_46 = V_7;
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_47;
L_47 = Color_get_black_mBF96B603B41BED9BAFAA10CE8D946D24260F9729_inline(NULL);
NullCheck(L_45);
(L_45)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add(L_46, ((int32_t)256)))), (Color_tD001788D726C3A7F1379BEED0260B9591F440C1F)L_47);
// break;
goto IL_0168;
}
IL_0168:
{
// for (var i = 0; i < 128; i++)
int32_t L_48 = V_7;
V_7 = ((int32_t)il2cpp_codegen_add(L_48, 1));
}
IL_016f:
{
// for (var i = 0; i < 128; i++)
int32_t L_49 = V_7;
V_10 = (bool)((((int32_t)L_49) < ((int32_t)((int32_t)128)))? 1 : 0);
bool L_50 = V_10;
if (L_50)
{
goto IL_00ca;
}
}
{
// _rampTexture.SetPixels(cols);
Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4* L_51 = __this->____rampTexture_11;
ColorU5BU5D_t612261CF293F6FFC3D80AB52259FF0DC2B2CC389* L_52 = V_1;
NullCheck(L_51);
Texture2D_SetPixels_mAE0CDFA15FA96F840D7FFADC31405D8AF20D9073(L_51, L_52, NULL);
// _rampTexture.Apply();
Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4* L_53 = __this->____rampTexture_11;
NullCheck(L_53);
Texture2D_Apply_mA014182C9EE0BBF6EEE3B286854F29E50EB972DC(L_53, NULL);
// Shader.SetGlobalTexture(AbsorptionScatteringRamp, _rampTexture);
il2cpp_codegen_runtime_class_init_inline(Water_t8D0105147A62029CB3B0497FE968F18E33C3D319_il2cpp_TypeInfo_var);
int32_t L_54 = ((Water_t8D0105147A62029CB3B0497FE968F18E33C3D319_StaticFields*)il2cpp_codegen_static_fields_for(Water_t8D0105147A62029CB3B0497FE968F18E33C3D319_il2cpp_TypeInfo_var))->___AbsorptionScatteringRamp_31;
Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4* L_55 = __this->____rampTexture_11;
Shader_SetGlobalTexture_m4DF21A2D64AA4CF5B3A77BBBCA33D5195308BE2E(L_54, L_55, NULL);
// }
return;
}
}
// System.Void WaterSystem.Water::CaptureDepthMap()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Water_CaptureDepthMap_m1F6F67C77CD1874CD9AC7A1BAD6CC37DA9DCBCF1 (Water_t8D0105147A62029CB3B0497FE968F18E33C3D319* __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&GameObject_AddComponent_TisCamera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184_m0933BC50E883CDEF6FA83FE190DA37CCB2802142_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&GameObject_t76FEDD663AB33C991A9C9A23129337651094216F_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&RenderTexture_tBA90C4C3AD9EECCFDDCC632D97C29FAB80D60D27_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Water_t8D0105147A62029CB3B0497FE968F18E33C3D319_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral7A4C2703D5A4D2F0D7B212F2F539490BA3BE47D9);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral7E5C34DBD3FA78A845A3F6A9E91CF982C5ABB2F5);
s_Il2CppMethodInitialized = true;
}
UniversalAdditionalCameraData_t57B5D0F93C2D506E618E23187302C0FADE813B93* V_0 = NULL;
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* V_1 = NULL;
float V_2 = 0.0f;
Vector4_t58B63D32F48C0DBF50DE2C60794C4676C80EDBE3 V_3;
memset((&V_3), 0, sizeof(V_3));
bool V_4 = false;
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* V_5 = NULL;
bool V_6 = false;
bool V_7 = false;
int32_t G_B7_0 = 0;
{
// if(_depthCam == null)
Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184* L_0 = __this->____depthCam_10;
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
bool L_1;
L_1 = Object_op_Equality_mD3DB0D72CE0250C84033DC2A90AEF9D59896E536(L_0, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
V_4 = L_1;
bool L_2 = V_4;
if (!L_2)
{
goto IL_0037;
}
}
{
// var go =
// new GameObject("depthCamera") {hideFlags = HideFlags.HideAndDontSave}; //create the cameraObject
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* L_3 = (GameObject_t76FEDD663AB33C991A9C9A23129337651094216F*)il2cpp_codegen_object_new(GameObject_t76FEDD663AB33C991A9C9A23129337651094216F_il2cpp_TypeInfo_var);
NullCheck(L_3);
GameObject__ctor_m37D512B05D292F954792225E6C6EEE95293A9B88(L_3, _stringLiteral7A4C2703D5A4D2F0D7B212F2F539490BA3BE47D9, NULL);
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* L_4 = L_3;
NullCheck(L_4);
Object_set_hideFlags_mACB8BFC903FB3B01BBD427753E791BF28B5E33D4(L_4, ((int32_t)61), NULL);
V_5 = L_4;
// _depthCam = go.AddComponent<Camera>();
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* L_5 = V_5;
NullCheck(L_5);
Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184* L_6;
L_6 = GameObject_AddComponent_TisCamera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184_m0933BC50E883CDEF6FA83FE190DA37CCB2802142(L_5, GameObject_AddComponent_TisCamera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184_m0933BC50E883CDEF6FA83FE190DA37CCB2802142_RuntimeMethod_var);
__this->____depthCam_10 = L_6;
Il2CppCodeGenWriteBarrier((void**)(&__this->____depthCam_10), (void*)L_6);
}
IL_0037:
{
// var additionalCamData = _depthCam.GetUniversalAdditionalCameraData();
Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184* L_7 = __this->____depthCam_10;
UniversalAdditionalCameraData_t57B5D0F93C2D506E618E23187302C0FADE813B93* L_8;
L_8 = CameraExtensions_GetUniversalAdditionalCameraData_m9569F6B752EB0C211CCBA55A68396E2C95BED0C1(L_7, NULL);
V_0 = L_8;
// additionalCamData.renderShadows = false;
UniversalAdditionalCameraData_t57B5D0F93C2D506E618E23187302C0FADE813B93* L_9 = V_0;
NullCheck(L_9);
UniversalAdditionalCameraData_set_renderShadows_m435F35FAAF4700DC51E6A806D2BEF8A01A3A010B_inline(L_9, (bool)0, NULL);
// additionalCamData.requiresColorOption = CameraOverrideOption.Off;
UniversalAdditionalCameraData_t57B5D0F93C2D506E618E23187302C0FADE813B93* L_10 = V_0;
NullCheck(L_10);
UniversalAdditionalCameraData_set_requiresColorOption_m70A4CD657A3C82549B7159183BEB50131E7C59AA_inline(L_10, 0, NULL);
// additionalCamData.requiresDepthOption = CameraOverrideOption.Off;
UniversalAdditionalCameraData_t57B5D0F93C2D506E618E23187302C0FADE813B93* L_11 = V_0;
NullCheck(L_11);
UniversalAdditionalCameraData_set_requiresDepthOption_m7BA4C2691693C5175B57BACC7750A2FCC88DFA62_inline(L_11, 0, NULL);
// var t = _depthCam.transform;
Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184* L_12 = __this->____depthCam_10;
NullCheck(L_12);
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_13;
L_13 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(L_12, NULL);
V_1 = L_13;
// var depthExtra = 4.0f;
V_2 = (4.0f);
// t.position = Vector3.up * (transform.position.y + depthExtra);//center the camera on this water plane height
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_14 = V_1;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_15;
L_15 = Vector3_get_up_mAB5269BFCBCB1BD241450C9BF2F156303D30E0C3_inline(NULL);
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_16;
L_16 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(__this, NULL);
NullCheck(L_16);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_17;
L_17 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_16, NULL);
float L_18 = L_17.___y_3;
float L_19 = V_2;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_20;
L_20 = Vector3_op_Multiply_m516FE285F5342F922C6EB3FCB33197E9017FF484_inline(L_15, ((float)il2cpp_codegen_add(L_18, L_19)), NULL);
NullCheck(L_14);
Transform_set_position_mA1A817124BB41B685043DED2A9BA48CDF37C4156(L_14, L_20, NULL);
// t.up = Vector3.forward;//face the camera down
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_21 = V_1;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_22;
L_22 = Vector3_get_forward_mEBAB24D77FC02FC88ED880738C3B1D47C758B3EB_inline(NULL);
NullCheck(L_21);
Transform_set_up_m1FBA5A97E5057747AC027AD5897EDE80A554D554(L_21, L_22, NULL);
// _depthCam.enabled = true;
Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184* L_23 = __this->____depthCam_10;
NullCheck(L_23);
Behaviour_set_enabled_mF1DCFE60EB09E0529FE9476CA804A3AA2D72B16A(L_23, (bool)1, NULL);
// _depthCam.orthographic = true;
Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184* L_24 = __this->____depthCam_10;
NullCheck(L_24);
Camera_set_orthographic_m64915C0840A68E526830A69F1C40257206185020(L_24, (bool)1, NULL);
// _depthCam.orthographicSize = 250;//hardcoded = 1k area - TODO
Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184* L_25 = __this->____depthCam_10;
NullCheck(L_25);
Camera_set_orthographicSize_m76DD021032ACB3DDBD052B75EC66DCE3A7295A5C(L_25, (250.0f), NULL);
// _depthCam.nearClipPlane =0.01f;
Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184* L_26 = __this->____depthCam_10;
NullCheck(L_26);
Camera_set_nearClipPlane_m78482B5E4E0CE4C195D9CE0332AA75B2D9CCDDF6(L_26, (0.00999999978f), NULL);
// _depthCam.farClipPlane = surfaceData._waterMaxVisibility + depthExtra;
Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184* L_27 = __this->____depthCam_10;
WaterSurfaceData_t69017B077D8A40D429E217EE688B9C5AE831D87B* L_28 = __this->___surfaceData_17;
NullCheck(L_28);
float L_29 = L_28->____waterMaxVisibility_4;
float L_30 = V_2;
NullCheck(L_27);
Camera_set_farClipPlane_m84EF39B09573168734613481FD979BFF31C60139(L_27, ((float)il2cpp_codegen_add(L_29, L_30)), NULL);
// _depthCam.allowHDR = false;
Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184* L_31 = __this->____depthCam_10;
NullCheck(L_31);
Camera_set_allowHDR_m44211153DAF6DF9A51142EC7760A53777C1F3315(L_31, (bool)0, NULL);
// _depthCam.allowMSAA = false;
Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184* L_32 = __this->____depthCam_10;
NullCheck(L_32);
Camera_set_allowMSAA_m7BE26D3FAAA64202C49DE6CA95C02A85770F8268(L_32, (bool)0, NULL);
// _depthCam.cullingMask = (1 << 10);
Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184* L_33 = __this->____depthCam_10;
NullCheck(L_33);
Camera_set_cullingMask_m14F426710530BA8FA53AEC02F79C418AA558CB32(L_33, ((int32_t)1024), NULL);
// if (!_depthTex)
RenderTexture_tBA90C4C3AD9EECCFDDCC632D97C29FAB80D60D27* L_34 = __this->____depthTex_8;
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
bool L_35;
L_35 = Object_op_Implicit_m18E1885C296CC868AC918101523697CFE6413C79(L_34, NULL);
V_6 = (bool)((((int32_t)L_35) == ((int32_t)0))? 1 : 0);
bool L_36 = V_6;
if (!L_36)
{
goto IL_0149;
}
}
{
// _depthTex = new RenderTexture(1024, 1024, 24, RenderTextureFormat.Depth, RenderTextureReadWrite.Linear);
RenderTexture_tBA90C4C3AD9EECCFDDCC632D97C29FAB80D60D27* L_37 = (RenderTexture_tBA90C4C3AD9EECCFDDCC632D97C29FAB80D60D27*)il2cpp_codegen_object_new(RenderTexture_tBA90C4C3AD9EECCFDDCC632D97C29FAB80D60D27_il2cpp_TypeInfo_var);
NullCheck(L_37);
RenderTexture__ctor_m68A1B9CAA1BE0B597C5F4895C296E21502D0C962(L_37, ((int32_t)1024), ((int32_t)1024), ((int32_t)24), 1, 1, NULL);
__this->____depthTex_8 = L_37;
Il2CppCodeGenWriteBarrier((void**)(&__this->____depthTex_8), (void*)L_37);
}
IL_0149:
{
// if (SystemInfo.graphicsDeviceType == GraphicsDeviceType.OpenGLES2 || SystemInfo.graphicsDeviceType == GraphicsDeviceType.OpenGLES3)
int32_t L_38;
L_38 = SystemInfo_get_graphicsDeviceType_m539E2B66EB19CD100050109D879AF1F55EB212E1(NULL);
if ((((int32_t)L_38) == ((int32_t)8)))
{
goto IL_015c;
}
}
{
int32_t L_39;
L_39 = SystemInfo_get_graphicsDeviceType_m539E2B66EB19CD100050109D879AF1F55EB212E1(NULL);
G_B7_0 = ((((int32_t)L_39) == ((int32_t)((int32_t)11)))? 1 : 0);
goto IL_015d;
}
IL_015c:
{
G_B7_0 = 1;
}
IL_015d:
{
V_7 = (bool)G_B7_0;
bool L_40 = V_7;
if (!L_40)
{
goto IL_0172;
}
}
{
// _depthTex.filterMode = FilterMode.Point;
RenderTexture_tBA90C4C3AD9EECCFDDCC632D97C29FAB80D60D27* L_41 = __this->____depthTex_8;
NullCheck(L_41);
Texture_set_filterMode_mE423E58C0C16D059EA62BA87AD70F44AEA50CCC9(L_41, 0, NULL);
}
IL_0172:
{
// _depthTex.wrapMode = TextureWrapMode.Clamp;
RenderTexture_tBA90C4C3AD9EECCFDDCC632D97C29FAB80D60D27* L_42 = __this->____depthTex_8;
NullCheck(L_42);
Texture_set_wrapMode_m1F74A690E3883EC9C5C371D502D09642F15D0F7E(L_42, 1, NULL);
// _depthTex.name = "WaterDepthMap";
RenderTexture_tBA90C4C3AD9EECCFDDCC632D97C29FAB80D60D27* L_43 = __this->____depthTex_8;
NullCheck(L_43);
Object_set_name_mC79E6DC8FFD72479C90F0C4CC7F42A0FEAF5AE47(L_43, _stringLiteral7E5C34DBD3FA78A845A3F6A9E91CF982C5ABB2F5, NULL);
// _depthCam.targetTexture = _depthTex;
Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184* L_44 = __this->____depthCam_10;
RenderTexture_tBA90C4C3AD9EECCFDDCC632D97C29FAB80D60D27* L_45 = __this->____depthTex_8;
NullCheck(L_44);
Camera_set_targetTexture_mE6C740F21A72DA47FB5B1D31D208710738A836C4(L_44, L_45, NULL);
// _depthCam.Render();
Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184* L_46 = __this->____depthCam_10;
NullCheck(L_46);
Camera_Render_m6089001EB6710DA9A21C87185D65922F13A24509(L_46, NULL);
// Shader.SetGlobalTexture(WaterDepthMap, _depthTex);
il2cpp_codegen_runtime_class_init_inline(Water_t8D0105147A62029CB3B0497FE968F18E33C3D319_il2cpp_TypeInfo_var);
int32_t L_47 = ((Water_t8D0105147A62029CB3B0497FE968F18E33C3D319_StaticFields*)il2cpp_codegen_static_fields_for(Water_t8D0105147A62029CB3B0497FE968F18E33C3D319_il2cpp_TypeInfo_var))->___WaterDepthMap_21;
RenderTexture_tBA90C4C3AD9EECCFDDCC632D97C29FAB80D60D27* L_48 = __this->____depthTex_8;
Shader_SetGlobalTexture_m4DF21A2D64AA4CF5B3A77BBBCA33D5195308BE2E(L_47, L_48, NULL);
// var _params = new Vector4(t.position.y, 250, 0, 0);
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_49 = V_1;
NullCheck(L_49);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_50;
L_50 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_49, NULL);
float L_51 = L_50.___y_3;
Vector4__ctor_m96B2CD8B862B271F513AF0BDC2EABD58E4DBC813_inline((&V_3), L_51, (250.0f), (0.0f), (0.0f), NULL);
// Shader.SetGlobalVector(DepthCamZParams, _params);
int32_t L_52 = ((Water_t8D0105147A62029CB3B0497FE968F18E33C3D319_StaticFields*)il2cpp_codegen_static_fields_for(Water_t8D0105147A62029CB3B0497FE968F18E33C3D319_il2cpp_TypeInfo_var))->___DepthCamZParams_32;
Vector4_t58B63D32F48C0DBF50DE2C60794C4676C80EDBE3 L_53 = V_3;
Shader_SetGlobalVector_m8A7D161EE6CD6D21EAEC6A70E30B5E0897F5A84E(L_52, L_53, NULL);
// _depthCam.enabled = false;
Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184* L_54 = __this->____depthCam_10;
NullCheck(L_54);
Behaviour_set_enabled_mF1DCFE60EB09E0529FE9476CA804A3AA2D72B16A(L_54, (bool)0, NULL);
// _depthCam.targetTexture = null;
Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184* L_55 = __this->____depthCam_10;
NullCheck(L_55);
Camera_set_targetTexture_mE6C740F21A72DA47FB5B1D31D208710738A836C4(L_55, (RenderTexture_tBA90C4C3AD9EECCFDDCC632D97C29FAB80D60D27*)NULL, NULL);
// }
return;
}
}
// System.Void WaterSystem.Water::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Water__ctor_m2460AE8D45ED7884FD4007F1138C990B5D8455E9 (Water_t8D0105147A62029CB3B0497FE968F18E33C3D319* __this, const RuntimeMethod* method)
{
{
MonoBehaviour__ctor_m592DB0105CA0BC97AA1C5F4AD27B12D68A3B7C1E(__this, NULL);
return;
}
}
// System.Void WaterSystem.Water::.cctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Water__cctor_m595E937953EF308B7488B4ED23122CA2D4D9A2B0 (const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Water_t8D0105147A62029CB3B0497FE968F18E33C3D319_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral0249C51CE8C7FD09E6B347E950911396FC4ED87B);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral060F9F310A5FE8CEF266B625740B0717A03B901D);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral11F791DFEF8749C442077BB1289F9EC4548585F7);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral12682F35A93AC2EAAC11A300FF8CE6E327AA6C0D);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral153F6387BAF3E37EE7D33D6F62E56AC8AC2E81BE);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral224F704DBF6AB59B1308A26DD633590AA7F2328C);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral284B4BC4CC23039C1C47572E7560491388529821);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral7689D628F4E53BFF1B9A5F7CBD481793E0D480B9);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral7F8CCF4C40BF6B2D0686C88F7BFC8EB4FD4C2076);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral9754E72B7C7980D0AEA2FA6A01D9D15D91C86EEE);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralA5450FCDD23B07DF156776C46752CD7F6C50DDF3);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralA5D45491525886D74C125D27A723A559E36BDA79);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralE79AE536975E96591357EA5533F095F6E75B5545);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralEC1C3E29FB14580D5531CF358AE6196FFF53725D);
s_Il2CppMethodInitialized = true;
}
{
// private static readonly int CameraRoll = Shader.PropertyToID("_CameraRoll");
int32_t L_0;
L_0 = Shader_PropertyToID_mF5F7BA2EFF23D83482ECDE4C34227145D817B1EB(_stringLiteral7F8CCF4C40BF6B2D0686C88F7BFC8EB4FD4C2076, NULL);
((Water_t8D0105147A62029CB3B0497FE968F18E33C3D319_StaticFields*)il2cpp_codegen_static_fields_for(Water_t8D0105147A62029CB3B0497FE968F18E33C3D319_il2cpp_TypeInfo_var))->___CameraRoll_19 = L_0;
// private static readonly int InvViewProjection = Shader.PropertyToID("_InvViewProjection");
int32_t L_1;
L_1 = Shader_PropertyToID_mF5F7BA2EFF23D83482ECDE4C34227145D817B1EB(_stringLiteral060F9F310A5FE8CEF266B625740B0717A03B901D, NULL);
((Water_t8D0105147A62029CB3B0497FE968F18E33C3D319_StaticFields*)il2cpp_codegen_static_fields_for(Water_t8D0105147A62029CB3B0497FE968F18E33C3D319_il2cpp_TypeInfo_var))->___InvViewProjection_20 = L_1;
// private static readonly int WaterDepthMap = Shader.PropertyToID("_WaterDepthMap");
int32_t L_2;
L_2 = Shader_PropertyToID_mF5F7BA2EFF23D83482ECDE4C34227145D817B1EB(_stringLiteral224F704DBF6AB59B1308A26DD633590AA7F2328C, NULL);
((Water_t8D0105147A62029CB3B0497FE968F18E33C3D319_StaticFields*)il2cpp_codegen_static_fields_for(Water_t8D0105147A62029CB3B0497FE968F18E33C3D319_il2cpp_TypeInfo_var))->___WaterDepthMap_21 = L_2;
// private static readonly int FoamMap = Shader.PropertyToID("_FoamMap");
int32_t L_3;
L_3 = Shader_PropertyToID_mF5F7BA2EFF23D83482ECDE4C34227145D817B1EB(_stringLiteral7689D628F4E53BFF1B9A5F7CBD481793E0D480B9, NULL);
((Water_t8D0105147A62029CB3B0497FE968F18E33C3D319_StaticFields*)il2cpp_codegen_static_fields_for(Water_t8D0105147A62029CB3B0497FE968F18E33C3D319_il2cpp_TypeInfo_var))->___FoamMap_22 = L_3;
// private static readonly int SurfaceMap = Shader.PropertyToID("_SurfaceMap");
int32_t L_4;
L_4 = Shader_PropertyToID_mF5F7BA2EFF23D83482ECDE4C34227145D817B1EB(_stringLiteral0249C51CE8C7FD09E6B347E950911396FC4ED87B, NULL);
((Water_t8D0105147A62029CB3B0497FE968F18E33C3D319_StaticFields*)il2cpp_codegen_static_fields_for(Water_t8D0105147A62029CB3B0497FE968F18E33C3D319_il2cpp_TypeInfo_var))->___SurfaceMap_23 = L_4;
// private static readonly int WaveHeight = Shader.PropertyToID("_WaveHeight");
int32_t L_5;
L_5 = Shader_PropertyToID_mF5F7BA2EFF23D83482ECDE4C34227145D817B1EB(_stringLiteralE79AE536975E96591357EA5533F095F6E75B5545, NULL);
((Water_t8D0105147A62029CB3B0497FE968F18E33C3D319_StaticFields*)il2cpp_codegen_static_fields_for(Water_t8D0105147A62029CB3B0497FE968F18E33C3D319_il2cpp_TypeInfo_var))->___WaveHeight_24 = L_5;
// private static readonly int MaxWaveHeight = Shader.PropertyToID("_MaxWaveHeight");
int32_t L_6;
L_6 = Shader_PropertyToID_mF5F7BA2EFF23D83482ECDE4C34227145D817B1EB(_stringLiteral12682F35A93AC2EAAC11A300FF8CE6E327AA6C0D, NULL);
((Water_t8D0105147A62029CB3B0497FE968F18E33C3D319_StaticFields*)il2cpp_codegen_static_fields_for(Water_t8D0105147A62029CB3B0497FE968F18E33C3D319_il2cpp_TypeInfo_var))->___MaxWaveHeight_25 = L_6;
// private static readonly int MaxDepth = Shader.PropertyToID("_MaxDepth");
int32_t L_7;
L_7 = Shader_PropertyToID_mF5F7BA2EFF23D83482ECDE4C34227145D817B1EB(_stringLiteral153F6387BAF3E37EE7D33D6F62E56AC8AC2E81BE, NULL);
((Water_t8D0105147A62029CB3B0497FE968F18E33C3D319_StaticFields*)il2cpp_codegen_static_fields_for(Water_t8D0105147A62029CB3B0497FE968F18E33C3D319_il2cpp_TypeInfo_var))->___MaxDepth_26 = L_7;
// private static readonly int WaveCount = Shader.PropertyToID("_WaveCount");
int32_t L_8;
L_8 = Shader_PropertyToID_mF5F7BA2EFF23D83482ECDE4C34227145D817B1EB(_stringLiteralA5D45491525886D74C125D27A723A559E36BDA79, NULL);
((Water_t8D0105147A62029CB3B0497FE968F18E33C3D319_StaticFields*)il2cpp_codegen_static_fields_for(Water_t8D0105147A62029CB3B0497FE968F18E33C3D319_il2cpp_TypeInfo_var))->___WaveCount_27 = L_8;
// private static readonly int CubemapTexture = Shader.PropertyToID("_CubemapTexture");
int32_t L_9;
L_9 = Shader_PropertyToID_mF5F7BA2EFF23D83482ECDE4C34227145D817B1EB(_stringLiteral9754E72B7C7980D0AEA2FA6A01D9D15D91C86EEE, NULL);
((Water_t8D0105147A62029CB3B0497FE968F18E33C3D319_StaticFields*)il2cpp_codegen_static_fields_for(Water_t8D0105147A62029CB3B0497FE968F18E33C3D319_il2cpp_TypeInfo_var))->___CubemapTexture_28 = L_9;
// private static readonly int WaveDataBuffer = Shader.PropertyToID("_WaveDataBuffer");
int32_t L_10;
L_10 = Shader_PropertyToID_mF5F7BA2EFF23D83482ECDE4C34227145D817B1EB(_stringLiteral284B4BC4CC23039C1C47572E7560491388529821, NULL);
((Water_t8D0105147A62029CB3B0497FE968F18E33C3D319_StaticFields*)il2cpp_codegen_static_fields_for(Water_t8D0105147A62029CB3B0497FE968F18E33C3D319_il2cpp_TypeInfo_var))->___WaveDataBuffer_29 = L_10;
// private static readonly int WaveData = Shader.PropertyToID("waveData");
int32_t L_11;
L_11 = Shader_PropertyToID_mF5F7BA2EFF23D83482ECDE4C34227145D817B1EB(_stringLiteralEC1C3E29FB14580D5531CF358AE6196FFF53725D, NULL);
((Water_t8D0105147A62029CB3B0497FE968F18E33C3D319_StaticFields*)il2cpp_codegen_static_fields_for(Water_t8D0105147A62029CB3B0497FE968F18E33C3D319_il2cpp_TypeInfo_var))->___WaveData_30 = L_11;
// private static readonly int AbsorptionScatteringRamp = Shader.PropertyToID("_AbsorptionScatteringRamp");
int32_t L_12;
L_12 = Shader_PropertyToID_mF5F7BA2EFF23D83482ECDE4C34227145D817B1EB(_stringLiteralA5450FCDD23B07DF156776C46752CD7F6C50DDF3, NULL);
((Water_t8D0105147A62029CB3B0497FE968F18E33C3D319_StaticFields*)il2cpp_codegen_static_fields_for(Water_t8D0105147A62029CB3B0497FE968F18E33C3D319_il2cpp_TypeInfo_var))->___AbsorptionScatteringRamp_31 = L_12;
// private static readonly int DepthCamZParams = Shader.PropertyToID("_VeraslWater_DepthCamParams");
int32_t L_13;
L_13 = Shader_PropertyToID_mF5F7BA2EFF23D83482ECDE4C34227145D817B1EB(_stringLiteral11F791DFEF8749C442077BB1289F9EC4548585F7, NULL);
((Water_t8D0105147A62029CB3B0497FE968F18E33C3D319_StaticFields*)il2cpp_codegen_static_fields_for(Water_t8D0105147A62029CB3B0497FE968F18E33C3D319_il2cpp_TypeInfo_var))->___DepthCamZParams_32 = L_13;
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void WaterSystem.Data.WaterSettingsData::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void WaterSettingsData__ctor_mE72A8CB259CAA60F7C7066D421AAAFD5602BC1AF (WaterSettingsData_tE1FC3BFA899A42BE86438D0C1706008CEF83DBF2* __this, const RuntimeMethod* method)
{
{
// public ReflectionType refType = ReflectionType.PlanarReflection; // How the reflecitons are generated
__this->___refType_5 = 2;
// public Vector4 originOffset = new Vector4(0f, 0f, 500f, 500f);
Vector4_t58B63D32F48C0DBF50DE2C60794C4676C80EDBE3 L_0;
memset((&L_0), 0, sizeof(L_0));
Vector4__ctor_m96B2CD8B862B271F513AF0BDC2EABD58E4DBC813_inline((&L_0), (0.0f), (0.0f), (500.0f), (500.0f), /*hidden argument*/NULL);
__this->___originOffset_9 = L_0;
ScriptableObject__ctor_mD037FDB0B487295EA47F79A4DB1BF1846C9087FF(__this, NULL);
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void WaterSystem.Data.WaterSurfaceData::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void WaterSurfaceData__ctor_mB14B733932BE681666C8B71D7547AE544F6889FD (WaterSurfaceData_t69017B077D8A40D429E217EE688B9C5AE831D87B* __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&BasicWaves_tC7BCDF12B18FB4126AB8A0BCC8CD1DCC33156D96_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&FoamSettings_tAB393D4E610A9219CD0C021238F8A18B0839608E_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1__ctor_mFA599B4E263EC595C3BF7A13AAFAD3F4F4A793DF_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_tBC238FE9E191BC345C4C774C9917EFB6D9B7F1CC_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
{
// public float _waterMaxVisibility = 40.0f;
__this->____waterMaxVisibility_4 = (40.0f);
// public List<Wave> _waves = new List<Wave>();
List_1_tBC238FE9E191BC345C4C774C9917EFB6D9B7F1CC* L_0 = (List_1_tBC238FE9E191BC345C4C774C9917EFB6D9B7F1CC*)il2cpp_codegen_object_new(List_1_tBC238FE9E191BC345C4C774C9917EFB6D9B7F1CC_il2cpp_TypeInfo_var);
NullCheck(L_0);
List_1__ctor_mFA599B4E263EC595C3BF7A13AAFAD3F4F4A793DF(L_0, List_1__ctor_mFA599B4E263EC595C3BF7A13AAFAD3F4F4A793DF_RuntimeMethod_var);
__this->____waves_7 = L_0;
Il2CppCodeGenWriteBarrier((void**)(&__this->____waves_7), (void*)L_0);
// public bool _customWaves = false;
__this->____customWaves_8 = (bool)0;
// public int randomSeed = 3234;
__this->___randomSeed_9 = ((int32_t)3234);
// public BasicWaves _basicWaveSettings = new BasicWaves(1.5f, 45.0f, 5.0f);
BasicWaves_tC7BCDF12B18FB4126AB8A0BCC8CD1DCC33156D96* L_1 = (BasicWaves_tC7BCDF12B18FB4126AB8A0BCC8CD1DCC33156D96*)il2cpp_codegen_object_new(BasicWaves_tC7BCDF12B18FB4126AB8A0BCC8CD1DCC33156D96_il2cpp_TypeInfo_var);
NullCheck(L_1);
BasicWaves__ctor_m8A986571AC0BFA5E29B06A6BEA233F017D07367E(L_1, (1.5f), (45.0f), (5.0f), NULL);
__this->____basicWaveSettings_10 = L_1;
Il2CppCodeGenWriteBarrier((void**)(&__this->____basicWaveSettings_10), (void*)L_1);
// public FoamSettings _foamSettings = new FoamSettings();
FoamSettings_tAB393D4E610A9219CD0C021238F8A18B0839608E* L_2 = (FoamSettings_tAB393D4E610A9219CD0C021238F8A18B0839608E*)il2cpp_codegen_object_new(FoamSettings_tAB393D4E610A9219CD0C021238F8A18B0839608E_il2cpp_TypeInfo_var);
NullCheck(L_2);
FoamSettings__ctor_m10FC88C54B32EE892A1D514AE38AD3975D5CC7E5(L_2, NULL);
__this->____foamSettings_11 = L_2;
Il2CppCodeGenWriteBarrier((void**)(&__this->____foamSettings_11), (void*)L_2);
// public bool _init = false;
__this->____init_12 = (bool)0;
ScriptableObject__ctor_mD037FDB0B487295EA47F79A4DB1BF1846C9087FF(__this, NULL);
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void WaterSystem.Data.Wave::.ctor(System.Single,System.Single,System.Single,Unity.Mathematics.float2,System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Wave__ctor_m54DA9784CE63B5AE16B1902D59443A9CA0B3BB04 (Wave_t98FB676A74FA3481325B501BF6AFA3A4B02D64CB* __this, float ___amp0, float ___dir1, float ___length2, float2_t24AA5C0F612B0672315EDAFEC9D9E7F1C4A5B0BA ___org3, bool ___omni4, const RuntimeMethod* method)
{
Wave_t98FB676A74FA3481325B501BF6AFA3A4B02D64CB* G_B2_0 = NULL;
Wave_t98FB676A74FA3481325B501BF6AFA3A4B02D64CB* G_B1_0 = NULL;
int32_t G_B3_0 = 0;
Wave_t98FB676A74FA3481325B501BF6AFA3A4B02D64CB* G_B3_1 = NULL;
{
// amplitude = amp;
float L_0 = ___amp0;
__this->___amplitude_0 = L_0;
// direction = dir;
float L_1 = ___dir1;
__this->___direction_1 = L_1;
// wavelength = length;
float L_2 = ___length2;
__this->___wavelength_2 = L_2;
// origin = org;
float2_t24AA5C0F612B0672315EDAFEC9D9E7F1C4A5B0BA L_3 = ___org3;
__this->___origin_3 = L_3;
// onmiDir = omni ? 1 : 0;
bool L_4 = ___omni4;
G_B1_0 = __this;
if (L_4)
{
G_B2_0 = __this;
goto IL_0026;
}
}
{
G_B3_0 = 0;
G_B3_1 = G_B1_0;
goto IL_0027;
}
IL_0026:
{
G_B3_0 = 1;
G_B3_1 = G_B2_0;
}
IL_0027:
{
G_B3_1->___onmiDir_4 = ((float)G_B3_0);
// }
return;
}
}
IL2CPP_EXTERN_C void Wave__ctor_m54DA9784CE63B5AE16B1902D59443A9CA0B3BB04_AdjustorThunk (RuntimeObject* __this, float ___amp0, float ___dir1, float ___length2, float2_t24AA5C0F612B0672315EDAFEC9D9E7F1C4A5B0BA ___org3, bool ___omni4, const RuntimeMethod* method)
{
Wave_t98FB676A74FA3481325B501BF6AFA3A4B02D64CB* _thisAdjusted;
int32_t _offset = 1;
_thisAdjusted = reinterpret_cast<Wave_t98FB676A74FA3481325B501BF6AFA3A4B02D64CB*>(__this + _offset);
Wave__ctor_m54DA9784CE63B5AE16B1902D59443A9CA0B3BB04(_thisAdjusted, ___amp0, ___dir1, ___length2, ___org3, ___omni4, method);
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void WaterSystem.Data.BasicWaves::.ctor(System.Single,System.Single,System.Single)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void BasicWaves__ctor_m8A986571AC0BFA5E29B06A6BEA233F017D07367E (BasicWaves_tC7BCDF12B18FB4126AB8A0BCC8CD1DCC33156D96* __this, float ___amp0, float ___dir1, float ___len2, const RuntimeMethod* method)
{
{
// public int numWaves = 6;
__this->___numWaves_0 = 6;
// public BasicWaves(float amp, float dir, float len)
Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2(__this, NULL);
// numWaves = 6;
__this->___numWaves_0 = 6;
// amplitude = amp;
float L_0 = ___amp0;
__this->___amplitude_1 = L_0;
// direction = dir;
float L_1 = ___dir1;
__this->___direction_2 = L_1;
// wavelength = len;
float L_2 = ___len2;
__this->___wavelength_3 = L_2;
// }
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void WaterSystem.Data.FoamSettings::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void FoamSettings__ctor_m10FC88C54B32EE892A1D514AE38AD3975D5CC7E5 (FoamSettings_tAB393D4E610A9219CD0C021238F8A18B0839608E* __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&AnimationCurve_tCBFFAAD05CEBB35EF8D8631BD99914BE1A6BB354_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&KeyframeU5BU5D_t63250A46914A6A07B2A6689850D47D7D19D80BA3_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
{
// public FoamSettings()
Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2(__this, NULL);
// foamType = 0;
__this->___foamType_0 = 0;
// basicFoam = new AnimationCurve(new Keyframe[2]{new Keyframe(0.25f, 0f),
// new Keyframe(1f, 1f)});
KeyframeU5BU5D_t63250A46914A6A07B2A6689850D47D7D19D80BA3* L_0 = (KeyframeU5BU5D_t63250A46914A6A07B2A6689850D47D7D19D80BA3*)(KeyframeU5BU5D_t63250A46914A6A07B2A6689850D47D7D19D80BA3*)SZArrayNew(KeyframeU5BU5D_t63250A46914A6A07B2A6689850D47D7D19D80BA3_il2cpp_TypeInfo_var, (uint32_t)2);
KeyframeU5BU5D_t63250A46914A6A07B2A6689850D47D7D19D80BA3* L_1 = L_0;
Keyframe_tB9C67DCBFE10C0AE9C52CB5C66E944255C9254F0 L_2;
memset((&L_2), 0, sizeof(L_2));
Keyframe__ctor_mECF144086B28785BE911A22C06194A9E0FBF3C34((&L_2), (0.25f), (0.0f), /*hidden argument*/NULL);
NullCheck(L_1);
(L_1)->SetAt(static_cast<il2cpp_array_size_t>(0), (Keyframe_tB9C67DCBFE10C0AE9C52CB5C66E944255C9254F0)L_2);
KeyframeU5BU5D_t63250A46914A6A07B2A6689850D47D7D19D80BA3* L_3 = L_1;
Keyframe_tB9C67DCBFE10C0AE9C52CB5C66E944255C9254F0 L_4;
memset((&L_4), 0, sizeof(L_4));
Keyframe__ctor_mECF144086B28785BE911A22C06194A9E0FBF3C34((&L_4), (1.0f), (1.0f), /*hidden argument*/NULL);
NullCheck(L_3);
(L_3)->SetAt(static_cast<il2cpp_array_size_t>(1), (Keyframe_tB9C67DCBFE10C0AE9C52CB5C66E944255C9254F0)L_4);
AnimationCurve_tCBFFAAD05CEBB35EF8D8631BD99914BE1A6BB354* L_5 = (AnimationCurve_tCBFFAAD05CEBB35EF8D8631BD99914BE1A6BB354*)il2cpp_codegen_object_new(AnimationCurve_tCBFFAAD05CEBB35EF8D8631BD99914BE1A6BB354_il2cpp_TypeInfo_var);
NullCheck(L_5);
AnimationCurve__ctor_mEABC98C03805713354D61E50D9340766BD5B717E(L_5, L_3, NULL);
__this->___basicFoam_1 = L_5;
Il2CppCodeGenWriteBarrier((void**)(&__this->___basicFoam_1), (void*)L_5);
// liteFoam = new AnimationCurve(new Keyframe[3]{new Keyframe(0.2f, 0f),
// new Keyframe(0.4f, 1f),
// new Keyframe(0.7f, 0f)});
KeyframeU5BU5D_t63250A46914A6A07B2A6689850D47D7D19D80BA3* L_6 = (KeyframeU5BU5D_t63250A46914A6A07B2A6689850D47D7D19D80BA3*)(KeyframeU5BU5D_t63250A46914A6A07B2A6689850D47D7D19D80BA3*)SZArrayNew(KeyframeU5BU5D_t63250A46914A6A07B2A6689850D47D7D19D80BA3_il2cpp_TypeInfo_var, (uint32_t)3);
KeyframeU5BU5D_t63250A46914A6A07B2A6689850D47D7D19D80BA3* L_7 = L_6;
Keyframe_tB9C67DCBFE10C0AE9C52CB5C66E944255C9254F0 L_8;
memset((&L_8), 0, sizeof(L_8));
Keyframe__ctor_mECF144086B28785BE911A22C06194A9E0FBF3C34((&L_8), (0.200000003f), (0.0f), /*hidden argument*/NULL);
NullCheck(L_7);
(L_7)->SetAt(static_cast<il2cpp_array_size_t>(0), (Keyframe_tB9C67DCBFE10C0AE9C52CB5C66E944255C9254F0)L_8);
KeyframeU5BU5D_t63250A46914A6A07B2A6689850D47D7D19D80BA3* L_9 = L_7;
Keyframe_tB9C67DCBFE10C0AE9C52CB5C66E944255C9254F0 L_10;
memset((&L_10), 0, sizeof(L_10));
Keyframe__ctor_mECF144086B28785BE911A22C06194A9E0FBF3C34((&L_10), (0.400000006f), (1.0f), /*hidden argument*/NULL);
NullCheck(L_9);
(L_9)->SetAt(static_cast<il2cpp_array_size_t>(1), (Keyframe_tB9C67DCBFE10C0AE9C52CB5C66E944255C9254F0)L_10);
KeyframeU5BU5D_t63250A46914A6A07B2A6689850D47D7D19D80BA3* L_11 = L_9;
Keyframe_tB9C67DCBFE10C0AE9C52CB5C66E944255C9254F0 L_12;
memset((&L_12), 0, sizeof(L_12));
Keyframe__ctor_mECF144086B28785BE911A22C06194A9E0FBF3C34((&L_12), (0.699999988f), (0.0f), /*hidden argument*/NULL);
NullCheck(L_11);
(L_11)->SetAt(static_cast<il2cpp_array_size_t>(2), (Keyframe_tB9C67DCBFE10C0AE9C52CB5C66E944255C9254F0)L_12);
AnimationCurve_tCBFFAAD05CEBB35EF8D8631BD99914BE1A6BB354* L_13 = (AnimationCurve_tCBFFAAD05CEBB35EF8D8631BD99914BE1A6BB354*)il2cpp_codegen_object_new(AnimationCurve_tCBFFAAD05CEBB35EF8D8631BD99914BE1A6BB354_il2cpp_TypeInfo_var);
NullCheck(L_13);
AnimationCurve__ctor_mEABC98C03805713354D61E50D9340766BD5B717E(L_13, L_11, NULL);
__this->___liteFoam_2 = L_13;
Il2CppCodeGenWriteBarrier((void**)(&__this->___liteFoam_2), (void*)L_13);
// mediumFoam = new AnimationCurve(new Keyframe[3]{new Keyframe(0.4f, 0f),
// new Keyframe(0.7f, 1f),
// new Keyframe(1f, 0f)});
KeyframeU5BU5D_t63250A46914A6A07B2A6689850D47D7D19D80BA3* L_14 = (KeyframeU5BU5D_t63250A46914A6A07B2A6689850D47D7D19D80BA3*)(KeyframeU5BU5D_t63250A46914A6A07B2A6689850D47D7D19D80BA3*)SZArrayNew(KeyframeU5BU5D_t63250A46914A6A07B2A6689850D47D7D19D80BA3_il2cpp_TypeInfo_var, (uint32_t)3);
KeyframeU5BU5D_t63250A46914A6A07B2A6689850D47D7D19D80BA3* L_15 = L_14;
Keyframe_tB9C67DCBFE10C0AE9C52CB5C66E944255C9254F0 L_16;
memset((&L_16), 0, sizeof(L_16));
Keyframe__ctor_mECF144086B28785BE911A22C06194A9E0FBF3C34((&L_16), (0.400000006f), (0.0f), /*hidden argument*/NULL);
NullCheck(L_15);
(L_15)->SetAt(static_cast<il2cpp_array_size_t>(0), (Keyframe_tB9C67DCBFE10C0AE9C52CB5C66E944255C9254F0)L_16);
KeyframeU5BU5D_t63250A46914A6A07B2A6689850D47D7D19D80BA3* L_17 = L_15;
Keyframe_tB9C67DCBFE10C0AE9C52CB5C66E944255C9254F0 L_18;
memset((&L_18), 0, sizeof(L_18));
Keyframe__ctor_mECF144086B28785BE911A22C06194A9E0FBF3C34((&L_18), (0.699999988f), (1.0f), /*hidden argument*/NULL);
NullCheck(L_17);
(L_17)->SetAt(static_cast<il2cpp_array_size_t>(1), (Keyframe_tB9C67DCBFE10C0AE9C52CB5C66E944255C9254F0)L_18);
KeyframeU5BU5D_t63250A46914A6A07B2A6689850D47D7D19D80BA3* L_19 = L_17;
Keyframe_tB9C67DCBFE10C0AE9C52CB5C66E944255C9254F0 L_20;
memset((&L_20), 0, sizeof(L_20));
Keyframe__ctor_mECF144086B28785BE911A22C06194A9E0FBF3C34((&L_20), (1.0f), (0.0f), /*hidden argument*/NULL);
NullCheck(L_19);
(L_19)->SetAt(static_cast<il2cpp_array_size_t>(2), (Keyframe_tB9C67DCBFE10C0AE9C52CB5C66E944255C9254F0)L_20);
AnimationCurve_tCBFFAAD05CEBB35EF8D8631BD99914BE1A6BB354* L_21 = (AnimationCurve_tCBFFAAD05CEBB35EF8D8631BD99914BE1A6BB354*)il2cpp_codegen_object_new(AnimationCurve_tCBFFAAD05CEBB35EF8D8631BD99914BE1A6BB354_il2cpp_TypeInfo_var);
NullCheck(L_21);
AnimationCurve__ctor_mEABC98C03805713354D61E50D9340766BD5B717E(L_21, L_19, NULL);
__this->___mediumFoam_3 = L_21;
Il2CppCodeGenWriteBarrier((void**)(&__this->___mediumFoam_3), (void*)L_21);
// denseFoam = new AnimationCurve(new Keyframe[2]{new Keyframe(0.7f, 0f),
// new Keyframe(1f, 1f)});
KeyframeU5BU5D_t63250A46914A6A07B2A6689850D47D7D19D80BA3* L_22 = (KeyframeU5BU5D_t63250A46914A6A07B2A6689850D47D7D19D80BA3*)(KeyframeU5BU5D_t63250A46914A6A07B2A6689850D47D7D19D80BA3*)SZArrayNew(KeyframeU5BU5D_t63250A46914A6A07B2A6689850D47D7D19D80BA3_il2cpp_TypeInfo_var, (uint32_t)2);
KeyframeU5BU5D_t63250A46914A6A07B2A6689850D47D7D19D80BA3* L_23 = L_22;
Keyframe_tB9C67DCBFE10C0AE9C52CB5C66E944255C9254F0 L_24;
memset((&L_24), 0, sizeof(L_24));
Keyframe__ctor_mECF144086B28785BE911A22C06194A9E0FBF3C34((&L_24), (0.699999988f), (0.0f), /*hidden argument*/NULL);
NullCheck(L_23);
(L_23)->SetAt(static_cast<il2cpp_array_size_t>(0), (Keyframe_tB9C67DCBFE10C0AE9C52CB5C66E944255C9254F0)L_24);
KeyframeU5BU5D_t63250A46914A6A07B2A6689850D47D7D19D80BA3* L_25 = L_23;
Keyframe_tB9C67DCBFE10C0AE9C52CB5C66E944255C9254F0 L_26;
memset((&L_26), 0, sizeof(L_26));
Keyframe__ctor_mECF144086B28785BE911A22C06194A9E0FBF3C34((&L_26), (1.0f), (1.0f), /*hidden argument*/NULL);
NullCheck(L_25);
(L_25)->SetAt(static_cast<il2cpp_array_size_t>(1), (Keyframe_tB9C67DCBFE10C0AE9C52CB5C66E944255C9254F0)L_26);
AnimationCurve_tCBFFAAD05CEBB35EF8D8631BD99914BE1A6BB354* L_27 = (AnimationCurve_tCBFFAAD05CEBB35EF8D8631BD99914BE1A6BB354*)il2cpp_codegen_object_new(AnimationCurve_tCBFFAAD05CEBB35EF8D8631BD99914BE1A6BB354_il2cpp_TypeInfo_var);
NullCheck(L_27);
AnimationCurve__ctor_mEABC98C03805713354D61E50D9340766BD5B717E(L_27, L_25, NULL);
__this->___denseFoam_4 = L_27;
Il2CppCodeGenWriteBarrier((void**)(&__this->___denseFoam_4), (void*)L_27);
// }
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
#ifdef __clang__
#pragma clang diagnostic pop
#endif
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void float4_set_xyz_m331D16059D51A5C6CA8AE8FD1E13A68C0570A9C7_inline (float4_t89D9A294E7A79BD81BFBDD18654508532958555E* __this, float3_t4AB5D88249ADB24F69FFD0793E8ED25E1CC3745E ___value0, const RuntimeMethod* method)
{
{
// set { x = value.x; y = value.y; z = value.z; }
float3_t4AB5D88249ADB24F69FFD0793E8ED25E1CC3745E L_0 = ___value0;
float L_1 = L_0.___x_0;
__this->___x_0 = L_1;
// set { x = value.x; y = value.y; z = value.z; }
float3_t4AB5D88249ADB24F69FFD0793E8ED25E1CC3745E L_2 = ___value0;
float L_3 = L_2.___y_1;
__this->___y_1 = L_3;
// set { x = value.x; y = value.y; z = value.z; }
float3_t4AB5D88249ADB24F69FFD0793E8ED25E1CC3745E L_4 = ___value0;
float L_5 = L_4.___z_2;
__this->___z_2 = L_5;
// set { x = value.x; y = value.y; z = value.z; }
return;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float3_t4AB5D88249ADB24F69FFD0793E8ED25E1CC3745E float4_get_xyz_mE6EC829F35512C7BC159047FDC134E80F3B37A06_inline (float4_t89D9A294E7A79BD81BFBDD18654508532958555E* __this, const RuntimeMethod* method)
{
float3_t4AB5D88249ADB24F69FFD0793E8ED25E1CC3745E V_0;
memset((&V_0), 0, sizeof(V_0));
{
// get { return new float3(x, y, z); }
float L_0 = __this->___x_0;
float L_1 = __this->___y_1;
float L_2 = __this->___z_2;
float3_t4AB5D88249ADB24F69FFD0793E8ED25E1CC3745E L_3;
memset((&L_3), 0, sizeof(L_3));
float3__ctor_mC61002CD0EC13D7C37D846D021A78C028FB80DB9_inline((&L_3), L_0, L_1, L_2, /*hidden argument*/NULL);
V_0 = L_3;
goto IL_001b;
}
IL_001b:
{
// get { return new float3(x, y, z); }
float3_t4AB5D88249ADB24F69FFD0793E8ED25E1CC3745E L_4 = V_0;
return L_4;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void UniversalAdditionalCameraData_set_renderShadows_m435F35FAAF4700DC51E6A806D2BEF8A01A3A010B_inline (UniversalAdditionalCameraData_t57B5D0F93C2D506E618E23187302C0FADE813B93* __this, bool ___value0, const RuntimeMethod* method)
{
{
// set => m_RenderShadows = value;
bool L_0 = ___value0;
__this->___m_RenderShadows_8 = L_0;
return;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_get_zero_m9D7F7B580B5A276411267E96AA3425736D9BDC83_inline (const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
memset((&V_0), 0, sizeof(V_0));
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ((Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2_StaticFields*)il2cpp_codegen_static_fields_for(Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2_il2cpp_TypeInfo_var))->___zeroVector_5;
V_0 = L_0;
goto IL_0009;
}
IL_0009:
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_1 = V_0;
return L_1;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_get_up_mAB5269BFCBCB1BD241450C9BF2F156303D30E0C3_inline (const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
memset((&V_0), 0, sizeof(V_0));
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ((Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2_StaticFields*)il2cpp_codegen_static_fields_for(Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2_il2cpp_TypeInfo_var))->___upVector_7;
V_0 = L_0;
goto IL_0009;
}
IL_0009:
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_1 = V_0;
return L_1;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_op_Multiply_m516FE285F5342F922C6EB3FCB33197E9017FF484_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___a0, float ___d1, const RuntimeMethod* method)
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
memset((&V_0), 0, sizeof(V_0));
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ___a0;
float L_1 = L_0.___x_2;
float L_2 = ___d1;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_3 = ___a0;
float L_4 = L_3.___y_3;
float L_5 = ___d1;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6 = ___a0;
float L_7 = L_6.___z_4;
float L_8 = ___d1;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_9;
memset((&L_9), 0, sizeof(L_9));
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_9), ((float)il2cpp_codegen_multiply(L_1, L_2)), ((float)il2cpp_codegen_multiply(L_4, L_5)), ((float)il2cpp_codegen_multiply(L_7, L_8)), /*hidden argument*/NULL);
V_0 = L_9;
goto IL_0021;
}
IL_0021:
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_10 = V_0;
return L_10;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_op_Addition_m087D6F0EC60843D455F9F83D25FE42B2433AAD1D_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___a0, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___b1, const RuntimeMethod* method)
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
memset((&V_0), 0, sizeof(V_0));
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ___a0;
float L_1 = L_0.___x_2;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2 = ___b1;
float L_3 = L_2.___x_2;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4 = ___a0;
float L_5 = L_4.___y_3;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6 = ___b1;
float L_7 = L_6.___y_3;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_8 = ___a0;
float L_9 = L_8.___z_4;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_10 = ___b1;
float L_11 = L_10.___z_4;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_12;
memset((&L_12), 0, sizeof(L_12));
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_12), ((float)il2cpp_codegen_add(L_1, L_3)), ((float)il2cpp_codegen_add(L_5, L_7)), ((float)il2cpp_codegen_add(L_9, L_11)), /*hidden argument*/NULL);
V_0 = L_12;
goto IL_0030;
}
IL_0030:
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_13 = V_0;
return L_13;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Vector3_Dot_m4688A1A524306675DBDB1E6D483F35E85E3CE6D8_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___lhs0, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___rhs1, const RuntimeMethod* method)
{
float V_0 = 0.0f;
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ___lhs0;
float L_1 = L_0.___x_2;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2 = ___rhs1;
float L_3 = L_2.___x_2;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4 = ___lhs0;
float L_5 = L_4.___y_3;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6 = ___rhs1;
float L_7 = L_6.___y_3;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_8 = ___lhs0;
float L_9 = L_8.___z_4;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_10 = ___rhs1;
float L_11 = L_10.___z_4;
V_0 = ((float)il2cpp_codegen_add(((float)il2cpp_codegen_add(((float)il2cpp_codegen_multiply(L_1, L_3)), ((float)il2cpp_codegen_multiply(L_5, L_7)))), ((float)il2cpp_codegen_multiply(L_9, L_11))));
goto IL_002d;
}
IL_002d:
{
float L_12 = V_0;
return L_12;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Vector4__ctor_m96B2CD8B862B271F513AF0BDC2EABD58E4DBC813_inline (Vector4_t58B63D32F48C0DBF50DE2C60794C4676C80EDBE3* __this, float ___x0, float ___y1, float ___z2, float ___w3, const RuntimeMethod* method)
{
{
float L_0 = ___x0;
__this->___x_1 = L_0;
float L_1 = ___y1;
__this->___y_2 = L_1;
float L_2 = ___z2;
__this->___z_3 = L_2;
float L_3 = ___w3;
__this->___w_4 = L_3;
return;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 Matrix4x4_get_identity_m94A09872C449C26863FF10D0FDF87842D91BECD6_inline (const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 V_0;
memset((&V_0), 0, sizeof(V_0));
{
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 L_0 = ((Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6_StaticFields*)il2cpp_codegen_static_fields_for(Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6_il2cpp_TypeInfo_var))->___identityMatrix_17;
V_0 = L_0;
goto IL_0009;
}
IL_0009:
{
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 L_1 = V_0;
return L_1;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* __this, float ___x0, float ___y1, float ___z2, const RuntimeMethod* method)
{
{
float L_0 = ___x0;
__this->___x_2 = L_0;
float L_1 = ___y1;
__this->___y_3 = L_1;
float L_2 = ___z2;
__this->___z_4 = L_2;
return;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_op_Subtraction_m1690F44F6DC92B770A940B6CF8AE0535625A9824_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___a0, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___b1, const RuntimeMethod* method)
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
memset((&V_0), 0, sizeof(V_0));
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ___a0;
float L_1 = L_0.___x_2;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2 = ___b1;
float L_3 = L_2.___x_2;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4 = ___a0;
float L_5 = L_4.___y_3;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6 = ___b1;
float L_7 = L_6.___y_3;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_8 = ___a0;
float L_9 = L_8.___z_4;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_10 = ___b1;
float L_11 = L_10.___z_4;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_12;
memset((&L_12), 0, sizeof(L_12));
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_12), ((float)il2cpp_codegen_subtract(L_1, L_3)), ((float)il2cpp_codegen_subtract(L_5, L_7)), ((float)il2cpp_codegen_subtract(L_9, L_11)), /*hidden argument*/NULL);
V_0 = L_12;
goto IL_0030;
}
IL_0030:
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_13 = V_0;
return L_13;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_Scale_mE4063F0349E8B2F3EC8098597D356ACCA54C4514_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___a0, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___b1, const RuntimeMethod* method)
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
memset((&V_0), 0, sizeof(V_0));
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ___a0;
float L_1 = L_0.___x_2;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2 = ___b1;
float L_3 = L_2.___x_2;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4 = ___a0;
float L_5 = L_4.___y_3;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6 = ___b1;
float L_7 = L_6.___y_3;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_8 = ___a0;
float L_9 = L_8.___z_4;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_10 = ___b1;
float L_11 = L_10.___z_4;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_12;
memset((&L_12), 0, sizeof(L_12));
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_12), ((float)il2cpp_codegen_multiply(L_1, L_3)), ((float)il2cpp_codegen_multiply(L_5, L_7)), ((float)il2cpp_codegen_multiply(L_9, L_11)), /*hidden argument*/NULL);
V_0 = L_12;
goto IL_0030;
}
IL_0030:
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_13 = V_0;
return L_13;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Vector4_get_Item_mB1D001A235857569E479FB799EF77C52391D19EF_inline (Vector4_t58B63D32F48C0DBF50DE2C60794C4676C80EDBE3* __this, int32_t ___index0, const RuntimeMethod* method)
{
int32_t V_0 = 0;
int32_t V_1 = 0;
float V_2 = 0.0f;
{
int32_t L_0 = ___index0;
V_1 = L_0;
int32_t L_1 = V_1;
V_0 = L_1;
int32_t L_2 = V_0;
switch (L_2)
{
case 0:
{
goto IL_001d;
}
case 1:
{
goto IL_0026;
}
case 2:
{
goto IL_002f;
}
case 3:
{
goto IL_0038;
}
}
}
{
goto IL_0041;
}
IL_001d:
{
float L_3 = __this->___x_1;
V_2 = L_3;
goto IL_004c;
}
IL_0026:
{
float L_4 = __this->___y_2;
V_2 = L_4;
goto IL_004c;
}
IL_002f:
{
float L_5 = __this->___z_3;
V_2 = L_5;
goto IL_004c;
}
IL_0038:
{
float L_6 = __this->___w_4;
V_2 = L_6;
goto IL_004c;
}
IL_0041:
{
IndexOutOfRangeException_t7ECB35264FB6CA8FAA516BD958F4B2ADC78E8A82* L_7 = (IndexOutOfRangeException_t7ECB35264FB6CA8FAA516BD958F4B2ADC78E8A82*)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&IndexOutOfRangeException_t7ECB35264FB6CA8FAA516BD958F4B2ADC78E8A82_il2cpp_TypeInfo_var)));
NullCheck(L_7);
IndexOutOfRangeException__ctor_mFD06819F05B815BE2D6E826D4E04F4C449D0A425(L_7, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteralB23C3717573626FB4C3C7DF5C19EDE7689837214)), NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_7, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&Vector4_get_Item_mB1D001A235857569E479FB799EF77C52391D19EF_RuntimeMethod_var)));
}
IL_004c:
{
float L_8 = V_2;
return L_8;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_get_normalized_m736BBF65D5CDA7A18414370D15B4DFCC1E466F07_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* __this, const RuntimeMethod* method)
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
memset((&V_0), 0, sizeof(V_0));
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = (*(Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2*)__this);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_1;
L_1 = Vector3_Normalize_m6120F119433C5B60BBB28731D3D4A0DA50A84DDD_inline(L_0, NULL);
V_0 = L_1;
goto IL_000f;
}
IL_000f:
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2 = V_0;
return L_2;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void UniversalAdditionalCameraData_set_requiresColorOption_m70A4CD657A3C82549B7159183BEB50131E7C59AA_inline (UniversalAdditionalCameraData_t57B5D0F93C2D506E618E23187302C0FADE813B93* __this, int32_t ___value0, const RuntimeMethod* method)
{
{
// set => m_RequiresOpaqueTextureOption = value;
int32_t L_0 = ___value0;
__this->___m_RequiresOpaqueTextureOption_10 = L_0;
return;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void UniversalAdditionalCameraData_set_requiresDepthOption_m7BA4C2691693C5175B57BACC7750A2FCC88DFA62_inline (UniversalAdditionalCameraData_t57B5D0F93C2D506E618E23187302C0FADE813B93* __this, int32_t ___value0, const RuntimeMethod* method)
{
{
// set => m_RequiresDepthTextureOption = value;
int32_t L_0 = ___value0;
__this->___m_RequiresDepthTextureOption_9 = L_0;
return;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void int2__ctor_m452D21510717D0961119C89A72BBB8D84DCD49F4_inline (int2_tF4AC25F87943DC0B2BB3456B0B919B3B42A9432A* __this, int32_t ___x0, int32_t ___y1, const RuntimeMethod* method)
{
{
// this.x = x;
int32_t L_0 = ___x0;
__this->___x_0 = L_0;
// this.y = y;
int32_t L_1 = ___y1;
__this->___y_1 = L_1;
// }
return;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float math_clamp_m315140813E8E273E89E552C714D70F64340FDC7F_inline (float ___x0, float ___a1, float ___b2, const RuntimeMethod* method)
{
float V_0 = 0.0f;
{
// public static float clamp(float x, float a, float b) { return max(a, min(b, x)); }
float L_0 = ___a1;
float L_1 = ___b2;
float L_2 = ___x0;
float L_3;
L_3 = math_min_mE93EEB61C438816CB626CA58653B828E43C82268_inline(L_1, L_2, NULL);
float L_4;
L_4 = math_max_mF7035168A46D333C6A703B673220B115411B67C1_inline(L_0, L_3, NULL);
V_0 = L_4;
goto IL_0011;
}
IL_0011:
{
// public static float clamp(float x, float a, float b) { return max(a, min(b, x)); }
float L_5 = V_0;
return L_5;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float3_t4AB5D88249ADB24F69FFD0793E8ED25E1CC3745E float3_op_UnaryNegation_mCB9369EA335DF643481BB8D707751A8F1F41E5B0_inline (float3_t4AB5D88249ADB24F69FFD0793E8ED25E1CC3745E ___val0, const RuntimeMethod* method)
{
float3_t4AB5D88249ADB24F69FFD0793E8ED25E1CC3745E V_0;
memset((&V_0), 0, sizeof(V_0));
{
// public static float3 operator - (float3 val) { return new float3 (-val.x, -val.y, -val.z); }
float3_t4AB5D88249ADB24F69FFD0793E8ED25E1CC3745E L_0 = ___val0;
float L_1 = L_0.___x_0;
float3_t4AB5D88249ADB24F69FFD0793E8ED25E1CC3745E L_2 = ___val0;
float L_3 = L_2.___y_1;
float3_t4AB5D88249ADB24F69FFD0793E8ED25E1CC3745E L_4 = ___val0;
float L_5 = L_4.___z_2;
float3_t4AB5D88249ADB24F69FFD0793E8ED25E1CC3745E L_6;
memset((&L_6), 0, sizeof(L_6));
float3__ctor_mC61002CD0EC13D7C37D846D021A78C028FB80DB9_inline((&L_6), ((-L_1)), ((-L_3)), ((-L_5)), /*hidden argument*/NULL);
V_0 = L_6;
goto IL_001e;
}
IL_001e:
{
// public static float3 operator - (float3 val) { return new float3 (-val.x, -val.y, -val.z); }
float3_t4AB5D88249ADB24F69FFD0793E8ED25E1CC3745E L_7 = V_0;
return L_7;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float3_t4AB5D88249ADB24F69FFD0793E8ED25E1CC3745E float3_op_Multiply_mB08DA9B217A0DA39BABCE64FFE69BEA67D37D04F_inline (float ___lhs0, float3_t4AB5D88249ADB24F69FFD0793E8ED25E1CC3745E ___rhs1, const RuntimeMethod* method)
{
float3_t4AB5D88249ADB24F69FFD0793E8ED25E1CC3745E V_0;
memset((&V_0), 0, sizeof(V_0));
{
// public static float3 operator * (float lhs, float3 rhs) { return new float3 (lhs * rhs.x, lhs * rhs.y, lhs * rhs.z); }
float L_0 = ___lhs0;
float3_t4AB5D88249ADB24F69FFD0793E8ED25E1CC3745E L_1 = ___rhs1;
float L_2 = L_1.___x_0;
float L_3 = ___lhs0;
float3_t4AB5D88249ADB24F69FFD0793E8ED25E1CC3745E L_4 = ___rhs1;
float L_5 = L_4.___y_1;
float L_6 = ___lhs0;
float3_t4AB5D88249ADB24F69FFD0793E8ED25E1CC3745E L_7 = ___rhs1;
float L_8 = L_7.___z_2;
float3_t4AB5D88249ADB24F69FFD0793E8ED25E1CC3745E L_9;
memset((&L_9), 0, sizeof(L_9));
float3__ctor_mC61002CD0EC13D7C37D846D021A78C028FB80DB9_inline((&L_9), ((float)il2cpp_codegen_multiply(L_0, L_2)), ((float)il2cpp_codegen_multiply(L_3, L_5)), ((float)il2cpp_codegen_multiply(L_6, L_8)), /*hidden argument*/NULL);
V_0 = L_9;
goto IL_0021;
}
IL_0021:
{
// public static float3 operator * (float lhs, float3 rhs) { return new float3 (lhs * rhs.x, lhs * rhs.y, lhs * rhs.z); }
float3_t4AB5D88249ADB24F69FFD0793E8ED25E1CC3745E L_10 = V_0;
return L_10;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float math_sqrt_mD0D6FA27E6D4959A0D4A823FFD3A9DA396542875_inline (float ___x0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
float V_0 = 0.0f;
{
// public static float sqrt(float x) { return (float)System.Math.Sqrt((float)x); }
float L_0 = ___x0;
il2cpp_codegen_runtime_class_init_inline(Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
double L_1;
L_1 = sqrt(((double)((float)L_0)));
V_0 = ((float)L_1);
goto IL_000d;
}
IL_000d:
{
// public static float sqrt(float x) { return (float)System.Math.Sqrt((float)x); }
float L_2 = V_0;
return L_2;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float3_t4AB5D88249ADB24F69FFD0793E8ED25E1CC3745E float3_op_Addition_mE85BAC4F29F637BB88069193D325FE5C6067B3BB_inline (float3_t4AB5D88249ADB24F69FFD0793E8ED25E1CC3745E ___lhs0, float3_t4AB5D88249ADB24F69FFD0793E8ED25E1CC3745E ___rhs1, const RuntimeMethod* method)
{
float3_t4AB5D88249ADB24F69FFD0793E8ED25E1CC3745E V_0;
memset((&V_0), 0, sizeof(V_0));
{
// public static float3 operator + (float3 lhs, float3 rhs) { return new float3 (lhs.x + rhs.x, lhs.y + rhs.y, lhs.z + rhs.z); }
float3_t4AB5D88249ADB24F69FFD0793E8ED25E1CC3745E L_0 = ___lhs0;
float L_1 = L_0.___x_0;
float3_t4AB5D88249ADB24F69FFD0793E8ED25E1CC3745E L_2 = ___rhs1;
float L_3 = L_2.___x_0;
float3_t4AB5D88249ADB24F69FFD0793E8ED25E1CC3745E L_4 = ___lhs0;
float L_5 = L_4.___y_1;
float3_t4AB5D88249ADB24F69FFD0793E8ED25E1CC3745E L_6 = ___rhs1;
float L_7 = L_6.___y_1;
float3_t4AB5D88249ADB24F69FFD0793E8ED25E1CC3745E L_8 = ___lhs0;
float L_9 = L_8.___z_2;
float3_t4AB5D88249ADB24F69FFD0793E8ED25E1CC3745E L_10 = ___rhs1;
float L_11 = L_10.___z_2;
float3_t4AB5D88249ADB24F69FFD0793E8ED25E1CC3745E L_12;
memset((&L_12), 0, sizeof(L_12));
float3__ctor_mC61002CD0EC13D7C37D846D021A78C028FB80DB9_inline((&L_12), ((float)il2cpp_codegen_add(L_1, L_3)), ((float)il2cpp_codegen_add(L_5, L_7)), ((float)il2cpp_codegen_add(L_9, L_11)), /*hidden argument*/NULL);
V_0 = L_12;
goto IL_0030;
}
IL_0030:
{
// public static float3 operator + (float3 lhs, float3 rhs) { return new float3 (lhs.x + rhs.x, lhs.y + rhs.y, lhs.z + rhs.z); }
float3_t4AB5D88249ADB24F69FFD0793E8ED25E1CC3745E L_13 = V_0;
return L_13;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float math_lerp_m50998C71E29B4924FB852B622185E96E05C4A3C6_inline (float ___x0, float ___y1, float ___s2, const RuntimeMethod* method)
{
float V_0 = 0.0f;
{
// public static float lerp(float x, float y, float s) { return x + s * (y - x); }
float L_0 = ___x0;
float L_1 = ___s2;
float L_2 = ___y1;
float L_3 = ___x0;
V_0 = ((float)il2cpp_codegen_add(L_0, ((float)il2cpp_codegen_multiply(L_1, ((float)il2cpp_codegen_subtract(L_2, L_3))))));
goto IL_000b;
}
IL_000b:
{
// public static float lerp(float x, float y, float s) { return x + s * (y - x); }
float L_4 = V_0;
return L_4;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 Quaternion_get_identity_mB9CAEEB21BC81352CBF32DB9664BFC06FA7EA27B_inline (const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 V_0;
memset((&V_0), 0, sizeof(V_0));
{
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_0 = ((Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974_StaticFields*)il2cpp_codegen_static_fields_for(Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974_il2cpp_TypeInfo_var))->___identityQuaternion_4;
V_0 = L_0;
goto IL_0009;
}
IL_0009:
{
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_1 = V_0;
return L_1;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_get_one_mE6A2D5C6578E94268024613B596BF09F990B1260_inline (const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
memset((&V_0), 0, sizeof(V_0));
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ((Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2_StaticFields*)il2cpp_codegen_static_fields_for(Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2_il2cpp_TypeInfo_var))->___oneVector_6;
V_0 = L_0;
goto IL_0009;
}
IL_0009:
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_1 = V_0;
return L_1;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Mathf_Min_m4F2A9C5128DC3F9E84865EE7ADA8DB5DA6B8B507_inline (float ___a0, float ___b1, const RuntimeMethod* method)
{
float V_0 = 0.0f;
float G_B3_0 = 0.0f;
{
float L_0 = ___a0;
float L_1 = ___b1;
if ((((float)L_0) < ((float)L_1)))
{
goto IL_0008;
}
}
{
float L_2 = ___b1;
G_B3_0 = L_2;
goto IL_0009;
}
IL_0008:
{
float L_3 = ___a0;
G_B3_0 = L_3;
}
IL_0009:
{
V_0 = G_B3_0;
goto IL_000c;
}
IL_000c:
{
float L_4 = V_0;
return L_4;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Vector3_Distance_m99C722723EDD875852EF854AD7B7C4F8AC4F84AB_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___a0, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___b1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
float V_0 = 0.0f;
float V_1 = 0.0f;
float V_2 = 0.0f;
float V_3 = 0.0f;
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ___a0;
float L_1 = L_0.___x_2;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2 = ___b1;
float L_3 = L_2.___x_2;
V_0 = ((float)il2cpp_codegen_subtract(L_1, L_3));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4 = ___a0;
float L_5 = L_4.___y_3;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6 = ___b1;
float L_7 = L_6.___y_3;
V_1 = ((float)il2cpp_codegen_subtract(L_5, L_7));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_8 = ___a0;
float L_9 = L_8.___z_4;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_10 = ___b1;
float L_11 = L_10.___z_4;
V_2 = ((float)il2cpp_codegen_subtract(L_9, L_11));
float L_12 = V_0;
float L_13 = V_0;
float L_14 = V_1;
float L_15 = V_1;
float L_16 = V_2;
float L_17 = V_2;
il2cpp_codegen_runtime_class_init_inline(Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
double L_18;
L_18 = sqrt(((double)((float)il2cpp_codegen_add(((float)il2cpp_codegen_add(((float)il2cpp_codegen_multiply(L_12, L_13)), ((float)il2cpp_codegen_multiply(L_14, L_15)))), ((float)il2cpp_codegen_multiply(L_16, L_17))))));
V_3 = ((float)L_18);
goto IL_0040;
}
IL_0040:
{
float L_19 = V_3;
return L_19;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void float3__ctor_mC61002CD0EC13D7C37D846D021A78C028FB80DB9_inline (float3_t4AB5D88249ADB24F69FFD0793E8ED25E1CC3745E* __this, float ___x0, float ___y1, float ___z2, const RuntimeMethod* method)
{
{
// this.x = x;
float L_0 = ___x0;
__this->___x_0 = L_0;
// this.y = y;
float L_1 = ___y1;
__this->___y_1 = L_1;
// this.z = z;
float L_2 = ___z2;
__this->___z_2 = L_2;
// }
return;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float3_t4AB5D88249ADB24F69FFD0793E8ED25E1CC3745E float3_op_Division_m337596E152F22C0A19CD1189C6E38BC5EAB9514F_inline (float3_t4AB5D88249ADB24F69FFD0793E8ED25E1CC3745E ___lhs0, float ___rhs1, const RuntimeMethod* method)
{
float3_t4AB5D88249ADB24F69FFD0793E8ED25E1CC3745E V_0;
memset((&V_0), 0, sizeof(V_0));
{
// public static float3 operator / (float3 lhs, float rhs) { return new float3 (lhs.x / rhs, lhs.y / rhs, lhs.z / rhs); }
float3_t4AB5D88249ADB24F69FFD0793E8ED25E1CC3745E L_0 = ___lhs0;
float L_1 = L_0.___x_0;
float L_2 = ___rhs1;
float3_t4AB5D88249ADB24F69FFD0793E8ED25E1CC3745E L_3 = ___lhs0;
float L_4 = L_3.___y_1;
float L_5 = ___rhs1;
float3_t4AB5D88249ADB24F69FFD0793E8ED25E1CC3745E L_6 = ___lhs0;
float L_7 = L_6.___z_2;
float L_8 = ___rhs1;
float3_t4AB5D88249ADB24F69FFD0793E8ED25E1CC3745E L_9;
memset((&L_9), 0, sizeof(L_9));
float3__ctor_mC61002CD0EC13D7C37D846D021A78C028FB80DB9_inline((&L_9), ((float)(L_1/L_2)), ((float)(L_4/L_5)), ((float)(L_7/L_8)), /*hidden argument*/NULL);
V_0 = L_9;
goto IL_0021;
}
IL_0021:
{
// public static float3 operator / (float3 lhs, float rhs) { return new float3 (lhs.x / rhs, lhs.y / rhs, lhs.z / rhs); }
float3_t4AB5D88249ADB24F69FFD0793E8ED25E1CC3745E L_10 = V_0;
return L_10;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Color_tD001788D726C3A7F1379BEED0260B9591F440C1F Color_get_yellow_m1EF7276EF58050DFBA8921E2383F0249C08D346F_inline (const RuntimeMethod* method)
{
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F V_0;
memset((&V_0), 0, sizeof(V_0));
{
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_0;
memset((&L_0), 0, sizeof(L_0));
Color__ctor_m3786F0D6E510D9CFA544523A955870BD2A514C8C_inline((&L_0), (1.0f), (0.921568632f), (0.0156862754f), (1.0f), /*hidden argument*/NULL);
V_0 = L_0;
goto IL_001d;
}
IL_001d:
{
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_1 = V_0;
return L_1;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Color_tD001788D726C3A7F1379BEED0260B9591F440C1F Color_get_red_m27D04C1E5FE794AD933B7B9364F3D34B9EA25109_inline (const RuntimeMethod* method)
{
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F V_0;
memset((&V_0), 0, sizeof(V_0));
{
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_0;
memset((&L_0), 0, sizeof(L_0));
Color__ctor_m3786F0D6E510D9CFA544523A955870BD2A514C8C_inline((&L_0), (1.0f), (0.0f), (0.0f), (1.0f), /*hidden argument*/NULL);
V_0 = L_0;
goto IL_001d;
}
IL_001d:
{
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_1 = V_0;
return L_1;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Color_tD001788D726C3A7F1379BEED0260B9591F440C1F Color_get_cyan_m1257FED4776F2A33BD7250357D024B3FA3E592EB_inline (const RuntimeMethod* method)
{
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F V_0;
memset((&V_0), 0, sizeof(V_0));
{
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_0;
memset((&L_0), 0, sizeof(L_0));
Color__ctor_m3786F0D6E510D9CFA544523A955870BD2A514C8C_inline((&L_0), (0.0f), (1.0f), (1.0f), (1.0f), /*hidden argument*/NULL);
V_0 = L_0;
goto IL_001d;
}
IL_001d:
{
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_1 = V_0;
return L_1;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_op_Division_mD7200D6D432BAFC4135C5B17A0B0A812203B0270_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___a0, float ___d1, const RuntimeMethod* method)
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
memset((&V_0), 0, sizeof(V_0));
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ___a0;
float L_1 = L_0.___x_2;
float L_2 = ___d1;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_3 = ___a0;
float L_4 = L_3.___y_3;
float L_5 = ___d1;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6 = ___a0;
float L_7 = L_6.___z_4;
float L_8 = ___d1;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_9;
memset((&L_9), 0, sizeof(L_9));
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_9), ((float)(L_1/L_2)), ((float)(L_4/L_5)), ((float)(L_7/L_8)), /*hidden argument*/NULL);
V_0 = L_9;
goto IL_0021;
}
IL_0021:
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_10 = V_0;
return L_10;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float2_t24AA5C0F612B0672315EDAFEC9D9E7F1C4A5B0BA float3_get_xz_m687D2F3B82CB637649325B969C1406D86133EB30_inline (float3_t4AB5D88249ADB24F69FFD0793E8ED25E1CC3745E* __this, const RuntimeMethod* method)
{
float2_t24AA5C0F612B0672315EDAFEC9D9E7F1C4A5B0BA V_0;
memset((&V_0), 0, sizeof(V_0));
{
// get { return new float2(x, z); }
float L_0 = __this->___x_0;
float L_1 = __this->___z_2;
float2_t24AA5C0F612B0672315EDAFEC9D9E7F1C4A5B0BA L_2;
memset((&L_2), 0, sizeof(L_2));
float2__ctor_m3D598E2C2D173DE852F3AB157502968261383C97_inline((&L_2), L_0, L_1, /*hidden argument*/NULL);
V_0 = L_2;
goto IL_0015;
}
IL_0015:
{
// get { return new float2(x, z); }
float2_t24AA5C0F612B0672315EDAFEC9D9E7F1C4A5B0BA L_3 = V_0;
return L_3;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void float2__ctor_m3D598E2C2D173DE852F3AB157502968261383C97_inline (float2_t24AA5C0F612B0672315EDAFEC9D9E7F1C4A5B0BA* __this, float ___x0, float ___y1, const RuntimeMethod* method)
{
{
// this.x = x;
float L_0 = ___x0;
__this->___x_0 = L_0;
// this.y = y;
float L_1 = ___y1;
__this->___y_1 = L_1;
// }
return;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float math_radians_m08B356E042815F191F6280057EA0EC8D7D90CA3F_inline (float ___x0, const RuntimeMethod* method)
{
float V_0 = 0.0f;
{
// public static float radians(float x) { return x * 0.0174532925f; }
float L_0 = ___x0;
V_0 = ((float)il2cpp_codegen_multiply(L_0, (0.0174532924f)));
goto IL_000b;
}
IL_000b:
{
// public static float radians(float x) { return x * 0.0174532925f; }
float L_1 = V_0;
return L_1;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float math_sin_m09BCE312DBA664A5CE3EDE6D10F874859F6885F0_inline (float ___x0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
float V_0 = 0.0f;
{
// public static float sin(float x) { return (float)System.Math.Sin((float)x); }
float L_0 = ___x0;
il2cpp_codegen_runtime_class_init_inline(Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
double L_1;
L_1 = sin(((double)((float)L_0)));
V_0 = ((float)L_1);
goto IL_000d;
}
IL_000d:
{
// public static float sin(float x) { return (float)System.Math.Sin((float)x); }
float L_2 = V_0;
return L_2;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float math_cos_mA9002EFEE2A017D04CB6231763FA2CB64A2BE3F1_inline (float ___x0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
float V_0 = 0.0f;
{
// public static float cos(float x) { return (float)System.Math.Cos(x); }
float L_0 = ___x0;
il2cpp_codegen_runtime_class_init_inline(Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
double L_1;
L_1 = cos(((double)L_0));
V_0 = ((float)L_1);
goto IL_000c;
}
IL_000c:
{
// public static float cos(float x) { return (float)System.Math.Cos(x); }
float L_2 = V_0;
return L_2;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float2_t24AA5C0F612B0672315EDAFEC9D9E7F1C4A5B0BA float2_op_Multiply_mA808DD1761BC02DFF27012799AC8BBE6CAA4833B_inline (float2_t24AA5C0F612B0672315EDAFEC9D9E7F1C4A5B0BA ___lhs0, float ___rhs1, const RuntimeMethod* method)
{
float2_t24AA5C0F612B0672315EDAFEC9D9E7F1C4A5B0BA V_0;
memset((&V_0), 0, sizeof(V_0));
{
// public static float2 operator * (float2 lhs, float rhs) { return new float2 (lhs.x * rhs, lhs.y * rhs); }
float2_t24AA5C0F612B0672315EDAFEC9D9E7F1C4A5B0BA L_0 = ___lhs0;
float L_1 = L_0.___x_0;
float L_2 = ___rhs1;
float2_t24AA5C0F612B0672315EDAFEC9D9E7F1C4A5B0BA L_3 = ___lhs0;
float L_4 = L_3.___y_1;
float L_5 = ___rhs1;
float2_t24AA5C0F612B0672315EDAFEC9D9E7F1C4A5B0BA L_6;
memset((&L_6), 0, sizeof(L_6));
float2__ctor_m3D598E2C2D173DE852F3AB157502968261383C97_inline((&L_6), ((float)il2cpp_codegen_multiply(L_1, L_2)), ((float)il2cpp_codegen_multiply(L_4, L_5)), /*hidden argument*/NULL);
V_0 = L_6;
goto IL_0019;
}
IL_0019:
{
// public static float2 operator * (float2 lhs, float rhs) { return new float2 (lhs.x * rhs, lhs.y * rhs); }
float2_t24AA5C0F612B0672315EDAFEC9D9E7F1C4A5B0BA L_7 = V_0;
return L_7;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float2_t24AA5C0F612B0672315EDAFEC9D9E7F1C4A5B0BA float2_op_Subtraction_mBC3DDD89B54F91541030E441B07B00D8D7172FF7_inline (float2_t24AA5C0F612B0672315EDAFEC9D9E7F1C4A5B0BA ___lhs0, float2_t24AA5C0F612B0672315EDAFEC9D9E7F1C4A5B0BA ___rhs1, const RuntimeMethod* method)
{
float2_t24AA5C0F612B0672315EDAFEC9D9E7F1C4A5B0BA V_0;
memset((&V_0), 0, sizeof(V_0));
{
// public static float2 operator - (float2 lhs, float2 rhs) { return new float2 (lhs.x - rhs.x, lhs.y - rhs.y); }
float2_t24AA5C0F612B0672315EDAFEC9D9E7F1C4A5B0BA L_0 = ___lhs0;
float L_1 = L_0.___x_0;
float2_t24AA5C0F612B0672315EDAFEC9D9E7F1C4A5B0BA L_2 = ___rhs1;
float L_3 = L_2.___x_0;
float2_t24AA5C0F612B0672315EDAFEC9D9E7F1C4A5B0BA L_4 = ___lhs0;
float L_5 = L_4.___y_1;
float2_t24AA5C0F612B0672315EDAFEC9D9E7F1C4A5B0BA L_6 = ___rhs1;
float L_7 = L_6.___y_1;
float2_t24AA5C0F612B0672315EDAFEC9D9E7F1C4A5B0BA L_8;
memset((&L_8), 0, sizeof(L_8));
float2__ctor_m3D598E2C2D173DE852F3AB157502968261383C97_inline((&L_8), ((float)il2cpp_codegen_subtract(L_1, L_3)), ((float)il2cpp_codegen_subtract(L_5, L_7)), /*hidden argument*/NULL);
V_0 = L_8;
goto IL_0023;
}
IL_0023:
{
// public static float2 operator - (float2 lhs, float2 rhs) { return new float2 (lhs.x - rhs.x, lhs.y - rhs.y); }
float2_t24AA5C0F612B0672315EDAFEC9D9E7F1C4A5B0BA L_9 = V_0;
return L_9;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float2_t24AA5C0F612B0672315EDAFEC9D9E7F1C4A5B0BA float2_op_Addition_m503678CD90BFA0E4047291761C002E0CB849B845_inline (float2_t24AA5C0F612B0672315EDAFEC9D9E7F1C4A5B0BA ___lhs0, float2_t24AA5C0F612B0672315EDAFEC9D9E7F1C4A5B0BA ___rhs1, const RuntimeMethod* method)
{
float2_t24AA5C0F612B0672315EDAFEC9D9E7F1C4A5B0BA V_0;
memset((&V_0), 0, sizeof(V_0));
{
// public static float2 operator + (float2 lhs, float2 rhs) { return new float2 (lhs.x + rhs.x, lhs.y + rhs.y); }
float2_t24AA5C0F612B0672315EDAFEC9D9E7F1C4A5B0BA L_0 = ___lhs0;
float L_1 = L_0.___x_0;
float2_t24AA5C0F612B0672315EDAFEC9D9E7F1C4A5B0BA L_2 = ___rhs1;
float L_3 = L_2.___x_0;
float2_t24AA5C0F612B0672315EDAFEC9D9E7F1C4A5B0BA L_4 = ___lhs0;
float L_5 = L_4.___y_1;
float2_t24AA5C0F612B0672315EDAFEC9D9E7F1C4A5B0BA L_6 = ___rhs1;
float L_7 = L_6.___y_1;
float2_t24AA5C0F612B0672315EDAFEC9D9E7F1C4A5B0BA L_8;
memset((&L_8), 0, sizeof(L_8));
float2__ctor_m3D598E2C2D173DE852F3AB157502968261383C97_inline((&L_8), ((float)il2cpp_codegen_add(L_1, L_3)), ((float)il2cpp_codegen_add(L_5, L_7)), /*hidden argument*/NULL);
V_0 = L_8;
goto IL_0023;
}
IL_0023:
{
// public static float2 operator + (float2 lhs, float2 rhs) { return new float2 (lhs.x + rhs.x, lhs.y + rhs.y); }
float2_t24AA5C0F612B0672315EDAFEC9D9E7F1C4A5B0BA L_9 = V_0;
return L_9;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float2_t24AA5C0F612B0672315EDAFEC9D9E7F1C4A5B0BA math_normalize_mD2C1AF2A74CFB0EC69962A879E4138A5DE18A0F0_inline (float2_t24AA5C0F612B0672315EDAFEC9D9E7F1C4A5B0BA ___x0, const RuntimeMethod* method)
{
float2_t24AA5C0F612B0672315EDAFEC9D9E7F1C4A5B0BA V_0;
memset((&V_0), 0, sizeof(V_0));
{
// public static float2 normalize(float2 x) { return rsqrt(dot(x, x)) * x; }
float2_t24AA5C0F612B0672315EDAFEC9D9E7F1C4A5B0BA L_0 = ___x0;
float2_t24AA5C0F612B0672315EDAFEC9D9E7F1C4A5B0BA L_1 = ___x0;
float L_2;
L_2 = math_dot_mB5F64A20288F500F84BB056EF63B37146FBBA96C_inline(L_0, L_1, NULL);
float L_3;
L_3 = math_rsqrt_mB695A0575E7C8F937B0E12804508B0F489F55997_inline(L_2, NULL);
float2_t24AA5C0F612B0672315EDAFEC9D9E7F1C4A5B0BA L_4 = ___x0;
float2_t24AA5C0F612B0672315EDAFEC9D9E7F1C4A5B0BA L_5;
L_5 = float2_op_Multiply_m5F69F01DCD43A1E5C5D51EE8C8D96249401DABC8_inline(L_3, L_4, NULL);
V_0 = L_5;
goto IL_0016;
}
IL_0016:
{
// public static float2 normalize(float2 x) { return rsqrt(dot(x, x)) * x; }
float2_t24AA5C0F612B0672315EDAFEC9D9E7F1C4A5B0BA L_6 = V_0;
return L_6;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float math_dot_mB5F64A20288F500F84BB056EF63B37146FBBA96C_inline (float2_t24AA5C0F612B0672315EDAFEC9D9E7F1C4A5B0BA ___x0, float2_t24AA5C0F612B0672315EDAFEC9D9E7F1C4A5B0BA ___y1, const RuntimeMethod* method)
{
float V_0 = 0.0f;
{
// public static float dot(float2 x, float2 y) { return x.x * y.x + x.y * y.y; }
float2_t24AA5C0F612B0672315EDAFEC9D9E7F1C4A5B0BA L_0 = ___x0;
float L_1 = L_0.___x_0;
float2_t24AA5C0F612B0672315EDAFEC9D9E7F1C4A5B0BA L_2 = ___y1;
float L_3 = L_2.___x_0;
float2_t24AA5C0F612B0672315EDAFEC9D9E7F1C4A5B0BA L_4 = ___x0;
float L_5 = L_4.___y_1;
float2_t24AA5C0F612B0672315EDAFEC9D9E7F1C4A5B0BA L_6 = ___y1;
float L_7 = L_6.___y_1;
V_0 = ((float)il2cpp_codegen_add(((float)il2cpp_codegen_multiply(L_1, L_3)), ((float)il2cpp_codegen_multiply(L_5, L_7))));
goto IL_001f;
}
IL_001f:
{
// public static float dot(float2 x, float2 y) { return x.x * y.x + x.y * y.y; }
float L_8 = V_0;
return L_8;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float2_t24AA5C0F612B0672315EDAFEC9D9E7F1C4A5B0BA float2_get_xy_mAB96D1C1ABAC5AC6B2B6059669D94D246EA623FF_inline (float2_t24AA5C0F612B0672315EDAFEC9D9E7F1C4A5B0BA* __this, const RuntimeMethod* method)
{
float2_t24AA5C0F612B0672315EDAFEC9D9E7F1C4A5B0BA V_0;
memset((&V_0), 0, sizeof(V_0));
{
// get { return new float2(x, y); }
float L_0 = __this->___x_0;
float L_1 = __this->___y_1;
float2_t24AA5C0F612B0672315EDAFEC9D9E7F1C4A5B0BA L_2;
memset((&L_2), 0, sizeof(L_2));
float2__ctor_m3D598E2C2D173DE852F3AB157502968261383C97_inline((&L_2), L_0, L_1, /*hidden argument*/NULL);
V_0 = L_2;
goto IL_0015;
}
IL_0015:
{
// get { return new float2(x, y); }
float2_t24AA5C0F612B0672315EDAFEC9D9E7F1C4A5B0BA L_3 = V_0;
return L_3;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float2_t24AA5C0F612B0672315EDAFEC9D9E7F1C4A5B0BA float2_op_UnaryNegation_m32D405A200CB4473779212462A3A1511FF8FE9F3_inline (float2_t24AA5C0F612B0672315EDAFEC9D9E7F1C4A5B0BA ___val0, const RuntimeMethod* method)
{
float2_t24AA5C0F612B0672315EDAFEC9D9E7F1C4A5B0BA V_0;
memset((&V_0), 0, sizeof(V_0));
{
// public static float2 operator - (float2 val) { return new float2 (-val.x, -val.y); }
float2_t24AA5C0F612B0672315EDAFEC9D9E7F1C4A5B0BA L_0 = ___val0;
float L_1 = L_0.___x_0;
float2_t24AA5C0F612B0672315EDAFEC9D9E7F1C4A5B0BA L_2 = ___val0;
float L_3 = L_2.___y_1;
float2_t24AA5C0F612B0672315EDAFEC9D9E7F1C4A5B0BA L_4;
memset((&L_4), 0, sizeof(L_4));
float2__ctor_m3D598E2C2D173DE852F3AB157502968261383C97_inline((&L_4), ((-L_1)), ((-L_3)), /*hidden argument*/NULL);
V_0 = L_4;
goto IL_0017;
}
IL_0017:
{
// public static float2 operator - (float2 val) { return new float2 (-val.x, -val.y); }
float2_t24AA5C0F612B0672315EDAFEC9D9E7F1C4A5B0BA L_5 = V_0;
return L_5;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void float3__ctor_m294ACD85A4CE5F3F9C41D30933CA52AC64660830_inline (float3_t4AB5D88249ADB24F69FFD0793E8ED25E1CC3745E* __this, float2_t24AA5C0F612B0672315EDAFEC9D9E7F1C4A5B0BA ___xy0, float ___z1, const RuntimeMethod* method)
{
{
// this.x = xy.x;
float2_t24AA5C0F612B0672315EDAFEC9D9E7F1C4A5B0BA L_0 = ___xy0;
float L_1 = L_0.___x_0;
__this->___x_0 = L_1;
// this.y = xy.y;
float2_t24AA5C0F612B0672315EDAFEC9D9E7F1C4A5B0BA L_2 = ___xy0;
float L_3 = L_2.___y_1;
__this->___y_1 = L_3;
// this.z = z;
float L_4 = ___z1;
__this->___z_2 = L_4;
// }
return;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float3_t4AB5D88249ADB24F69FFD0793E8ED25E1CC3745E float3_op_Multiply_mD1D9969B1E1417BD268661848625F97CD44DA80D_inline (float3_t4AB5D88249ADB24F69FFD0793E8ED25E1CC3745E ___lhs0, float ___rhs1, const RuntimeMethod* method)
{
float3_t4AB5D88249ADB24F69FFD0793E8ED25E1CC3745E V_0;
memset((&V_0), 0, sizeof(V_0));
{
// public static float3 operator * (float3 lhs, float rhs) { return new float3 (lhs.x * rhs, lhs.y * rhs, lhs.z * rhs); }
float3_t4AB5D88249ADB24F69FFD0793E8ED25E1CC3745E L_0 = ___lhs0;
float L_1 = L_0.___x_0;
float L_2 = ___rhs1;
float3_t4AB5D88249ADB24F69FFD0793E8ED25E1CC3745E L_3 = ___lhs0;
float L_4 = L_3.___y_1;
float L_5 = ___rhs1;
float3_t4AB5D88249ADB24F69FFD0793E8ED25E1CC3745E L_6 = ___lhs0;
float L_7 = L_6.___z_2;
float L_8 = ___rhs1;
float3_t4AB5D88249ADB24F69FFD0793E8ED25E1CC3745E L_9;
memset((&L_9), 0, sizeof(L_9));
float3__ctor_mC61002CD0EC13D7C37D846D021A78C028FB80DB9_inline((&L_9), ((float)il2cpp_codegen_multiply(L_1, L_2)), ((float)il2cpp_codegen_multiply(L_4, L_5)), ((float)il2cpp_codegen_multiply(L_7, L_8)), /*hidden argument*/NULL);
V_0 = L_9;
goto IL_0021;
}
IL_0021:
{
// public static float3 operator * (float3 lhs, float rhs) { return new float3 (lhs.x * rhs, lhs.y * rhs, lhs.z * rhs); }
float3_t4AB5D88249ADB24F69FFD0793E8ED25E1CC3745E L_10 = V_0;
return L_10;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float3_t4AB5D88249ADB24F69FFD0793E8ED25E1CC3745E float3_get_xzy_m6F67365A6925C25BFDD557F2EBD87C76E7BDDB77_inline (float3_t4AB5D88249ADB24F69FFD0793E8ED25E1CC3745E* __this, const RuntimeMethod* method)
{
float3_t4AB5D88249ADB24F69FFD0793E8ED25E1CC3745E V_0;
memset((&V_0), 0, sizeof(V_0));
{
// get { return new float3(x, z, y); }
float L_0 = __this->___x_0;
float L_1 = __this->___z_2;
float L_2 = __this->___y_1;
float3_t4AB5D88249ADB24F69FFD0793E8ED25E1CC3745E L_3;
memset((&L_3), 0, sizeof(L_3));
float3__ctor_mC61002CD0EC13D7C37D846D021A78C028FB80DB9_inline((&L_3), L_0, L_1, L_2, /*hidden argument*/NULL);
V_0 = L_3;
goto IL_001b;
}
IL_001b:
{
// get { return new float3(x, z, y); }
float3_t4AB5D88249ADB24F69FFD0793E8ED25E1CC3745E L_4 = V_0;
return L_4;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float3_t4AB5D88249ADB24F69FFD0793E8ED25E1CC3745E math_normalize_m826725DC58F0CE455E3DEB3BD4808C13CBC81E25_inline (float3_t4AB5D88249ADB24F69FFD0793E8ED25E1CC3745E ___x0, const RuntimeMethod* method)
{
float3_t4AB5D88249ADB24F69FFD0793E8ED25E1CC3745E V_0;
memset((&V_0), 0, sizeof(V_0));
{
// public static float3 normalize(float3 x) { return rsqrt(dot(x, x)) * x; }
float3_t4AB5D88249ADB24F69FFD0793E8ED25E1CC3745E L_0 = ___x0;
float3_t4AB5D88249ADB24F69FFD0793E8ED25E1CC3745E L_1 = ___x0;
float L_2;
L_2 = math_dot_mFC6E6AC5C12A0802A91EB7F9A897802DFF03C44D_inline(L_0, L_1, NULL);
float L_3;
L_3 = math_rsqrt_mB695A0575E7C8F937B0E12804508B0F489F55997_inline(L_2, NULL);
float3_t4AB5D88249ADB24F69FFD0793E8ED25E1CC3745E L_4 = ___x0;
float3_t4AB5D88249ADB24F69FFD0793E8ED25E1CC3745E L_5;
L_5 = float3_op_Multiply_mB08DA9B217A0DA39BABCE64FFE69BEA67D37D04F_inline(L_3, L_4, NULL);
V_0 = L_5;
goto IL_0016;
}
IL_0016:
{
// public static float3 normalize(float3 x) { return rsqrt(dot(x, x)) * x; }
float3_t4AB5D88249ADB24F69FFD0793E8ED25E1CC3745E L_6 = V_0;
return L_6;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_get_forward_mEBAB24D77FC02FC88ED880738C3B1D47C758B3EB_inline (const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
memset((&V_0), 0, sizeof(V_0));
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ((Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2_StaticFields*)il2cpp_codegen_static_fields_for(Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2_il2cpp_TypeInfo_var))->___forwardVector_11;
V_0 = L_0;
goto IL_0009;
}
IL_0009:
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_1 = V_0;
return L_1;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void ScriptableRenderPass_set_renderPassEvent_m63FA581FFDE1C69C2E1358BD0B8DB30275334960_inline (ScriptableRenderPass_tEA38F6C7AD8D111A2251E4C2A7530BCEE7D6D2B0* __this, int32_t ___value0, const RuntimeMethod* method)
{
{
// public RenderPassEvent renderPassEvent { get; set; }
int32_t L_0 = ___value0;
__this->___U3CrenderPassEventU3Ek__BackingField_0 = L_0;
return;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Color__ctor_m3786F0D6E510D9CFA544523A955870BD2A514C8C_inline (Color_tD001788D726C3A7F1379BEED0260B9591F440C1F* __this, float ___r0, float ___g1, float ___b2, float ___a3, const RuntimeMethod* method)
{
{
float L_0 = ___r0;
__this->___r_0 = L_0;
float L_1 = ___g1;
__this->___g_1 = L_1;
float L_2 = ___b2;
__this->___b_2 = L_2;
float L_3 = ___a3;
__this->___a_3 = L_3;
return;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t RenderTextureDescriptor_get_width_mB159E4EB08B23B19CCCFADB465864361FB840BFF_inline (RenderTextureDescriptor_t69845881CE6437E4E61F92074F2F84079F23FA46* __this, const RuntimeMethod* method)
{
{
int32_t L_0 = __this->___U3CwidthU3Ek__BackingField_0;
return L_0;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void RenderTextureDescriptor_set_width_m3B2494007BFE3AD4D14403407C9B24F5045E7E10_inline (RenderTextureDescriptor_t69845881CE6437E4E61F92074F2F84079F23FA46* __this, int32_t ___value0, const RuntimeMethod* method)
{
{
int32_t L_0 = ___value0;
__this->___U3CwidthU3Ek__BackingField_0 = L_0;
return;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t RenderTextureDescriptor_get_height_m1006F9AA45029715C552C8A8C2F102F63D3A91EC_inline (RenderTextureDescriptor_t69845881CE6437E4E61F92074F2F84079F23FA46* __this, const RuntimeMethod* method)
{
{
int32_t L_0 = __this->___U3CheightU3Ek__BackingField_1;
return L_0;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void RenderTextureDescriptor_set_height_m1FE41111472DAA9B5E80FFAF3445004D72A3CFA5_inline (RenderTextureDescriptor_t69845881CE6437E4E61F92074F2F84079F23FA46* __this, int32_t ___value0, const RuntimeMethod* method)
{
{
int32_t L_0 = ___value0;
__this->___U3CheightU3Ek__BackingField_1 = L_0;
return;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t RenderTargetHandle_get_id_m4D50FDA4A486E05D07A54ABFC04BD96C1CE7D7BE_inline (RenderTargetHandle_tB5C2670041BF377223D41FDF9290F6D8BFB7BA66* __this, const RuntimeMethod* method)
{
{
// public int id { set; get; }
int32_t L_0 = __this->___U3CidU3Ek__BackingField_0;
return L_0;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 Quaternion_Euler_mD4601D966F1F58F3FCA01B3FC19A12D0AD0396DD_inline (float ___x0, float ___y1, float ___z2, const RuntimeMethod* method)
{
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 V_0;
memset((&V_0), 0, sizeof(V_0));
{
float L_0 = ___x0;
float L_1 = ___y1;
float L_2 = ___z2;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_3;
memset((&L_3), 0, sizeof(L_3));
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_3), L_0, L_1, L_2, /*hidden argument*/NULL);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4;
L_4 = Vector3_op_Multiply_m516FE285F5342F922C6EB3FCB33197E9017FF484_inline(L_3, (0.0174532924f), NULL);
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_5;
L_5 = Quaternion_Internal_FromEulerRad_m2842B9FFB31CDC0F80B7C2172E22831D11D91E93(L_4, NULL);
V_0 = L_5;
goto IL_001b;
}
IL_001b:
{
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_6 = V_0;
return L_6;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Mathf_Lerp_mFB4910B358B986AFB22114ED90458E8341867479_inline (float ___a0, float ___b1, float ___t2, const RuntimeMethod* method)
{
float V_0 = 0.0f;
{
float L_0 = ___a0;
float L_1 = ___b1;
float L_2 = ___a0;
float L_3 = ___t2;
float L_4;
L_4 = Mathf_Clamp01_mD921B23F47F5347996C56DC789D1DE16EE27D9B1_inline(L_3, NULL);
V_0 = ((float)il2cpp_codegen_add(L_0, ((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_subtract(L_1, L_2)), L_4))));
goto IL_0010;
}
IL_0010:
{
float L_5 = V_0;
return L_5;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 Vector2_get_zero_m009B92B5D35AB02BD1610C2E1ACCE7C9CF964A6E_inline (const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 V_0;
memset((&V_0), 0, sizeof(V_0));
{
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_0 = ((Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7_StaticFields*)il2cpp_codegen_static_fields_for(Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7_il2cpp_TypeInfo_var))->___zeroVector_2;
V_0 = L_0;
goto IL_0009;
}
IL_0009:
{
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_1 = V_0;
return L_1;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Color_tD001788D726C3A7F1379BEED0260B9591F440C1F Color_get_black_mBF96B603B41BED9BAFAA10CE8D946D24260F9729_inline (const RuntimeMethod* method)
{
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F V_0;
memset((&V_0), 0, sizeof(V_0));
{
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_0;
memset((&L_0), 0, sizeof(L_0));
Color__ctor_m3786F0D6E510D9CFA544523A955870BD2A514C8C_inline((&L_0), (0.0f), (0.0f), (0.0f), (1.0f), /*hidden argument*/NULL);
V_0 = L_0;
goto IL_001d;
}
IL_001d:
{
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_1 = V_0;
return L_1;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Action_2_Invoke_m75E23BAD5C95C6003991F85C738C496DD7C42794_gshared_inline (Action_2_t38DEBB6BD6AE1CA882236F63F7E1DB3781D38994* __this, ScriptableRenderContext_t5AB09B3602BEB456E0DC3D53926D3A3BDAF08E36 ___arg10, RuntimeObject* ___arg21, const RuntimeMethod* method)
{
typedef void (*FunctionPointerType) (Action_2_t38DEBB6BD6AE1CA882236F63F7E1DB3781D38994* __this, ScriptableRenderContext_t5AB09B3602BEB456E0DC3D53926D3A3BDAF08E36 ___arg10, RuntimeObject* ___arg21, const RuntimeMethod* method);
((FunctionPointerType)__this->___invoke_impl_1)(__this, ___arg10, ___arg21, reinterpret_cast<RuntimeMethod*>(__this->___method_3));
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_gshared_inline (List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___item0, const RuntimeMethod* method)
{
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* V_0 = NULL;
int32_t V_1 = 0;
{
int32_t L_0 = (int32_t)__this->____version_3;
__this->____version_3 = ((int32_t)il2cpp_codegen_add(L_0, 1));
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_1 = (Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C*)__this->____items_1;
V_0 = L_1;
int32_t L_2 = (int32_t)__this->____size_2;
V_1 = L_2;
int32_t L_3 = V_1;
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_4 = V_0;
NullCheck(L_4);
if ((!(((uint32_t)L_3) < ((uint32_t)((int32_t)(((RuntimeArray*)L_4)->max_length))))))
{
goto IL_0034;
}
}
{
int32_t L_5 = V_1;
__this->____size_2 = ((int32_t)il2cpp_codegen_add(L_5, 1));
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_6 = V_0;
int32_t L_7 = V_1;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_8 = ___item0;
NullCheck(L_6);
(L_6)->SetAt(static_cast<il2cpp_array_size_t>(L_7), (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2)L_8);
return;
}
IL_0034:
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_9 = ___item0;
(( void (*) (List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B*, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2, const RuntimeMethod*))il2cpp_codegen_get_method_pointer(il2cpp_rgctx_method(method->klass->rgctx_data, 11)))(__this, L_9, il2cpp_rgctx_method(method->klass->rgctx_data, 11));
return;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_Normalize_m6120F119433C5B60BBB28731D3D4A0DA50A84DDD_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___value0, const RuntimeMethod* method)
{
float V_0 = 0.0f;
bool V_1 = false;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_2;
memset((&V_2), 0, sizeof(V_2));
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ___value0;
float L_1;
L_1 = Vector3_Magnitude_m6AD0BEBF88AAF98188A851E62D7A32CB5B7830EF_inline(L_0, NULL);
V_0 = L_1;
float L_2 = V_0;
V_1 = (bool)((((float)L_2) > ((float)(9.99999975E-06f)))? 1 : 0);
bool L_3 = V_1;
if (!L_3)
{
goto IL_001e;
}
}
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4 = ___value0;
float L_5 = V_0;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6;
L_6 = Vector3_op_Division_mD7200D6D432BAFC4135C5B17A0B0A812203B0270_inline(L_4, L_5, NULL);
V_2 = L_6;
goto IL_0026;
}
IL_001e:
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_7;
L_7 = Vector3_get_zero_m9D7F7B580B5A276411267E96AA3425736D9BDC83_inline(NULL);
V_2 = L_7;
goto IL_0026;
}
IL_0026:
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_8 = V_2;
return L_8;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float math_min_mE93EEB61C438816CB626CA58653B828E43C82268_inline (float ___x0, float ___y1, const RuntimeMethod* method)
{
float V_0 = 0.0f;
float G_B4_0 = 0.0f;
{
// public static float min(float x, float y) { return float.IsNaN(y) || x < y ? x : y; }
float L_0 = ___y1;
bool L_1;
L_1 = Single_IsNaN_m684B090AA2F895FD91821CA8684CBC11D784E4DD_inline(L_0, NULL);
if (L_1)
{
goto IL_0010;
}
}
{
float L_2 = ___x0;
float L_3 = ___y1;
if ((((float)L_2) < ((float)L_3)))
{
goto IL_0010;
}
}
{
float L_4 = ___y1;
G_B4_0 = L_4;
goto IL_0011;
}
IL_0010:
{
float L_5 = ___x0;
G_B4_0 = L_5;
}
IL_0011:
{
V_0 = G_B4_0;
goto IL_0014;
}
IL_0014:
{
// public static float min(float x, float y) { return float.IsNaN(y) || x < y ? x : y; }
float L_6 = V_0;
return L_6;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float math_max_mF7035168A46D333C6A703B673220B115411B67C1_inline (float ___x0, float ___y1, const RuntimeMethod* method)
{
float V_0 = 0.0f;
float G_B4_0 = 0.0f;
{
// public static float max(float x, float y) { return float.IsNaN(y) || x > y ? x : y; }
float L_0 = ___y1;
bool L_1;
L_1 = Single_IsNaN_m684B090AA2F895FD91821CA8684CBC11D784E4DD_inline(L_0, NULL);
if (L_1)
{
goto IL_0010;
}
}
{
float L_2 = ___x0;
float L_3 = ___y1;
if ((((float)L_2) > ((float)L_3)))
{
goto IL_0010;
}
}
{
float L_4 = ___y1;
G_B4_0 = L_4;
goto IL_0011;
}
IL_0010:
{
float L_5 = ___x0;
G_B4_0 = L_5;
}
IL_0011:
{
V_0 = G_B4_0;
goto IL_0014;
}
IL_0014:
{
// public static float max(float x, float y) { return float.IsNaN(y) || x > y ? x : y; }
float L_6 = V_0;
return L_6;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float math_rsqrt_mB695A0575E7C8F937B0E12804508B0F489F55997_inline (float ___x0, const RuntimeMethod* method)
{
float V_0 = 0.0f;
{
// public static float rsqrt(float x) { return 1.0f / sqrt(x); }
float L_0 = ___x0;
float L_1;
L_1 = math_sqrt_mD0D6FA27E6D4959A0D4A823FFD3A9DA396542875_inline(L_0, NULL);
V_0 = ((float)((1.0f)/L_1));
goto IL_0010;
}
IL_0010:
{
// public static float rsqrt(float x) { return 1.0f / sqrt(x); }
float L_2 = V_0;
return L_2;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float2_t24AA5C0F612B0672315EDAFEC9D9E7F1C4A5B0BA float2_op_Multiply_m5F69F01DCD43A1E5C5D51EE8C8D96249401DABC8_inline (float ___lhs0, float2_t24AA5C0F612B0672315EDAFEC9D9E7F1C4A5B0BA ___rhs1, const RuntimeMethod* method)
{
float2_t24AA5C0F612B0672315EDAFEC9D9E7F1C4A5B0BA V_0;
memset((&V_0), 0, sizeof(V_0));
{
// public static float2 operator * (float lhs, float2 rhs) { return new float2 (lhs * rhs.x, lhs * rhs.y); }
float L_0 = ___lhs0;
float2_t24AA5C0F612B0672315EDAFEC9D9E7F1C4A5B0BA L_1 = ___rhs1;
float L_2 = L_1.___x_0;
float L_3 = ___lhs0;
float2_t24AA5C0F612B0672315EDAFEC9D9E7F1C4A5B0BA L_4 = ___rhs1;
float L_5 = L_4.___y_1;
float2_t24AA5C0F612B0672315EDAFEC9D9E7F1C4A5B0BA L_6;
memset((&L_6), 0, sizeof(L_6));
float2__ctor_m3D598E2C2D173DE852F3AB157502968261383C97_inline((&L_6), ((float)il2cpp_codegen_multiply(L_0, L_2)), ((float)il2cpp_codegen_multiply(L_3, L_5)), /*hidden argument*/NULL);
V_0 = L_6;
goto IL_0019;
}
IL_0019:
{
// public static float2 operator * (float lhs, float2 rhs) { return new float2 (lhs * rhs.x, lhs * rhs.y); }
float2_t24AA5C0F612B0672315EDAFEC9D9E7F1C4A5B0BA L_7 = V_0;
return L_7;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float math_dot_mFC6E6AC5C12A0802A91EB7F9A897802DFF03C44D_inline (float3_t4AB5D88249ADB24F69FFD0793E8ED25E1CC3745E ___x0, float3_t4AB5D88249ADB24F69FFD0793E8ED25E1CC3745E ___y1, const RuntimeMethod* method)
{
float V_0 = 0.0f;
{
// public static float dot(float3 x, float3 y) { return x.x * y.x + x.y * y.y + x.z * y.z; }
float3_t4AB5D88249ADB24F69FFD0793E8ED25E1CC3745E L_0 = ___x0;
float L_1 = L_0.___x_0;
float3_t4AB5D88249ADB24F69FFD0793E8ED25E1CC3745E L_2 = ___y1;
float L_3 = L_2.___x_0;
float3_t4AB5D88249ADB24F69FFD0793E8ED25E1CC3745E L_4 = ___x0;
float L_5 = L_4.___y_1;
float3_t4AB5D88249ADB24F69FFD0793E8ED25E1CC3745E L_6 = ___y1;
float L_7 = L_6.___y_1;
float3_t4AB5D88249ADB24F69FFD0793E8ED25E1CC3745E L_8 = ___x0;
float L_9 = L_8.___z_2;
float3_t4AB5D88249ADB24F69FFD0793E8ED25E1CC3745E L_10 = ___y1;
float L_11 = L_10.___z_2;
V_0 = ((float)il2cpp_codegen_add(((float)il2cpp_codegen_add(((float)il2cpp_codegen_multiply(L_1, L_3)), ((float)il2cpp_codegen_multiply(L_5, L_7)))), ((float)il2cpp_codegen_multiply(L_9, L_11))));
goto IL_002d;
}
IL_002d:
{
// public static float dot(float3 x, float3 y) { return x.x * y.x + x.y * y.y + x.z * y.z; }
float L_12 = V_0;
return L_12;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Mathf_Clamp01_mD921B23F47F5347996C56DC789D1DE16EE27D9B1_inline (float ___value0, const RuntimeMethod* method)
{
bool V_0 = false;
float V_1 = 0.0f;
bool V_2 = false;
{
float L_0 = ___value0;
V_0 = (bool)((((float)L_0) < ((float)(0.0f)))? 1 : 0);
bool L_1 = V_0;
if (!L_1)
{
goto IL_0015;
}
}
{
V_1 = (0.0f);
goto IL_002d;
}
IL_0015:
{
float L_2 = ___value0;
V_2 = (bool)((((float)L_2) > ((float)(1.0f)))? 1 : 0);
bool L_3 = V_2;
if (!L_3)
{
goto IL_0029;
}
}
{
V_1 = (1.0f);
goto IL_002d;
}
IL_0029:
{
float L_4 = ___value0;
V_1 = L_4;
goto IL_002d;
}
IL_002d:
{
float L_5 = V_1;
return L_5;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Vector3_Magnitude_m6AD0BEBF88AAF98188A851E62D7A32CB5B7830EF_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___vector0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
float V_0 = 0.0f;
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ___vector0;
float L_1 = L_0.___x_2;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2 = ___vector0;
float L_3 = L_2.___x_2;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4 = ___vector0;
float L_5 = L_4.___y_3;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6 = ___vector0;
float L_7 = L_6.___y_3;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_8 = ___vector0;
float L_9 = L_8.___z_4;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_10 = ___vector0;
float L_11 = L_10.___z_4;
il2cpp_codegen_runtime_class_init_inline(Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
double L_12;
L_12 = sqrt(((double)((float)il2cpp_codegen_add(((float)il2cpp_codegen_add(((float)il2cpp_codegen_multiply(L_1, L_3)), ((float)il2cpp_codegen_multiply(L_5, L_7)))), ((float)il2cpp_codegen_multiply(L_9, L_11))))));
V_0 = ((float)L_12);
goto IL_0034;
}
IL_0034:
{
float L_13 = V_0;
return L_13;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR bool Single_IsNaN_m684B090AA2F895FD91821CA8684CBC11D784E4DD_inline (float ___f0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&BitConverter_t6E99605185963BC12B3D369E13F2B88997E64A27_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
{
float L_0 = ___f0;
il2cpp_codegen_runtime_class_init_inline(BitConverter_t6E99605185963BC12B3D369E13F2B88997E64A27_il2cpp_TypeInfo_var);
int32_t L_1;
L_1 = BitConverter_SingleToInt32Bits_mA1902D40966CA4C89A8974B10E5680A06E88566B_inline(L_0, NULL);
return (bool)((((int32_t)((int32_t)(L_1&((int32_t)2147483647LL)))) > ((int32_t)((int32_t)2139095040)))? 1 : 0);
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t BitConverter_SingleToInt32Bits_mA1902D40966CA4C89A8974B10E5680A06E88566B_inline (float ___value0, const RuntimeMethod* method)
{
{
int32_t L_0 = *((int32_t*)((uintptr_t)(&___value0)));
return L_0;
}
}