MCPcopy Create free account
hub / github.com/URLab-Sim/UnrealRoboticsLab / UnbindCamera

Method UnbindCamera

Source/URLab/Private/UI/MjCameraFeedEntry.cpp:152–164  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

150}
151
152void 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
166void UMjCameraFeedEntry::UpdateFeed()
167{

Callers 1

Calls 2

SetStreamingEnabledMethod · 0.80
ResetMethod · 0.45

Tested by

no test coverage detected