using System.IO;
using System.Runtime.Serialization;
using WolvenKit.CR2W.Reflection;
using FastMember;
using static WolvenKit.CR2W.Types.Enums;


namespace WolvenKit.CR2W.Types
{
	[DataContract(Namespace = "")]
	[REDMeta]
	public class CWorldShadowConfig : CVariable
	{
		[Ordinal(1)] [RED("numCascades")] 		public CInt32 NumCascades { get; set;}

		[Ordinal(2)] [RED("cascadeRange1")] 		public CFloat CascadeRange1 { get; set;}

		[Ordinal(3)] [RED("cascadeRange2")] 		public CFloat CascadeRange2 { get; set;}

		[Ordinal(4)] [RED("cascadeRange3")] 		public CFloat CascadeRange3 { get; set;}

		[Ordinal(5)] [RED("cascadeRange4")] 		public CFloat CascadeRange4 { get; set;}

		[Ordinal(6)] [RED("cascadeFilterSize1")] 		public CFloat CascadeFilterSize1 { get; set;}

		[Ordinal(7)] [RED("cascadeFilterSize2")] 		public CFloat CascadeFilterSize2 { get; set;}

		[Ordinal(8)] [RED("cascadeFilterSize3")] 		public CFloat CascadeFilterSize3 { get; set;}

		[Ordinal(9)] [RED("cascadeFilterSize4")] 		public CFloat CascadeFilterSize4 { get; set;}

		[Ordinal(10)] [RED("shadowEdgeFade1")] 		public CFloat ShadowEdgeFade1 { get; set;}

		[Ordinal(11)] [RED("shadowEdgeFade2")] 		public CFloat ShadowEdgeFade2 { get; set;}

		[Ordinal(12)] [RED("shadowEdgeFade3")] 		public CFloat ShadowEdgeFade3 { get; set;}

		[Ordinal(13)] [RED("shadowEdgeFade4")] 		public CFloat ShadowEdgeFade4 { get; set;}

		[Ordinal(14)] [RED("shadowBiasOffsetSlopeMul")] 		public CFloat ShadowBiasOffsetSlopeMul { get; set;}

		[Ordinal(15)] [RED("shadowBiasOffsetConst")] 		public CFloat ShadowBiasOffsetConst { get; set;}

		[Ordinal(16)] [RED("shadowBiasOffsetConstCascade1")] 		public CFloat ShadowBiasOffsetConstCascade1 { get; set;}

		[Ordinal(17)] [RED("shadowBiasOffsetConstCascade2")] 		public CFloat ShadowBiasOffsetConstCascade2 { get; set;}

		[Ordinal(18)] [RED("shadowBiasOffsetConstCascade3")] 		public CFloat ShadowBiasOffsetConstCascade3 { get; set;}

		[Ordinal(19)] [RED("shadowBiasOffsetConstCascade4")] 		public CFloat ShadowBiasOffsetConstCascade4 { get; set;}

		[Ordinal(20)] [RED("shadowBiasCascadeMultiplier")] 		public CFloat ShadowBiasCascadeMultiplier { get; set;}

		[Ordinal(21)] [RED("speedTreeShadowFilterSize1")] 		public CFloat SpeedTreeShadowFilterSize1 { get; set;}

		[Ordinal(22)] [RED("speedTreeShadowFilterSize2")] 		public CFloat SpeedTreeShadowFilterSize2 { get; set;}

		[Ordinal(23)] [RED("speedTreeShadowFilterSize3")] 		public CFloat SpeedTreeShadowFilterSize3 { get; set;}

		[Ordinal(24)] [RED("speedTreeShadowFilterSize4")] 		public CFloat SpeedTreeShadowFilterSize4 { get; set;}

		[Ordinal(25)] [RED("speedTreeShadowGradient")] 		public CFloat SpeedTreeShadowGradient { get; set;}

		[Ordinal(26)] [RED("hiResShadowBiasOffsetSlopeMul")] 		public CFloat HiResShadowBiasOffsetSlopeMul { get; set;}

		[Ordinal(27)] [RED("hiResShadowBiasOffsetConst")] 		public CFloat HiResShadowBiasOffsetConst { get; set;}

		[Ordinal(28)] [RED("hiResShadowTexelRadius")] 		public CFloat HiResShadowTexelRadius { get; set;}

		[Ordinal(29)] [RED("useTerrainShadows")] 		public CBool UseTerrainShadows { get; set;}

		[Ordinal(30)] [RED("terrainShadowsDistance")] 		public CFloat TerrainShadowsDistance { get; set;}

		[Ordinal(31)] [RED("terrainShadowsFadeRange")] 		public CFloat TerrainShadowsFadeRange { get; set;}

		[Ordinal(32)] [RED("terrainShadowsBaseSmoothing")] 		public CFloat TerrainShadowsBaseSmoothing { get; set;}

		[Ordinal(33)] [RED("terrainShadowsTerrainDistanceSoftness")] 		public CFloat TerrainShadowsTerrainDistanceSoftness { get; set;}

		[Ordinal(34)] [RED("terrainShadowsMeshDistanceSoftness")] 		public CFloat TerrainShadowsMeshDistanceSoftness { get; set;}

		[Ordinal(35)] [RED("terrainMeshShadowDistance")] 		public CFloat TerrainMeshShadowDistance { get; set;}

		[Ordinal(36)] [RED("terrainMeshShadowFadeRange")] 		public CFloat TerrainMeshShadowFadeRange { get; set;}

		public CWorldShadowConfig(CR2WFile cr2w, CVariable parent, string name) : base(cr2w, parent, name){ }

		public static CVariable Create(CR2WFile cr2w, CVariable parent, string name) => new CWorldShadowConfig(cr2w, parent, name);

		public override void Read(BinaryReader file, uint size) => base.Read(file, size);

		public override void Write(BinaryWriter file) => base.Write(file);

	}
}