Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
let descriptor = {
		Teleport: "dining room"
	};
let obj = {
	cmd: "sendToUe4",
	value: descriptor
}
sendToMainPage(obj)


let obj = {
	cmd: "freezeResolutionAt",
	x: 800,
    y: 600
}
sendToMainPage(obj)

To catch this event on the Unreal Engine side, use Bind Event to OnPixelStreamingInputEvent node. You have to attach a UI Interaction node to the event field of Bind Event to OnPixelStreamingInputEvent. You need to bind this event once, typically at the start of your game.

...