展前冒死重构
This commit is contained in:
@@ -26,7 +26,9 @@ using UnityEngine;
|
||||
public sealed class TrackScreenRatioStabilizer : MonoBehaviour
|
||||
{
|
||||
[Tooltip("是否启用轨道屏占比稳定(按宽高比补偿相机垂直FOV)。关闭则恢复设计FOV。")]
|
||||
public bool enableStabilization = true;
|
||||
// 关闭:contain 式补偿会在窄屏增大垂直FOV(镜头拉远)=轨道变细+视距变长,二者都不符合需求。
|
||||
// 改由 CameraResolutionTuner(降Z+增X俯角)在保持垂直FOV恒定(视距恒定)的前提下让轨道铺开。
|
||||
public bool enableStabilization = false;
|
||||
|
||||
[Tooltip("设计基准宽高比(轨道占比在此比例下为设计值)。16:9 = 1.7778。")]
|
||||
public float designAspect = 16f / 9f;
|
||||
|
||||
Reference in New Issue
Block a user