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"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

how to hide cardboard default setting button and close button

there are two buttons in my cardboard app. one is on the top left: close button. one is on the top right: setting button. all these buttons are useless. plz tell me how to remove these buttons

Product Version: UE 4.14
Tags:
more ▼

asked Dec 26 '16 at 02:02 PM in Packaging & Deployment

avatar image

evehal
56 4 5 13

avatar image sustumuh Jan 30 '17 at 08:27 PM

I'm also scouring the net for a way to do this. I've discovered that these icons don't display when emulating android on mobile preview. So perhaps google cardboard is adding these overlays independent of UE4.

I've found mention of how to remove them using some other (unspecified) development tool (Google VR SDK?) on stack overflow here. No idea how to implement this in UE4.

avatar image Symon231 Aug 23 '17 at 07:35 PM

Hi guys, did you find a solution to this in the end? I'm trying to do the same but I can't find anything about it

avatar image sustumuh Aug 29 '17 at 04:03 PM

I'm still solutionless. I have a new cardboard headset now that has different lenses, so the gear and X buttons aren't visible in their POV. But my original headset still has those dang buttons right in my face.

As far as I can tell, they are added as an overlay by google cardboard, not UE4. You would need to use:

cardboardView.setSettingsButtonEnabled(false);

cardboardView.setAlignmentMarkerEnabled(false);

Or perhaps just:

setSettingsButtonEnabled(false);

setAlignmentMarkerEnabled(false);

But I don't know if these commands work in the UE4 terminal, since they aren't aimed at UE4. Google cardboard itself needs to receive these commands to remove its overlays. I haven't tried them in the terminal on mobile, but it may be worth plugging in a keyboard (or using a bluetooth keyboard), pressing tilde in game, and trying them out.

avatar image Symon231 Sep 02 '17 at 08:01 AM

Hey, thanks for taking your time to reply.

I really don't think that would ever work for the same explanation you gave. However, I was reading through the engine source code and in GoogleVRHMD.cpp I found a couple of lines which I think are the ones responsible for enabling the UI. alt text

If you browse to line 458 and 459 of GoogleVRHMD.cpp file which is in Plugins/Runtime/GoogleVR/GoogleVRHMD/Source/GoogleVRHMD/Private you can see that the comment above those lines says Show UI on Android.

I haven't tried yet to change them and recompile but I will give it a go and write back.

capture.jpg (90.3 kB)
avatar image BatManTn Jan 31 '18 at 12:25 AM

Heyy i have the same problem did u find a way to make it work ?

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

0 answers: sort voted first
Be the first one to answer this question
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