using System;
using Cpp2IlInjected;
using UnityEngine;

namespace UnityStandardAssets.ImageEffects
{
	// Token: 0x020005D2 RID: 1490
	[Token(Token = "0x20005D2")]
	[ExecuteInEditMode]
	[AddComponentMenu("Image Effects/Displacement/Twirl")]
	public class Twirl : ImageEffectBase
	{
		// Token: 0x06002F68 RID: 12136 RVA: 0x000020D3 File Offset: 0x000002D3
		[Token(Token = "0x6002F68")]
		[Address(RVA = "0x75A6D0", Offset = "0x7594D0", VA = "0x18075A6D0")]
		private void OnRenderImage(RenderTexture source, RenderTexture destination)
		{
			throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
		}

		// Token: 0x06002F69 RID: 12137 RVA: 0x00065108 File Offset: 0x00063308
		[Token(Token = "0x6002F69")]
		[Address(RVA = "0x75A750", Offset = "0x759550", VA = "0x18075A750")]
		public Twirl()
		{
			this.radius.y = 0.3f;
			this.angle = 50f;
			this.center = (ulong)1056964608L;
			this.center.y = 0.5f;
			base..ctor();
		}

		// Token: 0x04003988 RID: 14728
		[FieldOffset(Offset = "0x28")]
		[Token(Token = "0x4003988")]
		public Vector2 radius = (ulong)1050253722L;

		// Token: 0x04003989 RID: 14729
		[FieldOffset(Offset = "0x30")]
		[Token(Token = "0x4003989")]
		[Range(0f, 360f)]
		public float angle;

		// Token: 0x0400398A RID: 14730
		[FieldOffset(Offset = "0x34")]
		[Token(Token = "0x400398A")]
		public Vector2 center;
	}
}
