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

Method UpdateFeed

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

Source from the content-addressed store, hash-verified

164}
165
166void UMjCameraFeedEntry::UpdateFeed()
167{
168 if (!BoundCamera || !FeedImage || !BoundCamera->RenderTarget)
169 return;
170
171 if (!FeedImage->GetBrush().GetResourceObject())
172 {
173 RefreshBrush();
174 }
175
176 if (BoundCamera->CaptureMode == EMjCameraMode::Depth)
177 {
178 UpdateDepthPreview();
179 }
180}

Callers 1

NativeTickMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected