using System;
using Cpp2IlInjected;
using UnityEngine;

namespace UnityStandardAssets.ImageEffects
{
	// Token: 0x0200062A RID: 1578
	[Token(Token = "0x200062A")]
	[ExecuteInEditMode]
	[AddComponentMenu("Image Effects/Displacement/Twirl")]
	public class Twirl : ImageEffectBase
	{
		// Token: 0x06003231 RID: 12849 RVA: 0x000020D3 File Offset: 0x000002D3
		[Token(Token = "0x6003231")]
		[Address(RVA = "0x4B9B40", Offset = "0x4B8B40", VA = "0x1804B9B40")]
		private void OnRenderImage(RenderTexture source, RenderTexture destination)
		{
			throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
		}

		// Token: 0x06003232 RID: 12850 RVA: 0x0006C3D8 File Offset: 0x0006A5D8
		[Token(Token = "0x6003232")]
		[Address(RVA = "0xF6AE30", Offset = "0xF69E30", VA = "0x180F6AE30")]
		public Twirl()
		{
			this.radius.y = 0.3f;
			this.angle = 50f;
			this.center = (ulong)1056964608L;
			this.center.y = 0.5f;
			base..ctor();
		}

		// Token: 0x04003C72 RID: 15474
		[FieldOffset(Offset = "0x28")]
		[Token(Token = "0x4003C72")]
		public Vector2 radius = (ulong)1050253722L;

		// Token: 0x04003C73 RID: 15475
		[FieldOffset(Offset = "0x30")]
		[Token(Token = "0x4003C73")]
		[Range(0f, 360f)]
		public float angle;

		// Token: 0x04003C74 RID: 15476
		[FieldOffset(Offset = "0x34")]
		[Token(Token = "0x4003C74")]
		public Vector2 center;
	}
}
