public object?GetNthMask(int index)
            {
                AnimationChangeThresholds_FieldIndex enu = (AnimationChangeThresholds_FieldIndex)index;

                switch (enu)
                {
                case AnimationChangeThresholds_FieldIndex.Directional:
                    return(Directional);

                case AnimationChangeThresholds_FieldIndex.MovementSpeed:
                    return(MovementSpeed);

                case AnimationChangeThresholds_FieldIndex.RotationSpeed:
                    return(RotationSpeed);

                default:
                    throw new ArgumentException($"Index is out of range: {index}");
                }
            }
            public void SetNthMask(int index, object obj)
            {
                AnimationChangeThresholds_FieldIndex enu = (AnimationChangeThresholds_FieldIndex)index;

                switch (enu)
                {
                case AnimationChangeThresholds_FieldIndex.Directional:
                    this.Directional = (Exception?)obj;
                    break;

                case AnimationChangeThresholds_FieldIndex.MovementSpeed:
                    this.MovementSpeed = (Exception?)obj;
                    break;

                case AnimationChangeThresholds_FieldIndex.RotationSpeed:
                    this.RotationSpeed = (Exception?)obj;
                    break;

                default:
                    throw new ArgumentException($"Index is out of range: {index}");
                }
            }