GithubHelp home page GithubHelp logo

pokeum / ue-custom-web-browser Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 552 KB

[Unreal Engine] Custom Web Browser // +Web Browser +Custom Widgets +Delegates

C++ 96.84% Objective-C 2.35% C 0.03% C# 0.78%
ue4 unreal-engine

ue-custom-web-browser's Introduction

Custom Web Browser

Unreal Web Browser ๐Ÿ”—

Created a Custom Web Browser plugin by extending the Web Browser Widget provided by Unreal Engine.

web-browser       
  โ”œโ”€โ”€ WebBrowser       
  โ””โ”€โ”€ WebBrowserWidget
File Location
WebBrowser ๐Ÿ“ /Users/Shared/Epic\ Games/UE_4.26/Engine/Source/Runtime/WebBrowser
WebBrowserWidget ๐Ÿ“ /Users/Shared/Epic\ Games/UE_4.26/Engine/Plugins/Runtime/WebBrowserWidget

Web Browser to Unreal Engine - Messaging System

With the help of the Messaging System of Custom Web Browser (by using the HandleOnBeforeBrowse method), we are able to send a message from web browser through a specified URL scheme.

Custom Web Browser by default is inspecting any URL starting with uewebbrowser:// scheme. When this kind of URL received, it sends a message to Unreal Engine instead of loading it in the web browser.

For example, suppose you wrote a Javascript code which loads a uewebbrowser:// URL:

window.location.href = "uewebbrowser://purchase?name=" + myPurchase.name + "&price=" + myPurchase.price;

In Custom Web Browser, an OnMessageReceived event will be raised when this URL is loaded.

ue-custom-web-browser's People

Contributors

pokeum avatar

Stargazers

David avatar Andy Guo avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.