some updates

This commit is contained in:
FloatGaming
2026-07-25 08:31:10 +08:00
parent af8a0b6810
commit 86351dbd2a
225 changed files with 46757 additions and 590 deletions
@@ -29,6 +29,8 @@ public sealed class CameraResolutionTuner : MonoBehaviour
[Header("21:9 时相机本体(Main Camera)的目标 local 位姿(最大偏移)")]
[Tooltip("21:9 时相机本体的目标 local Z 高度。用户指定 2.5(相机自身 z=2.5)。")]
public float targetCameraY = 0f;
public float targetCameraZ = 2.5f;
[Tooltip("21:9 时相机本体的目标 local X 旋转角度。用户指定 5(相机自身 X=5°)。")]
@@ -67,7 +69,7 @@ public sealed class CameraResolutionTuner : MonoBehaviour
if (!enableTuning)
{
// 关闭:t=0 → 相机本体回到 local 设计基准(运行时为 0/identity)。
_applied = eff.SetResolutionCameraSelf(0f, targetCameraRotX, targetCameraZ);
_applied = eff.SetResolutionCameraSelf(0f, targetCameraRotX, targetCameraZ, targetCameraY);
return;
}
@@ -90,6 +92,6 @@ public sealed class CameraResolutionTuner : MonoBehaviour
}
// aspect <= designAspectt=0(无微调)。
_applied = eff.SetResolutionCameraSelf(t, targetCameraRotX, targetCameraZ);
_applied = eff.SetResolutionCameraSelf(t, targetCameraRotX, targetCameraZ, targetCameraY);
}
}