readjust cache clean up and add keep originals setting for models

This commit is contained in:
2026-01-02 11:04:15 +09:00
parent aeed8503c2
commit 92cb861710
4 changed files with 221 additions and 79 deletions

View File

@@ -25,6 +25,7 @@ public class PlayerPerformanceConfig : ILightlessConfiguration
public bool EnableModelDecimation { get; set; } = false;
public int ModelDecimationTriangleThreshold { get; set; } = 50_000;
public double ModelDecimationTargetRatio { get; set; } = 0.8;
public bool KeepOriginalModelFiles { get; set; } = true;
public bool ModelDecimationAllowBody { get; set; } = false;
public bool ModelDecimationAllowFaceHead { get; set; } = false;
public bool ModelDecimationAllowTail { get; set; } = false;