[정영민] 층 조절 기능 추가 및 아이콘 오류 수정
26.03.18 - 층 자동 조절 기능 및 수동 조절 기능 추가 - 설비명 아이콘 안 보이는 오류 수정 - 카메라 2D/3D 위치 조정
This commit is contained in:
@@ -122,9 +122,9 @@ namespace AZTECHWB
|
||||
perspectiveState.pivotRotation = originRotation;
|
||||
|
||||
orthoState.elevation = 90f;
|
||||
orthoState.distance = originValue.y;
|
||||
orthoState.azimuth = 0f;
|
||||
orthoState.pivotPosition = Vector3.zero;
|
||||
orthoState.distance = 55f;
|
||||
orthoState.azimuth = 180f;
|
||||
orthoState.pivotPosition = new Vector3(-37.5f, cameraPivot.transform.position.y, 32f);
|
||||
orthoState.pivotRotation = originRotation;
|
||||
SetViewMode(ViewMode.PerspectiveView);
|
||||
}
|
||||
@@ -164,7 +164,10 @@ namespace AZTECHWB
|
||||
if (boundery == null)
|
||||
return true;
|
||||
|
||||
return boundery.bounds.Contains(camera.transform.position);
|
||||
var checkingBounds = boundery.bounds;
|
||||
checkingBounds.size = checkingBounds.size + new Vector3(10,10,10);
|
||||
|
||||
return checkingBounds.Contains(camera.transform.position);
|
||||
}
|
||||
|
||||
private void Move()
|
||||
@@ -303,10 +306,10 @@ namespace AZTECHWB
|
||||
break;
|
||||
|
||||
case ViewMode.TopView:
|
||||
orthoState.elevation = 90f; // 90 or <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
orthoState.distance = 60f;
|
||||
orthoState.azimuth = 0f;
|
||||
orthoState.pivotPosition = Vector3.zero;
|
||||
orthoState.elevation = 90f;
|
||||
orthoState.distance = 55f;
|
||||
orthoState.azimuth = 180f;
|
||||
orthoState.pivotPosition = new Vector3(-37.5f, cameraPivot.transform.position.y, 32f);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user