Unreal Communication
This page teaches developers how to send and receive messages between their frontend and the Unreal Engine app using Pixel Streaming's emitUIInteraction and event listeners.
๐ Communication Flow
Direction
Method / Event
Description
๐ค Sending Messages from Frontend to Unreal
appStream.stream.emitUIInteraction({
message: {
type: "setColor",
value: "#FF0000"
}
});๐ฅ Receiving Messages from Unreal in Frontend
pixelStreaming.addResponseEventListener("handle_responses", (payload) => {
console.log("Received from Unreal:", payload);
});
๐ฎ Handling Input in Unreal (Blueprint)
๐ง Best Practices
Last updated