@@ -92,43 +92,40 @@ public Vector2 Filter(Vector2 calcTarget)
9292
9393 public static FilterStage FilterStage => FilterStage . PostTranspose ;
9494
95- [ SliderProperty ( "Latency" , 0f , 1000f , 2f ) ]
95+ private float TimerInterval => 1000 / Frequency ;
96+
97+ [ SliderProperty ( "Latency" , 0f , 1000f , 2f ) , DefaultPropertyValue ( 2 ) ]
9698 public float Latency
9799 {
98100 set => this . latency = Math . Clamp ( value , 0 , 1000 ) ;
99101 get => this . latency ;
100102 }
101103
102- public float TimerInterval
103- {
104- get => 1000 / Hertz ;
105- }
106-
107- [ Property ( "Antichatter Strength" ) ]
108- public float AntichatterStrength { set ; get ; } = 3 ;
104+ [ Property ( "Antichatter Strength" ) , DefaultPropertyValue ( 3 ) ]
105+ public float AntichatterStrength { set ; get ; }
109106
110- [ Property ( "Antichatter Multiplier" ) ]
111- public float AntichatterMultiplier { set ; get ; } = 1 ;
107+ [ Property ( "Antichatter Multiplier" ) , DefaultPropertyValue ( 1 ) ]
108+ public float AntichatterMultiplier { set ; get ; }
112109
113110 [ Property ( "Antichatter Offset X" ) ]
114111 public float AntichatterOffsetX { set ; get ; }
115112
116- [ Property ( "Antichatter Offset Y" ) ]
117- public float AntichatterOffsetY { set ; get ; } = 1 ;
113+ [ Property ( "Antichatter Offset Y" ) , DefaultPropertyValue ( 1 ) ]
114+ public float AntichatterOffsetY { set ; get ; }
118115
119116 [ BooleanProperty ( "Prediction" , "" ) ]
120117 public bool PredictionEnabled { set ; get ; }
121118
122- [ Property ( "Prediction Strength" ) ]
123- public float PredictionStrength { set ; get ; } = 1.1f ;
119+ [ Property ( "Prediction Strength" ) , DefaultPropertyValue ( 1.1f ) ]
120+ public float PredictionStrength { set ; get ; }
124121
125- [ Property ( "Prediction Sharpness" ) ]
126- public float PredictionSharpness { set ; get ; } = 1 ;
122+ [ Property ( "Prediction Sharpness" ) , DefaultPropertyValue ( 1 ) ]
123+ public float PredictionSharpness { set ; get ; }
127124
128- [ Property ( "Prediction Offset X" ) ]
129- public float PredictionOffsetX { set ; get ; } = 3 ;
125+ [ Property ( "Prediction Offset X" ) , DefaultPropertyValue ( 3 ) ]
126+ public float PredictionOffsetX { set ; get ; }
130127
131- [ Property ( "Prediction Offset Y" ) ]
132- public float PredictionOffsetY { set ; get ; } = 0.3f ;
128+ [ Property ( "Prediction Offset Y" ) , DefaultPropertyValue ( 0.3f ) ]
129+ public float PredictionOffsetY { set ; get ; }
133130 }
134131}
0 commit comments