| 150 | } |
| 151 | |
| 152 | void UMjCameraFeedEntry::UnbindCamera() |
| 153 | { |
| 154 | if (BoundCamera) |
| 155 | { |
| 156 | BoundCamera->SetStreamingEnabled(false); |
| 157 | BoundCamera = nullptr; |
| 158 | } |
| 159 | FeedMID = nullptr; |
| 160 | DepthPreviewTexture = nullptr; |
| 161 | DepthReadbackScratch.Reset(); |
| 162 | if (FeedImage) |
| 163 | FeedImage->SetBrush(FSlateBrush()); |
| 164 | } |
| 165 | |
| 166 | void UMjCameraFeedEntry::UpdateFeed() |
| 167 | { |
no test coverage detected