File tree Expand file tree Collapse file tree 2 files changed +0
-41
lines changed
Unreal/Plugins/AirSim/Source/SimHUD Expand file tree Collapse file tree 2 files changed +0
-41
lines changed Original file line number Diff line number Diff line change @@ -91,40 +91,6 @@ void ASimHUD::inputEventToggleTrace()
9191 simmode_->toggleTraceAll ();
9292}
9393
94- ASimHUD::ImageType ASimHUD::getSubwindowCameraType (int window_index)
95- {
96- // TODO: index check
97- return getSubWindowSettings ().at (window_index).image_type ;
98- }
99-
100- void ASimHUD::setSubwindowCameraType (int window_index, ImageType type)
101- {
102- getSubWindowSettings ().at (window_index).image_type = type;
103- updateWidgetSubwindowVisibility ();
104- }
105-
106- APIPCamera* ASimHUD::getSubwindowCamera (int window_index)
107- {
108- return subwindow_cameras_[window_index]; // TODO: index check
109- }
110-
111- void ASimHUD::setSubwindowCamera (int window_index, APIPCamera* camera)
112- {
113- subwindow_cameras_[window_index] = camera; // TODO: index check
114- updateWidgetSubwindowVisibility ();
115- }
116-
117- bool ASimHUD::getSubwindowVisible (int window_index)
118- {
119- return getSubWindowSettings ().at (window_index).visible ;
120- }
121-
122- void ASimHUD::setSubwindowVisible (int window_index, bool is_visible)
123- {
124- getSubWindowSettings ().at (window_index).visible = is_visible;
125- updateWidgetSubwindowVisibility ();
126- }
127-
12894void ASimHUD::updateWidgetSubwindowVisibility ()
12995{
13096 for (int window_index = 0 ; window_index < AirSimSettings::kSubwindowCount ; ++window_index) {
Original file line number Diff line number Diff line change @@ -34,13 +34,6 @@ class AIRSIM_API ASimHUD : public AHUD
3434 void inputEventToggleSubwindow2 ();
3535 void inputEventToggleAll ();
3636
37- ImageType getSubwindowCameraType (int window_index);
38- void setSubwindowCameraType (int window_index, ImageType type);
39- APIPCamera* getSubwindowCamera (int window_index);
40- void setSubwindowCamera (int window_index, APIPCamera* camera);
41- bool getSubwindowVisible (int window_index);
42- void setSubwindowVisible (int window_index, bool is_visible);
43-
4437 ASimHUD ();
4538 virtual void BeginPlay () override ;
4639 virtual void EndPlay (const EEndPlayReason::Type EndPlayReason) override ;
You can’t perform that action at this time.
0 commit comments