Hi there!
I’d be happy to shed a bit of light on this for you.
If you’d like to programmatically start and stop level/editor streaming, you can use the following C++ code:
For Pixel Streaming 1:
`IPixelStreamingEditorModule& Module = IPixelStreamingEditorModule::Get();
// Stream level editor
Module.StartStreaming(UE::EditorPixelStreaming::EStreamTypes::LevelEditorViewport);
// Stream editor
Module.StartStreaming(UE::EditorPixelStreaming::EStreamTypes::Editor);
// Stop streaming
Module.StopStreaming();`And for Pixel Streaming 2:
`IPixelStreaming2EditorModule& Module = IPixelStreaming2EditorModule::Get();
// Stream level editor
Module.StartStreaming(EPixelStreaming2EditorStreamTypes::LevelEditorViewport);
// Stream editor
Module.StartStreaming(EPixelStreaming2EditorStreamTypes::Editor);
// Stop streaming
Module.StopStreaming();`This should get you going in the right direction, but please let me know if you had any further questions!
Kind Regards,
Michael