x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Wrapping Unreal inside iOS app / Loading PDF

We are looking into using UE4 in an sales support situation where we have a 3D interactive map allowing the sales rep to move around to various aspects of the product range delivered by their company. When selecting a product range, the sales rep should be able to display a PDF detailing the various product features.

Before you say "why use PDF, render it as images" or something - the thing is, the PDFs will be in multiple languages, and they will be maintained by an advertising agency on behalf of the client. Thus we need to provide the ability to download, store and display the various PDFs.

In a "regular" app, this would not be a problem of course, I could simple include a PDF viewer. However, this is obviously not "center stage" functionality for UE4, so how could something like this be accomplished ?

Is there some way to incorporate a UE4 level into an XCode app and somehow communicate between the UE4 level and the app itself?

Any suggestions to other means of doing this ?

Kind regards, Morten F. Thomsen

Product Version: Not Selected
Tags:
more ▼

asked Mar 25 '15 at 08:05 AM in C++ Programming

avatar image

mortenfthomsen
1 1 2

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

What I would suggest is to make it a normal UE4 app, and just work other UIViews into the hierarchy. You can place things on top of the UE4 "FIOSView" object (like we do with the four-finger-tap console dialog).

If you completely hide the UE4 view, then I would suggest freezing the main loop (not "pause" in the Unreal sense, but just stop letting the "while( !GIsRequestingExit )" loop in MainAppThread in IOSAppDelegate.cpp go (like we do when we get put into the background). That will help reduce CPU usage and what not while you aren't showing 3D.

For communication, if you are using Blueprints, just make a new BP node type that is like "ShowPDF", and then in C++ land, just call some function on the IOSAppDelegate or something to show the view.

Josh

more ▼

answered Apr 01 '15 at 05:29 PM

avatar image

joshbadams STAFF
1.3k 19 7 46

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question