mirror of
https://github.com/NotAKidoS/NAK_CVR_Mods.git
synced 2025-09-02 22:39:22 +00:00
[EzCurls] Added EntryOnlySmoothNearbyCurl test option
This commit is contained in:
parent
623df261b0
commit
6fc809692d
2 changed files with 38 additions and 12 deletions
|
@ -31,6 +31,11 @@ public class EzCurls : MelonMod
|
|||
Category.CreateEntry("UseCurlSmoothing", false,
|
||||
description: "Finger curl smoothing to average out similar finger positions.");
|
||||
|
||||
public static readonly MelonPreferences_Entry<bool> EntryOnlySmoothNearbyCurl =
|
||||
Category.CreateEntry("OnlySmoothNearbyCurl", false,
|
||||
description: "Should the curl smoothing only influence the nearest curl?");
|
||||
|
||||
|
||||
public static readonly MelonPreferences_Entry<bool> EntryDontSmoothExtremes =
|
||||
Category.CreateEntry("DontSmoothExtremes", true,
|
||||
description: "Should the finger curl smoothing be less effective on curls towards 0 or 1?");
|
||||
|
@ -67,6 +72,7 @@ public class EzCurls : MelonMod
|
|||
|
||||
// curl smoothing
|
||||
InputModuleCurlAdjuster.Instance.UseCurlSmoothing = EntryUseCurlSmoothing.Value;
|
||||
InputModuleCurlAdjuster.Instance.OnlySmoothNearbyCurl = EntryOnlySmoothNearbyCurl.Value;
|
||||
InputModuleCurlAdjuster.Instance.DontSmoothExtremes = EntryDontSmoothExtremes.Value;
|
||||
InputModuleCurlAdjuster.Instance.CurlSimilarityThreshold = EntryCurlSimilarityThreshold.Value;
|
||||
InputModuleCurlAdjuster.Instance.CurlSmoothingFactor = EntryCurlSmoothingFactor.Value;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue