Fix : 카메라 컨트롤 시스템 업데이트
This commit is contained in:
parent
daf834ee7d
commit
24c5145ff4
File diff suppressed because it is too large
Load Diff
@ -89,9 +89,9 @@ public class CameraInfoUI : MonoBehaviour
|
||||
// 텍스트들 생성
|
||||
CreateInfoText("Camera Name: ", out cameraNameText, 0);
|
||||
CreateInfoText("FOV: ", out fovValueText, 1);
|
||||
CreateInfoText("FOV Force: ", out fovSpeedText, 2);
|
||||
CreateInfoText("Control Mode: ", out fovSpeedText, 2);
|
||||
CreateInfoText("FOV Velocity: ", out velocityText, 3);
|
||||
CreateInfoText("DOF Distance: ", out dofValueText, 4);
|
||||
CreateInfoText("DOF Focal Length: ", out dofValueText, 4);
|
||||
CreateInfoText("DOF Force: ", out dofSpeedText, 5);
|
||||
CreateInfoText("DOF Velocity: ", out dofVelocityText, 6);
|
||||
|
||||
@ -146,18 +146,19 @@ public class CameraInfoUI : MonoBehaviour
|
||||
|
||||
if (cameraControlSystem != null)
|
||||
{
|
||||
fovSpeedText.text = $"FOV Force: {cameraControlSystem.GetCurrentForce():F0} ({cameraControlSystem.GetCurrentForceIndex() + 1}/3)";
|
||||
string currentMode = cameraControlSystem.IsFOVMode() ? "FOV" : "DOF";
|
||||
fovSpeedText.text = $"Mode: {currentMode}";
|
||||
velocityText.text = $"FOV Velocity: {cameraControlSystem.GetCurrentVelocity():F1}";
|
||||
|
||||
dofValueText.text = $"DOF Distance: {cameraControlSystem.GetCurrentDOF():F1}";
|
||||
dofSpeedText.text = $"DOF Force: {cameraControlSystem.GetCurrentDofForce():F1} ({cameraControlSystem.GetCurrentDofForceIndex() + 1}/3)";
|
||||
|
||||
dofValueText.text = $"DOF Focal Length: {cameraControlSystem.GetCurrentDOF():F3}";
|
||||
dofSpeedText.text = $"DOF Force: {cameraControlSystem.GetCurrentDofForce():F1}";
|
||||
dofVelocityText.text = $"DOF Velocity: {cameraControlSystem.GetCurrentDofVelocity():F2}";
|
||||
}
|
||||
else
|
||||
{
|
||||
fovSpeedText.text = "FOV Force: --";
|
||||
velocityText.text = "FOV Velocity: --";
|
||||
dofValueText.text = "DOF Distance: --";
|
||||
dofValueText.text = "DOF Focal Length: --";
|
||||
dofSpeedText.text = "DOF Force: --";
|
||||
dofVelocityText.text = "DOF Velocity: --";
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user